-
Notifications
You must be signed in to change notification settings - Fork 881
Delete awkwardness and 410 error instead of taking user to Workspaces list after deleting the workspace #1955
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@misskniss @Kira-Pilot I wrote a decision ticket about how to handle deleting #1837, where we decided that eventually we want to be able to see a deleted workspace (so no 410 error), but that requires a backend change. So in the meantime I went with the redirection so you don't get the error on the page you're looking at. |
@presleyp what I'm hearing is:
Does the above AC look good to you? |
You won't see the deleted workspace in your list but that's okay. Back will work. |
* feat: added include_deleted relates to #1955 * Update coderd/workspaces.go defining vars in the scope of conditional Co-authored-by: Mathias Fredriksson <[email protected]> * Update coderd/workspaces.go avoid newline Co-authored-by: Mathias Fredriksson <[email protected]> * Update coderd/workspaces.go Co-authored-by: Mathias Fredriksson <[email protected]> * PR feedback * wrote test, added type * Update coderd/workspaces_test.go shortening test name Co-authored-by: Cian Johnston <[email protected]> * taking out api.ts change for now * casing Co-authored-by: Mathias Fredriksson <[email protected]> Co-authored-by: Cian Johnston <[email protected]>
* feat: added include_deleted relates to #1955 * Update coderd/workspaces.go defining vars in the scope of conditional Co-authored-by: Mathias Fredriksson <[email protected]> * Update coderd/workspaces.go avoid newline Co-authored-by: Mathias Fredriksson <[email protected]> * Update coderd/workspaces.go Co-authored-by: Mathias Fredriksson <[email protected]> * PR feedback * wrote test, added type * Update coderd/workspaces_test.go shortening test name Co-authored-by: Cian Johnston <[email protected]> * taking out api.ts change for now * casing Co-authored-by: Mathias Fredriksson <[email protected]> Co-authored-by: Cian Johnston <[email protected]>
Steps to repro:
'Deleting...
Also --> We should keep them on that workspace rather than kicking them all the way out to the main list.
The text was updated successfully, but these errors were encountered: