-
Notifications
You must be signed in to change notification settings - Fork 1
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
refactor: year chart #69
Conversation
Visit the preview URL for this PR (updated for commit 18249c1): https://ccv-pubs--pr69-refactor-year-chart-r2hr8d1z.web.app (expires Fri, 08 Mar 2024 21:16:30 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f75c16b3bdd7d81b7a0b7f8d3eed826b541e7a2a |
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 looks so cool! You've done a beautiful job.
I think the month view shows the same data no matter which month you are on currently. 2024 shows 3 pubs:
But the Month view for 2024 is showing:
It was also unclear to me as a user how to return to the year view. Should we add something visually instead of clicking on the table again?
@hetd54 Amazing catch! Somehow through my refactor I messed up the filter. Here's what 2024 looks like now :)
So, this is what the previous functionality was. I'm interested into hearing ideas though ! |
Data looks as expected now! For an idea, maybe a " ← Back to Year View" link somewhere beneath the title, or even below the graph? That way you can reserve the action of clicking on the bar for the table filter feature later. |
|
@eldu I would expect that clicking on a bar to highlight it instantly, but if a bar is already highlighted it unhighlights onclick no matter where on the graph you've clicked: Screen.Recording.2024-02-29.at.10.57.54.AM.mov |
YearChart.js
andyearChart.json
TODOs that came from this PR
Demo
Untitled.mov
Old
Screenshot 2024-02-27 at 3 50 49 PM
Screenshot 2024-02-27 at 3 50 44 PM