- Notifications
You must be signed in to change notification settings - Fork1k
feat(site): allow starting task workspace from task page#19790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
a6c6692
toa94fead
CompareUh oh!
There was an error while loading.Please reload this page.
a94fead
to9104bad
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good to me! May be no harm to have a second pair of eyes from FE.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM! I just left a few comments, but nothing blocking.
Uh oh!
There was an error while loading.Please reload this page.
disabled={isMutationRunning} | ||
onClick={()=>{ | ||
mutateStartWorkspace.mutate({ | ||
buildParameters:parameters?.buildParameters, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Good catch—I probably would have overlooked that.
Also, don’t forget to review and approve the Chromatic tests. |
site/src/pages/TaskPage/TaskPage.tsx Outdated
open={apiError!==undefined} | ||
error={apiError} | ||
onClose={mutateStartWorkspace.reset} | ||
showDetail={task.workspace.template_use_classic_parameter_flow} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
this is suspicious. why are we not showing details for dynamic parameters? it's the blessed path now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I just copied the other two instances of this and they both do that, I'm happy to update this though
Uh oh!
There was an error while loading.Please reload this page.
b71d671
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closes#19622
When viewing a task with a stopped workspace, instead show a 'Start workspace' button instead of a 'View workspace'. The user can still view the workspace by clicking the workspace button at the top right of the page.
2025-09-12.12-17-37.mov