8000 chore: fix idle state icon when disabled by code-asher · Pull Request #18554 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: fix idle state icon when disabled #18554

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

Merged
merged 1 commit into from
Jun 25, 2025
Merged

Conversation

code-asher
Copy link
Member
@code-asher code-asher commented Jun 24, 2025

When the workspace is off, we set a disabled text/stroke color, but for the idle icon that also needs a fill, this only changed the outline making it look weird. Instead, move the disabled logic into the component so we can apply a matching fill.

I felt it looked too thick with both the outline and fill, so I also removed the outline.

Really I think maybe the workspace status should be a separate column rather than disabling these icons, but this maintains the status quo.

Before with mismatching stroke and fill color:

screenshot

After with disabled fill and stroke removal:

screenshot

Enabled fill and stroke removal:

screenshot

When the workspace is off, we set a disabled color, but for the idle
icon that also needs a fill, this only changed the border making it look
weird.  Instead, move the disabled logic into the component so we can
apply a matching fill when necessary.
@code-asher code-asher force-pushed the asher/disable-app-icon-fix branch from ed86e1f to 27f64de Compare June 24, 2025 22:07
@code-asher code-asher requested a review from hugodutka June 24, 2025 22:21
@code-asher code-asher merged commit 48bb534 into main Jun 25, 2025
49 checks passed
@code-asher code-asher deleted the asher/disable-app-icon-fix branch June 25, 2025 18:06
@github-actions github-actions bot locked and limited conversation to collaborators Jun 25, 2025
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.

2 participants
0