Skip to content
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: Health tooltip when all projects should show % #6809

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

andreas-unleash
Copy link
Contributor

What it says on the tin

Closes # 1-2274
Screenshot 2024-04-09 at 16 09 34

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Copy link

vercel bot commented Apr 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview Apr 9, 2024 1:13pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Apr 9, 2024 1:13pm

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a 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: 1 findings(s) ✅

View detailed results in CodeScene

@@ -93,7 +96,7 @@ export const ProjectHealthChart: VFC<IProjectHealthChartProps> = ({
<LineChart
key={isAggregate ? 'aggregate' : 'project'}
data={data}
TooltipComponent={isAggregate ? undefined : HealthTooltip}
TooltipComponent={HealthTooltip}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Getting better: Complex Method
ProjectHealthChart:VFC<IProjectHealthChartProps> decreases in cyclomatic complexity from 12 to 11, threshold = 10

@andreas-unleash andreas-unleash merged commit 48b8df8 into main Apr 9, 2024
15 checks passed
@andreas-unleash andreas-unleash deleted the fix/health_tooltip_when_all_projects branch April 9, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants