Skip to content

fix(site/src/pages): use RotateCcwIcon for update actions - #28183

Open
designertyler wants to merge 1 commit into
mainfrom
des-22067-update-restart-icon
Open

fix(site/src/pages): use RotateCcwIcon for update actions#28183
designertyler wants to merge 1 commit into
mainfrom
des-22067-update-restart-icon

Conversation

@designertyler

Copy link
Copy Markdown
Contributor

Closes DES-22067.

The "Update and restart" / "Update and start" actions used CloudIcon, which reads as a cloud/network concept instead of an update-and-restart build action.

Switch them to RotateCcwIcon, which the UI already uses for:

  • the Restart button on the workspace page
  • the Update action in WorkspaceOutdatedTooltip, AgentOutdatedTooltip, and SubAgentOutdatedTooltip

Call sites changed:

  • WorkspacePage/WorkspaceActions/Buttons.tsx - UpdateButton
  • WorkspacesPage/WorkspacesTable.tsx - "Update and start workspace" and "Update and restart workspace" primary actions
  • WorkspacesPage/WorkspacesPageView.tsx - batch "Update" menu item

The requireActiveVersion variant still uses PlayIcon, since that path starts the workspace on the active version rather than offering a choice. Worth a separate design pass if that should change too.

Investigation notes

Verified against origin/main (af90d8e2be): no prior PR referenced DES-22067 and all three CloudIcon usages were still present. grep confirms no CloudIcon usages remain in site/src after this change.

Icon conventions found in the codebase:

  • RotateCcwIcon: restart, update (outdated tooltips), retry (RetryButton, TasksTable, TaskPage, HealthLayout)
  • RefreshCwIcon / RefreshCcwIcon: softer "reload data" flows (terminal, secrets, prebuilds invalidate, inbox, git panel)

data-testid="bulk-action-update" is preserved on the batch update item, so e2e coverage is unaffected.


Generated by Coder Agents on behalf of @designertyler.

The update actions used a cloud icon, which reads as a
cloud/network concept rather than update and restart. RotateCcwIcon is
already used for the Restart button and for the Update action in
WorkspaceOutdatedTooltip and AgentOutdatedTooltip, so reuse it for the
workspace page update button, the workspaces table primary actions, and
the batch update menu item.
@linear-code

linear-code Bot commented Aug 14, 2026

Copy link
Copy Markdown

DES-22067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant