-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
Fix: insights loading #6834
Fix: insights loading #6834
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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
- Declining Code Health: 2 findings(s) 🚩
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
- Declining Code Health: 2 findings(s) 🚩
@@ -107,6 +107,7 @@ export const InsightsCharts: VFC<IChartsProps> = ({ | |||
count={users.total} | |||
active={users.active} | |||
inactive={users.inactive} | |||
isLoading={loading} |
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 worse: Large Method
InsightsCharts:VFC<IChartsProps> increases from 149 to 159 lines of code, threshold = 120
} | ||
|
||
export const ProjectHealthChart: VFC<IProjectHealthChartProps> = ({ | ||
projectFlagTrends, | ||
isAggregate, | ||
isLoading, |
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 worse: Complex Method
ProjectHealthChart:VFC<IProjectHealthChartProps> increases in cyclomatic complexity from 11 to 14, threshold = 10
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.
Nice!
About the changes
Loading state for