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

New drill icon in the legacy renderer. #1545

Merged
merged 2 commits into from
Dec 8, 2023
Merged

New drill icon in the legacy renderer. #1545

merged 2 commits into from
Dec 8, 2023

Conversation

srschandan
Copy link
Collaborator

VS Code light:
Screenshot 2023-12-06 at 1 52 54 PM

VS Code dark:
Screenshot 2023-12-06 at 1 53 13 PM

@srschandan srschandan requested a review from skokenes December 6, 2023 21:56
@srschandan srschandan marked this pull request as ready for review December 6, 2023 21:56
@whscullin
Copy link
Collaborator

I wonder if it would be good to have this externally configurable, since the action defined by drilling is configurable and won't likely be copy in the long run.

@srschandan
Copy link
Collaborator Author

I wonder if it would be good to have this externally configurable, since the action defined by drilling is configurable and won't likely be copy in the long run.

Agree. This was supposed to go into the new renderer but that the design and functionality is not finalized yet. This is more like get a better icon in there right now to make it look better.

Copy link
Contributor

@skokenes skokenes left a comment

Choose a reason for hiding this comment

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

Code looks good, but this implementation causes the text in the table cells to no longer be vertically centered. Can you fix that?

@srschandan
Copy link
Collaborator Author

Code looks good, but this implementation causes the text in the table cells to no longer be vertically centered. Can you fix that?

Our cell contents are always aligned to top.

vertical-align: top;

I reduced the padding on the drill icon to make sure when there's only one line of data in the table, everything looks center aligned.

@srschandan srschandan requested a review from skokenes December 7, 2023 22:29
@skokenes
Copy link
Contributor

skokenes commented Dec 8, 2023

It's weird, on multiline cells in VS Code extension it looks aligned with top line:
CleanShot 2023-12-08 at 09 39 03@2x

But on single line rows, it looks slightly off:
CleanShot 2023-12-08 at 09 40 14@2x

I don't think this really matters for now; we don't do solid control over the row height, font size etc in the old renderer so that will make it difficult to have it aligned properly to the first line in every situation.

This looks good to me

@skokenes skokenes merged commit 04a8a8a into main Dec 8, 2023
4 checks passed
@skokenes skokenes deleted the change_drill_icon branch December 8, 2023 14:42
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.

3 participants