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

monaco: quick input regression fix #12239

Conversation

FernandoAscencio
Copy link
Contributor

@FernandoAscencio FernandoAscencio commented Feb 28, 2023

What it does

Fixes a regression introduced in #12095

How to test

Currently the commit in #12095 introduced an regression with some menus did not display properly.

12095Regression

To test, you can run the Start Debugging while on Attach by Process ID. Then check that the display is fixed and no other displays have broken.

Review checklist

Reminder for reviewers

@vince-fugnitto vince-fugnitto added monaco issues related to monaco ui/ux issues related to user interface / user experience labels Feb 28, 2023
Copy link
Contributor

@colin-grant-work colin-grant-work left a comment

Choose a reason for hiding this comment

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

A definite improvement 👍

@gbodeen gbodeen mentioned this pull request Mar 1, 2023
1 task
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

There are issues when we have the seti icon-theme set and attempt to quick-open files:

image

@FernandoAscencio
Copy link
Contributor Author

This should address the issues brought in #12247

QIRegression2

@FernandoAscencio FernandoAscencio force-pushed the fa/QuickInputRegressionFix branch 3 times, most recently from 0d7b6ff to b2aa32a Compare March 3, 2023 18:55
Copy link
Contributor

@colin-grant-work colin-grant-work left a comment

Choose a reason for hiding this comment

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

These changes appear to address the problems in the three problem areas that have been identified in testing this and related changes: long paths, multi-line picks (attach by process ID), and check marks for toggled commands.

packages/monaco/src/browser/style/index.css Outdated Show resolved Hide resolved
@gbodeen
Copy link
Contributor

gbodeen commented Mar 13, 2023

The text alignment is fixed ✅
The icon sizing is still mismatched:
image

@gbodeen
Copy link
Contributor

gbodeen commented Mar 13, 2023

This doesn't necessarily have to be part of this MR (though a fix was included in !12247) -- if not included, we should open an issue for it.

In light themes, the path is no longer easily distinguished from the filename as in VSCode:

image

@tsmaeder
Copy link
Contributor

@colin-grant-work do we want to merge this one ahead of the release?

@tsmaeder
Copy link
Contributor

@gbodeen @vince-fugnitto what's the state on this one? We have a 👍 , but it's not merged.

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

@FernandoAscencio the changes look good to me, do you mind updating this value to 0.9 similarly to VS Code. It should help better differentiate between the primary label and item descriptions (for example: when displaying multi-root paths for the quick-file open):

font-size: calc(var(--theia-ui-font-size1) * 0.95) !important;

This commit is the first attempt to fix the regression introduced in
 eclipse-theia#12095

Signed-Off-By: FernandoAscencio <[email protected]>
@FernandoAscencio
Copy link
Contributor Author

@vince-fugnitto
Changed 0.95 to 0.9.

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

The changes are a nice improvement 👍 and fix the regressions.

@vince-fugnitto vince-fugnitto merged commit fe083c6 into eclipse-theia:master May 31, 2023
@vince-fugnitto vince-fugnitto deleted the fa/QuickInputRegressionFix branch May 31, 2023 18:54
@vince-fugnitto vince-fugnitto added this to the 1.39.0 milestone Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monaco issues related to monaco ui/ux issues related to user interface / user experience
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants