-
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
Fix several small issues on the cohort overiew #1123
Conversation
tjennison-work
commented
Jan 13, 2025
- Swap cohort criteria to left side. Make the visualizations secondary until they're interactive enough to be the primary editing surface.
- Make the cohort criteria wider. Almost all criteria were too long to be effectively displayed.
- Remove interactivity from the background of criteria so only the title selects/unselects. It was causing a number of corner cases where criteria controls behaved unpredictably and some were difficult to solve due to the way JS handles mouse events. This removes the need to squash mouse events throughout the code. Show title hover underlining on selected criteria as well to make it clear it's still clickable.
- Refactor uncontained select style to a shared file.
- Fix rare issue were criteria buttons could spill onto a second row.
- Add a drop down to select which visualizations are displayed. Add optional config to limit the default set displayed.
0364832
to
74d803c
Compare
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.
Not too familiar with UI, no issues stand out
)} | ||
</GridBox> | ||
</GridLayout> | ||
</Paper> | ||
); | ||
} | ||
|
||
// TODO(tjennison): Store the selected visualizations in local storage per |
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.
nit: jira tracking id
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.
I'm not a fan of creating tickets for TODOs unless they're bugs or part of ongoing work. Too often they just end up cluttering up the backlog because plans change and then you have to actually change the code to get rid of them.
* Swap cohort criteria to left side. Make the visualizations secondary until they're interactive enough to be the primary editing surface. * Make the cohort criteria wider. Almost all criteria were too long to be effectively displayed. * Remove interactivity from the background of criteria so only the title selects/unselects. It was causing a number of corner cases where criteria controls behaved unpredictably and some were difficult to solve due to the way JS handles mouse events. This removes the need to squash mouse events throughout the code. Show title hover underlining on selected criteria as well to make it clear it's still clickable. * Refactor uncontained select style to a shared file. * Fix rare issue were criteria buttons could spill onto a second row. * Add a drop down to select which visualizations are displayed. Add optional config to limit the default set displayed.
74d803c
to
0e86a62
Compare