Skip to content
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

Tooltips: sort by count and fix render issue #8046

Merged
merged 6 commits into from
Jan 18, 2022

Conversation

alexkim205
Copy link
Contributor

@alexkim205 alexkim205 commented Jan 13, 2022

Changes

Fixes #2620
Fixes #8014

wow look at that ~6K issue number difference

Screen Shot 2022-01-13 at 1 29 07 PM

Screen Shot 2022-01-13 at 1 29 02 PM

How did you test this code?

Stylistic changes

Copy link
Contributor

@macobo macobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're sorting by count, I'd resolve ties alphabetically instead.

Will leave the code portion of the review to marius :)

Copy link
Contributor

@paolodamico paolodamico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is definitely an improvement and I wouldn't be opposed to merging. However, I don't think this is the best solution. Consider this extreme case, tooltips are impossible to read. I would add an upper bound on how wide/tall (depending on row/column) the tooltip can be, and ellipsis the text there (maybe 2-3 rows). Everything else lgtm!

@alexkim205
Copy link
Contributor Author

Thanks for the review, this should fix it to 2 rows.

Screen Shot 2022-01-18 at 12 21 14 PM

@alexkim205 alexkim205 enabled auto-merge (squash) January 18, 2022 20:22
@alexkim205 alexkim205 merged commit 22ea1cf into master Jan 18, 2022
@alexkim205 alexkim205 deleted the fix/tooltips-render-and-order branch January 18, 2022 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Insights tooltip rendering problems Order metrics shown on tooltip
3 participants