Description
Problem
When changing workspace parameters in the UI (workspaces -> settings -> parameters), the submit button immediately triggers a workspace restart. This is annoying for customers as we don't display a warning against losing data when the workspace is running.
Proposal
When restarting a workspace elsewhere in the UI, we have a large confirmation window to prevent work loss. We should add this as a second step when the user presses "submit" on the workspace parameters page when the workspace is running.
Stretch idea
We could give users the option to wait until the next restart with an adjusted dialogue. This will allow them one of two options:
- Apply the parameter changes now
- Apply the changes upon next restart
I am unsure if this is feasible as we'd have to store the new parameter values, and show that they're outdated in UI until the workspace restarts.