-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Remove dots from chart when time range is Infinity #16720
Remove dots from chart when time range is Infinity #16720
Conversation
Thank you for opening this PR! We appreciate you! For all pull requests coming from third-party forks we will need to A Forem Team member will review this contribution and get back to |
Hi @jeremyf Another possible solution is having something like |
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.
@miguelnietoa I like your second approach more (e.g. don't loop on "infinite").
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.
This is working really well - thank you for making this improvement! I've just added a small suggestion - let me know what you think 🙂
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.
Looks great! Just a couple of very small change requests and then this will be good to go 🚀
Requested changes are done! @aitchiss |
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 one! Thanks for making those changes 😄
Once the CI checks have all run we can get this merged - nice work 🔥
The CI test failure is an unrelated flaky spec which we're already fixing up separately - for now I'm gonna re-run the build and hope for the best 😄 |
It seems to have failed again, but no problem, let's wait until you guys manage to fix it! thanks |
All green now @miguelnietoa 🎉 Thanks again for this contribution! |
Nice! Thank you too 🎉 |
* Remove dots from chart when time range is Infinity * refactor: 🐛 Remove dots using the chart options * refactor: ♻️ Improve params of drawChart func * refactor: ♻️ Use a variable showPoints
* Remove dots from chart when time range is Infinity * refactor: 🐛 Remove dots using the chart options * refactor: ♻️ Improve params of drawChart func * refactor: ♻️ Use a variable showPoints
What type of PR is this? (check all applicable)
Description
Remove dots from chart when time range is Infinity.
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
Please replace this line with instructions on how to test your changes, a note
on the devices and browsers this has been tested on, as well as any relevant
images for UI changes.
/dashboard/analytics
UI accessibility concerns?
If your PR includes UI changes, please replace this line with details on how
accessibility is impacted and tested. For more info, check out the
Forem Accessibility Docs.
Added/updated tests?
[Forem core team only] How will this change be communicated?
Will this PR introduce a change that impacts Forem members or creators, the
development process, or any of our internal teams? If so, please note how you
will share this change with the people who need to know about it.
Storybook (for Crayons components)
updated. I have filled out the
Changes Requested
issue template so Community Success can help update the Admin Docs
appropriately.
CHANGELOG.md
or in a forem.dev post
replace this line with details on why this change doesn't need to be
shared
[optional] Are there any post deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?