Skip to content

Unify the "pill" design - #97104

Merged
Miguel Solorio (miguelsolorio) merged 4 commits into
masterfrom
misolori/issue96608
May 7, 2020
Merged

Miguel Solorio (miguelsolorio) merged 4 commits into
masterfrom
misolori/issue96608

Conversation

@miguelsolorio

@miguelsolorio Miguel Solorio (miguelsolorio) commented May 6, 2020 •

Copy link
Copy Markdown
Contributor

This PR fixes #96608

This consolidates all of the "pill" designs that we have floating around so that they're unified and consistent.

Quick pick

image

Keybindings

image

Settings

image

Debug viewlet

image

Unsaved editors

image

@miguelsolorio Miguel Solorio (miguelsolorio) changed the title Multiple designs for the "pill" that is being shown in the input field Unify the "pill" design May 6, 2020
@rebornix

Peng Lyu (rebornix) commented May 6, 2020 •

Copy link
Copy Markdown
Contributor

IMHO the corner with less radius looks better and aligns with context menu and some other input boxes we have in the workbench

old "pill" in settings editor

debug
image

terminal

image

context menu

image

@roblourens roblourens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't have a strong opinion about which pill design but the code changes look fine

@roblourens

Copy link
Copy Markdown
Member

Also dropdowns and context menus only have rounded corners on Mac, so I don't think it's that critical to make this look similar

@miguelsolorio

Copy link
Copy Markdown
Contributor Author

Peng Lyu (@rebornix) I'm not sure we want the labels to look like input elements because that would give the wrong impression that they are interactive. Since these are actually label badges they should all look the same way, and since we already use the circular badges for the activity bar and extensions viewlet I thought it would make sense to use that version.

@isidorn

Copy link
Copy Markdown

Nice changes, thanks for doing this.
I somewhat agree with Peng Lyu (@rebornix) a bit less radius might look better - though this is just my personal preference.

@rebornix

Copy link
Copy Markdown
Contributor

@misolori 👍 agree with your point that aligning with inputs will lead to confusions. The above mockup looks good in the default dark themes and the only nit I still have is it looks somewhat out of place when having the label in a input box and next to a button, but they can be adjusted by repositioning the label and text alignment.

image

image

@miguelsolorio

Miguel Solorio (miguelsolorio) commented May 7, 2020 •

Copy link
Copy Markdown
Contributor Author

Peng Lyu (@rebornix) made a slight tweak to make the quick input pill and button vertically centered:

image

@rebornix

Copy link
Copy Markdown
Contributor

thanks, LGTM.

@miguelsolorio
Miguel Solorio (miguelsolorio) deleted the misolori/issue96608 branch May 7, 2020 17:43
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple designs for the "pill" that is being shown in the input field

7 participants