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

Small table cell tooltip changes #1967

Merged
merged 3 commits into from
Jul 5, 2022
Merged

Small table cell tooltip changes #1967

merged 3 commits into from
Jul 5, 2022

Conversation

rogermparent
Copy link
Contributor

@rogermparent rogermparent commented Jul 2, 2022

Fixes #1954

tooltip-data-types-demo.mp4
  • Remove prefixes (Metrics, Param) - they are not needed yet in our case.
  • Table cell tooltips have interactive set on them, so users can do actions like copying text. Currently has a bug where clicking the tooltip in any way registers as a row click for selection.
  • Tooltip values are cast to String, confirmed booleans, arrays, and 0 work.

note: seems like null, even when put into yaml, breaks table parsing.

@rogermparent rogermparent marked this pull request as draft July 2, 2022 05:33
@rogermparent rogermparent force-pushed the small-tooltip-issues branch from 14e37fb to a14fc65 Compare July 2, 2022 05:36
@@ -17,7 +17,7 @@ $font: var(--vscode-font-family);
white-space: nowrap;
& > :global(.tippy-arrow) {
color: $background;
z-index: 2;
z-index: 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixes a small issue with the arrow appearing over text highlighting in content

@rogermparent rogermparent self-assigned this Jul 2, 2022
@rogermparent rogermparent added the product PR that affects product label Jul 2, 2022
@rogermparent rogermparent changed the title Small tooltip changes Small table cell tooltip changes Jul 2, 2022
@shcheklein
Copy link
Member

@rogermparent is it still a draft?

@rogermparent
Copy link
Contributor Author

I wanted to write some real tests for the other tooltip data types, but I could do that as an immediate follow-up as well to get this fix in since it's at better tested and working than what we currently have.

@rogermparent rogermparent marked this pull request as ready for review July 5, 2022 14:33
@codeclimate
Copy link

codeclimate bot commented Jul 5, 2022

Code Climate has analyzed commit 0ad0819 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 33.3% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.6% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@wolmir wolmir left a comment

Choose a reason for hiding this comment

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

I'm ok with adding the tests as a follow-up

@rogermparent rogermparent merged commit 12e25d3 into main Jul 5, 2022
@rogermparent rogermparent deleted the small-tooltip-issues branch July 5, 2022 19:44
@mattseddon
Copy link
Member

Please do follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Small issues with the table tooltips
4 participants