Skip to content

[Dashboards] add hide empty category option for pie charts#16550

Merged
ehconitin merged 6 commits intomainfrom
hide-not-set-category
Dec 15, 2025
Merged

[Dashboards] add hide empty category option for pie charts#16550
ehconitin merged 6 commits intomainfrom
hide-not-set-category

Conversation

@ehconitin
Copy link
Copy Markdown
Contributor

closes https://discord.com/channels/1130383047699738754/1445403391722520677

CleanShot.2025-12-14.at.19.13.01.mp4

toggle label ie Hide empty category -- debatable

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 10 files

Comment on lines 128 to 135
return {
data,
showLegend,
hasTooManyGroups: rawResults.length > PIE_CHART_MAXIMUM_NUMBER_OF_SLICES,
hasTooManyGroups:
filteredResults.length > PIE_CHART_MAXIMUM_NUMBER_OF_SLICES,
formattedToRawLookup,
};
};

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor

@bosiraphael bosiraphael left a comment

Choose a reason for hiding this comment

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

LGTM, just one comment to address before merging

@ehconitin ehconitin enabled auto-merge (squash) December 15, 2025 15:32
@ehconitin ehconitin merged commit fc74a06 into main Dec 15, 2025
71 checks passed
@ehconitin ehconitin deleted the hide-not-set-category branch December 15, 2025 15:40
@twenty-eng-sync
Copy link
Copy Markdown

Hey @ehconitin! After you've done the QA of your Pull Request, you can mark it as done here. Thank you!

@github-actions
Copy link
Copy Markdown
Contributor

Thanks @ehconitin for your contribution!
This marks your 275th PR on the repo. You're top 1% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants