-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Dataviews: Update item actions in grid view #56501
Conversation
Size Change: +119 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Hm.. in Chrome for me it isn't, but tested in FF and is displayed as I expected. --edit |
It's likely that you were previously running Chrome 116 (or earlier), since support for CSS Subgrid was added in Chrome 117. |
a859b60
to
9e2752d
Compare
I removed the icons and the separators.
That was because of |
Am I not seeing right or the border radius of that dropdown is different than the "view" dropdown for instance? Should we unify everything? |
Also, not the same hover styles... Why two different dropdown styles? |
In this PR I'm using the new Dropdown menu and @ciampo has a PR to update all the other usages in a different PR. |
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.
The style change is weird but I'm proving as we're bringing consistency later.
The new |
What?
This PR updates the item actions in DataViews to have a different design in
grid
view. Namely all the actions are inside a dropdown menu, separated by whether they are primary or not.Additionally I have used the new Dropdown component that we use in DataViews, for consistency. I know this is going to be replaced by the ariakit version one, but when I tried adding that, I encountered way more problems right now. When the new one is stabilized, we're going to replace all usages.
Testing Instructions
Screenshots or screencast