-
Notifications
You must be signed in to change notification settings - Fork 7
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
In-plot bookmarking #416
In-plot bookmarking #416
Conversation
✅ Deploy Preview for upset2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Approved with a couple suggested changes.
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.
Actually, sorry, approved the code before looking at the functionality. I don't like that the click only works exactly on the star; I think you should be able to click anywhere in the column. Just requires wrapping the star in a clickable rect.
@NateLanza Forgot to comment it here, but Jack and I talked about this and I was planning to fix it. Also found a bug where bookmarking through the plot uses the internal id rather than the proper display name. I'll let you know when those are ready |
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.
Fix the one selector that isn't camelCase before you merge.
* @param row - The row for which the color is being selected. | ||
* @returns The color associated with the given row. | ||
*/ | ||
export const BookmarkedColorSelector = selectorFamily<string, Row>({ |
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.
First char of name should be lowercase?
Does this PR close any open issues?
Closes #360
Give a longer description of what this PR addresses and why it's needed
This PR adds the ability for the user to click the bookmark star in the plot to bookmark the subset or aggregate row.
Provide pictures/videos of the behavior before and after these changes (optional)
Screen.Recording.2024-10-31.at.10.55.08.AM.mov
Have you added or updated relevant tests?
Have you added or updated relevant documentation?
Are there any additional TODOs before this PR is ready to go?
None