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

debug-alt codicon in size for action bar #101026

Closed
isidorn opened this issue Jun 25, 2020 · 16 comments
Closed

debug-alt codicon in size for action bar #101026

isidorn opened this issue Jun 25, 2020 · 16 comments
Assignees
Labels
candidate Issue identified as probable candidate for fixing in the next release debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality icons-product Issues for in-product icons insiders-released Patch has been released in VS Code Insiders ux User experience issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Jun 25, 2020

As mentioned in #92269 (comment)

We need the debug-alt codicon in size to fit in the editor title action bar.
Is it possible to introdcue a new codicon or to fix the current one such that the icon is well aligned with others?

Screenshot 2020-06-25 at 15 58 33

@isidorn isidorn added debug Debug viewlet, configurations, breakpoints, adapter issues ux User experience issues labels Jun 25, 2020
@miguelsolorio
Copy link
Contributor

So I can work on making the sizes consistent, that's a separate issue. However, making the play icons align would be trickier because when we overlay the bug we have to shift the play button around. Here's a comparison of current vs making it the same position as the previous play:

image

Making the bug smaller would then make it harder to see at the 16px size

Here's the closest I could get to making them the same:

image

image

@isidorn
Copy link
Contributor Author

isidorn commented Jun 25, 2020

@misolori thanks for looking into this. I think I would prefer if we just fix the size for now.

The new icon while more aligned has a problem that it looks less like a play button and thus I dislike it a bit.

@miguelsolorio
Copy link
Contributor

Ok, since this will require some larger changes (I have to re-size all of the activity bar icons and update the icon sizes) I'll push this out to the next milestone since we're nearing the end of the iteration.

@miguelsolorio miguelsolorio added this to the July 2020 milestone Jun 25, 2020
@isidorn
Copy link
Contributor Author

isidorn commented Jun 26, 2020

@misolori makes sense, thanks a lot!
fyi @weinand

@weinand
Copy link
Contributor

weinand commented Jul 1, 2020

What is proposed above (and copied below), looks perfect to me:

2020-07-01_12-25-26

@weinand
Copy link
Contributor

weinand commented Jul 1, 2020

@misolori I just verified how the current icons look in Mock debug and I got the impression that the debug icon (play with bug) is just fine. Only the "play" icon is a little small.

2020-07-01_12-38-24

Instead of changing "debug" (and all other icons used in the activity bar), wouldn't it be possible to just make the play icon one pixel larger and move it up one pixel?

@miguelsolorio
Copy link
Contributor

The problem is that the activity icons (~10) are the only ones that are bigger while the rest (~310) are at the default size. So this would make the play button bigger and create an off-set when used in other cases. We also have variations of this play icon (run-all, debug-start, play-circle) which would make it more noticeable when placed together.

I still think the proper fix is to address the activity bar icons, which is something I've been wanting to do anyways but never got around to doing it.

@isidorn
Copy link
Contributor Author

isidorn commented Jul 1, 2020

@misolori makes sense to fix the activity bar icons then. We can do this next milestone, as shipping with this in June is perfectly fine.

@miguelsolorio
Copy link
Contributor

After trying a couple of different methods, it turns out that updating the rest of the activity bar icons are quite tricky. So not only are those icons bigger but they are also wider by 1.5px (vs 1px). So I'll need a different way to specify these icons to only be used in the activity bar.

In the meantime, I've introduced a new icon, debug-alt-small which should fit into the action bar here:

image

@weinand let me know if you're able to use the new icon and if it works for you.

@miguelsolorio miguelsolorio added the icons-product Issues for in-product icons label Jul 6, 2020
@weinand
Copy link
Contributor

weinand commented Jul 6, 2020

@misolori the new icon looks great.

The only problem is that it introduces a new name. In this milestone we will announce "debug-alt" (and "debug-alt-small" is not yet available) and in the next milestone we have to change the name to "debug-alt-small".

Would it be possible to ship "debug-alt-small" already in the June milestone?
If yes I will adapt the sample and the doc accordingly.

@miguelsolorio
Copy link
Contributor

miguelsolorio commented Jul 6, 2020

It'll have to come through a candidate pr, let me queue one up and assign it for you to review/merge tomorrow.

@weinand
Copy link
Contributor

weinand commented Jul 6, 2020

@misolori great, thanks

@miguelsolorio miguelsolorio modified the milestones: July 2020, June 2020 Jul 6, 2020
@miguelsolorio miguelsolorio added the candidate Issue identified as probable candidate for fixing in the next release label Jul 6, 2020
@weinand
Copy link
Contributor

weinand commented Jul 7, 2020

Here is the Mock Debug sample with the new "debug-alt-small" icon:

run-and-debug-actions

weinand added a commit to microsoft/vscode-docs that referenced this issue Jul 7, 2020
@weinand
Copy link
Contributor

weinand commented Jul 7, 2020

I've already changed the 1.47 release notes to use "debug-alt-small" instead of "debug-alt": microsoft/vscode-docs@3f9a91d

@miguelsolorio miguelsolorio added the verification-needed Verification of issue is requested label Jul 7, 2020
@miguelsolorio
Copy link
Contributor

This is now merged into the 1.47 branch and will make it in for June's release.

@miguelsolorio miguelsolorio added the feature-request Request for new features or functionality label Jul 7, 2020
@weinand
Copy link
Contributor

weinand commented Jul 8, 2020

I've verified that this works in Insiders.

@weinand weinand added the verified Verification succeeded label Jul 8, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
candidate Issue identified as probable candidate for fixing in the next release debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality icons-product Issues for in-product icons insiders-released Patch has been released in VS Code Insiders ux User experience issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants
@weinand @isidorn @miguelsolorio and others