Skip to content

deployment: align list status pills with the detail page - #338

Open
acoshift wants to merge 1 commit into
mainfrom
console-deployment-list-status
Open

deployment: align list status pills with the detail page#338
acoshift wants to merge 1 commit into
mainfrom
console-deployment-list-status

Conversation

@acoshift

@acoshift acoshift commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

The Deployments list used different status copy than the deployment detail header (Deploying / Failed vs Pending / Error, plus mismatched tones for pending, deleting, and cancelled). Clicking through a row made the status look like it had changed.

Both pages now share deploymentStatusPill in src/lib/deployment/status.ts, so the list shows the same labels and tones as the detail page:

State Before (list) After (list = detail)
pending deploy Deploying (info) Pending (warning)
error Failed (negative) Error (negative)
cancelled Cancelled (muted) Cancelled (negative)
pending delete Deleting (negative) Deleting (warning)
paused Paused (warning) Paused (warning)
healthy (no pill) (no pill)

A healthy running deployment still has no pill — the icon next to the name already carries that signal, same as detail.

Live pod-readiness on the list icon is unchanged: deployment.list still omits the signed statusUrl JWT (list-field-scoping), so the list icon resolves from stored action/status without polling. The detail page continues to poll.

Screenshots

Before (list) After (list)
before after

Detail page (unchanged labels — source of truth):

Pending Error
pending error

Test plan

  • Playwright: list pills match detail for success / pending / error / paused / deleting / cancelled
  • bun lint and bun check
  • Open /deployment and confirm Pending / Error / Paused / Deleting / Cancelled match the matching detail page

Requested via Grok Work
Prompter: ACS

The deployments list labeled pending as "Deploying" and error as "Failed"
(with different tones) while the detail header used "Pending" / "Error".
Share one helper so both surfaces stay in lockstep.

Prompter: ACS
@deploys-app

deploys-app Bot commented Aug 29, 2026

Copy link
Copy Markdown

Preview console-pr-338

URL: https://console-pr-338-606515731026706458.rcf2.deploys.app

Image: registry.deploys.app/deploys-app/console@sha256:8198de5ba18ea91949e020b67b0bc7d92d6f1c08217b7cf5795a244c3fcfb6c4

Commit: 1101ec1

updated 2026-08-29T10:02:03Z

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