-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
feat: removed non-official themes from the settings dialog #1994
Conversation
a90a6c7
to
cd43a75
Compare
cd43a75
to
a431456
Compare
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.
Users must cancel the Settings dialog or use a command or the advanced settings to select custom, unofficial themes.
Although this is an excellent approach to migrating people away from the deprecated built-in Theia themes (#1283), it harms the user experience when using manually installed themes. It was decided that manual installation of theme extensions will be officially supported (though of course Arduino does not maintain or provide support for the individual 3rd party themes themselves). So we do need to give consideration to that use case.
Would it be possible to apply this behavior (only showing the theme in the "Theme" menu of the "Preferences" dialog if already selected) exclusively to the deprecated built-in Theia themes rather than applying it to the manually installed theme extensions in ~/.arduinoIDE/plugins
as well (as is currently done by the PR)? Since it is an officially supported use case, I think the user should be able to select a manually installed 3rd party or custom theme from the "Preferences" dialog (as is the behavior in Arduino IDE 1.x).
Closes #1851 Signed-off-by: Akos Kitta <[email protected]>
Thank you for the review. I made the requested changes, and the build is running. Instead of updating the original description of this PR and replacing the screencasts, this section shows the differences between the latest review.
1283.mp4 |
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.
Thanks Akos!
Closes #1283 Ref eclipse-theia/theia#11151 Signed-off-by: Akos Kitta <[email protected]>
With the most recent changes, the themes are grouped by 1283_separator.mp4 |
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.
Looks great. Thanks!
## Depends on #1988✅Motivation
This PR updates the behavior or the theme
<select>
in the Settings dialog and makes it overall easier to "install" and use custom (VS Code extension-based) themes in IDE2.Change description
Light
,Dark
, andHigh Contrast
themes in the Settings dialog.1283_01.mp4
Preferences: Color Theme
command contributed by Theia. (Or with the Ctrl/⌘+K Ctrl/⌘+T key-chord.) Experienced users should use this command to list and select unofficial themes. The quick-pick theme items show the fully qualified names of the Arduino themes to follow the naming convention among the VS Code extension-based themes. This PR does not change the behavior of theworkbench.colorTheme
preference.1283_02.mp4
Preferences: Color Theme
command:<username>
is your Windows username)XDG_CONFIG_HOME
is not supported Theia apps: option to respect each operating system standards when chosing their user-levelconfig folder
path eclipse-theia/theia#1518)1283_03.mp4
Unofficial - ${THEME_NAME}
as the<select>
label.1283_04.mp4
Unofficial - ${THEME_NAME}
. When you unselect the unofficial<select>
label, it won't be possible to select it again. Users must cancel the Settings dialog or use a command or the advanced settings to select custom, unofficial themes.1283_05.mp4
1283_06.mp4
Other information
Closes #1283
Closes #1851
Reviewer checklist