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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better action hover feedback #120247

Merged
merged 4 commits into from Apr 6, 2021
Merged

Better action hover feedback #120247

merged 4 commits into from Apr 6, 2021

Conversation

joaomoreno
Copy link
Member

This PR fixes #120226

Unsurprisingly, thanks to the magic power of CSS, this was wayyyy more work than expected, since people override CSS all the time, especially for something as popular as the action bar. Calling our owners of areas where I touched a lot of CSS (workbench actions, search, extensions) to do a good smoke test around the actions. Thanks! 馃檹

This PR also makes sure the hover feedback stays visible even while the dropdown menu of the ... toolbar action is open.

@joaomoreno joaomoreno added the ux User experience issues label Mar 31, 2021
@joaomoreno joaomoreno added this to the April 2021 milestone Mar 31, 2021
@joaomoreno joaomoreno self-assigned this Mar 31, 2021
@miguelsolorio
Copy link
Contributor

馃コ This is awesome, so stoked to finally see this come through! I'm seeing some funny things in a couple of areas though not sure how much of that falls on to you for fixing them but here they are:

Extension icons

They appear to render oddly (maybe because of the bg masking that happens on those icons?), these are GitLens icons:

image

image

SCM

Inline actions are shifted down just a tad bit and lose some of the rounded corners

image

Notebook actions

Run button has shifted below

image

And add cell toolbar, might be nice to have an option to disable the hover or style it differently for theses:

image

Settings

Gear items is cut off from TOC on the left
image

Problems

Expand/collapse icon is shifted a bit

image

Lightbulb icon has a little cut off

image

Extensions

Install actions are now rounded

image

Search

Replace all actions is larger

image

@roblourens
Copy link
Member

Thanks for doing that testing @misolori! @joaomoreno let me know if you want me to help fix the buttons in my areas, some of my usages are a little atypical.

@joaomoreno
Copy link
Member Author

joaomoreno commented Apr 1, 2021

Fantastic findings @misolori, I've pushed fixes for pretty much everything! Also tweaked some other small details. Ready for a second smoke test round! 馃挭

And add cell toolbar, might be nice to have an option to disable the hover or style it differently for theses:

I removed the border radius but left the background hover decoration, thought it looked good, let me know if you feel otherwise.

Gear items is cut off from TOC on the left

Oh that's interesting. I couldn't find a nice way to fix this. The gear icon simply moves 22px to the left and ends up in the TOC region... @roblourens can you jump in and make a good fix here? I've tried reducing the gear hover decoration padding to minimum, but I can't make it fit nicely, especially if the settings rows have background hover color, eg Dark+.

@miguelsolorio
Copy link
Contributor

馃挭 This is great progress! As-is I'd merge this on, there's a few minor polish items we can tackle later:

Open editors close button hover is not quite 馃敳
image

Problems filter: wondering if items inside of inputs should have a reduced padding to fit nicely?
image

Quick actions light bulb in problems panel is off a bit
image

@roblourens
Copy link
Member

I can fix it, we just can't have the two parts as close to each other as they are right now. The settings button feedback looks a lot larger than other buttons though, should we trim it down to look more like toolbar buttons, or does it need to be larger since it stands on it's own?

I also noticed that the feedback is missing from the other buttons in search - ... and the buttons inside input boxes

@joaomoreno
Copy link
Member Author

馃挭 This is great progress! As-is I'd merge this on, there's a few minor polish items we can tackle later:

Just tackled! 鉁旓笍

I also noticed that the feedback is missing from the other buttons in search - ... and the buttons inside input boxes

Yeah those aren't action bars, so they don't get it. Keeping that separate.

@joaomoreno joaomoreno merged commit fca4457 into main Apr 6, 2021
@joaomoreno joaomoreno deleted the joao/actions-ux branch April 6, 2021 10:15
@sandy081
Copy link
Member

sandy081 commented Apr 6, 2021

Thanks @misolori for also smoke testing extensions view.

digitarald pushed a commit that referenced this pull request Apr 8, 2021
* wip: better action hover feedback

* address feedback from #120247

* Prevent settings editor gear button hover from running
into the TOC

* final fixes

Co-authored-by: Rob Lourens <roblourens@gmail.com>
gjsjohnmurray pushed a commit to gjsjohnmurray/vscode that referenced this pull request Apr 8, 2021
* wip: better action hover feedback

* address feedback from microsoft#120247

* Prevent settings editor gear button hover from running
into the TOC

* final fixes

Co-authored-by: Rob Lourens <roblourens@gmail.com>
@github-actions github-actions bot locked and limited conversation to collaborators May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ux User experience issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve toolbar UX
4 participants