Skip to content

Conversation

@code-asher
Copy link
Member

@code-asher code-asher commented Nov 27, 2025

Closes #19984

As part of this, I refactored the error template to take in a slice of actions rather than using individual booleans and strings to control the behavior.

We decided a link resolves the issue for now so that is what I added, although we may want to consider a way to start the workspace and follow the logs dynamically on that page and then show the app when finished (similar to the tasks page), or at least make the link automatically start the workspace instead of only taking you to the dashboard where you have to then start the workspace.

@code-asher code-asher changed the title Add view workspace button to app error page feat: add view workspace button to app error page Nov 27, 2025
Instead of multiple bool/string vars, there is a single actions array.
This will let us add new types of links without extra variables.
When the workspace is stopped we show an error page if you try accessing
a Coder app.  Now it also includes a button to go to that workspace,
where you can start the workspace.
@code-asher code-asher force-pushed the asher/app-start-workspace-button branch from 3c12c47 to eb81af9 Compare December 1, 2025 19:01
@code-asher code-asher requested a review from aslilac December 1, 2025 19:20
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice and simple

@code-asher code-asher merged commit 3a0e8af into main Dec 8, 2025
35 checks passed
@code-asher code-asher deleted the asher/app-start-workspace-button branch December 8, 2025 23:16
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 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.

Better UX when coder_app URL is visited and workspace/app is not ready

3 participants