-
Notifications
You must be signed in to change notification settings - Fork 1
Create Voting Tag Chart #506
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
base: develop
Are you sure you want to change the base?
Create Voting Tag Chart #506
Conversation
|
a few changes needed!
so for e.g., if for a certain one message, got 10 ppl submitted votes, and 3 tagged it as generated. 5 tagged as incorrect so it should show 2 charts one showing 3-7 Let me know if unclear! |
| : []; | ||
|
|
||
|
|
||
| const COLORS = ['#FFBB28', '#FF8042']; |
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.
Change these 2 hex color codes to a more readable const? example, 'orange' or 'reddishOrange' etc
| endAngle={0} | ||
| innerRadius={60} | ||
| outerRadius={80} | ||
| fill="#8884d8" |
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.
8884d8 is duplicated. So can extract it out into it's own const
|
Minor fixes requested regarding the color codes |
Pull Request to Deploy to UAT
Issue Reference
Example:
Resolves #[450]
Description
Provide a voting tag chart result to show the results of the voted tags.
A clear and concise description of what changes were made to address the issue.
Implementation
Testing
No tests written
Additional Notes
NIL
Checklist