Skip to content

Implement dynamic primary CTA button based on workspace state

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

MR: Pending

Description

To improve the workspace failure visibility & troubleshooting, we need to implement dynamic primary CTA buttons on workspace cards that change based on the workspace state so that users can quickly perform the most relevant action for each workspace.

Before/After

Before After
Before image
After image

Acceptance criteria

  • Running workspaces display "Open workspace" button (existing functionality)
  • FAILED/ERROR workspaces display "See logs" button that navigates to error logs view created in Create workspace details page foundation with r... (#565418)
  • Stopped workspaces display "Start" button that initiates workspace startup
  • Button states handle loading/disabled states appropriately during actions
  • Button text and functionality updates immediately when workspace state changes
  • Loading states prevent multiple simultaneous actions on the same workspace

TODO: Implementation plan

Edited by Sahil Sharma