-
Notifications
You must be signed in to change notification settings - Fork 0
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
Impl: icons with support for light&dark themes #32
Conversation
- Start button is active even though it doesn't do anything when clicked when the workspace template has updates. - resolves #31
- to `Update and start` to reflect that the it also starts the workspace - more consistent with the web client
- LAF support in Toolbox is quite primitive, it turns out icon support for light and dark themes is enabled by a masked flag on the icons - the mask flag controls whether the svg colors are inverted in light&dark themes.
@@ -78,7 +78,7 @@ class CoderRemoteEnvironment( | |||
workspace = workspace.copy(latestBuild = build) | |||
update(workspace, agent) | |||
}, | |||
Action(context.i18n.ptrl("Update"), enabled = { workspace.outdated }) { | |||
Action(context.i18n.ptrl("Update and start"), enabled = { workspace.outdated }) { |
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.
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.
Sure I think we can do both though I'm not sure how do I get to have a running workspace but outdated so that I can test and play with it.
In the meantime let me write two issues to capture the requests.
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.
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.
I'm not sure how do I get to have a running workspace but outdated so that I can test and play with it.
I can help provide one. If you are an admin, you can switch your workspace to a previous template version, and that makes it "Update and restart"
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.
I'm not an admin, that would indeed simplify my testing.
Among other things we also fixed and issue with the
Start
button which remained active when a workspace was stopped and outdated. In order to be more consistent with the web client we renamed the button toUpdate and start
to reflect that it also starts the workspace.Running and outdated workspaces also received a new action button:
Update and restart
.