Skip to content

fix(app): show a check icon for completed workspace-creation steps#2609

Open
magic-peach wants to merge 1 commit into
different-ai:devfrom
magic-peach:fix/done-step-icon
Open

fix(app): show a check icon for completed workspace-creation steps#2609
magic-peach wants to merge 1 commit into
different-ai:devfrom
magic-peach:fix/done-step-icon

Conversation

@magic-peach

Copy link
Copy Markdown

Summary

In the create-workspace progress list, stepIcon renders XCircle for the done state — the same glyph it uses for error. So every successfully completed step shows an ✕ instead of a check. On current dev it's compounded by the icon's text-emerald-10 class, which doesn't exist in the app's Radix-only Tailwind palette (see #2341), so the ✕ also renders with no color of its own.

apps/app/src/react-app/domains/workspace/create-workspace-local-panel.tsx:

  • done now renders CircleCheck — the same success glyph the notification center uses — in text-green-10, which exists in the palette.
  • error keeps XCircle in red, so the two states are finally distinguishable at a glance.

Testing

  • pnpm typecheck — clean
  • bun test tests/ — 142 pass, 0 fail
  • Two-line change confined to the stepIcon helper; the reviewer can reproduce by creating a local workspace and expanding the progress details while steps complete.

stepIcon rendered XCircle for the done state, so every completed step
in the create-workspace progress list showed the error glyph — and in
the current palette its emerald color class resolves to no CSS rule at
all, leaving an invisibly-colored X. Use CircleCheck (the same glyph
the notification center uses for success) with the green success color.
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, Comment, Open in v0 Jul 9, 2026 2:53am

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@magic-peach is attempting to deploy a commit to the Different AI Team on Vercel.

A member of the Team first needs to authorize it.

@magic-peach

Copy link
Copy Markdown
Author

@benjaminshafii could you please review my pr?

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