-
-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(insights): remove unused chart property #6806
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
- Improving Code Health: 2 findings(s) ✅
@@ -9,7 +9,6 @@ export const createOptions = ( | |||
locationSettings: ILocationSettings, | |||
setTooltip: React.Dispatch<React.SetStateAction<TooltipState | null>>, | |||
isPlaceholder?: boolean, | |||
localTooltip?: boolean, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Getting better: Large Method
createOptions decreases from 79 to 78 lines of code, threshold = 70
@@ -9,7 +9,6 @@ export const createOptions = ( | |||
locationSettings: ILocationSettings, | |||
setTooltip: React.Dispatch<React.SetStateAction<TooltipState | null>>, | |||
isPlaceholder?: boolean, | |||
localTooltip?: boolean, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No longer an issue: Excess Number of Function Arguments
createOptions is no longer above the threshold for number of arguments
Internal ticket: https://linear.app/unleash/issue/1-2271/cleanup-of-local-tooltip-from-insights-charts