@@ -123,13 +123,22 @@ The `Edit Settings` view must render `CliStateProjectionMode` as a dropdown usin
123123- If no ` webdriver_xxx ` workspace is available, the first workspace is selected.
124124- Changing the selected workspace reloads the workspace document and resets editor state.
125125
126+ ### Workspace Management
127+
128+ WebStudio must expose workspace-level management from the workspace selector area.
129+
130+ The workspace selector area must include a ` Workspace ` action that opens a workspace management dialog.
131+
132+ The workspace management dialog must support:
133+
134+ - creating a new workspace
135+ - renaming the currently selected workspace
136+
126137### Workspace Creation
127138
128139WebStudio must allow creating a new workspace by cloning an existing workspace.
129140
130- The creation action is launched from the workspace selector area.
131-
132- The creation dialog must require:
141+ The creation panel must require:
133142
134143- new workspace name
135144- base workspace
@@ -171,6 +180,39 @@ After successful creation:
171180
172181If creation fails, WebStudio must keep the creation dialog open and show the error.
173182
183+ ### Workspace Rename
184+
185+ WebStudio must allow renaming the currently selected workspace.
186+
187+ The rename panel must show:
188+
189+ - current workspace name
190+ - new workspace name
191+
192+ The new workspace name must use the same safe folder name rules as workspace creation.
193+
194+ The new workspace name must not already exist.
195+
196+ The new workspace name must be different from the current workspace name.
197+
198+ After successful rename:
199+
200+ - WebStudio refreshes the workspace list
201+ - WebStudio selects the renamed workspace
202+ - WebStudio opens Test Configuration
203+ - the default configuration editor is ` Edit Java Composition Flow `
204+
205+ Workspace rename must also rename the matching output results workspace folder when it exists.
206+
207+ Output rename behavior:
208+
209+ - ` output/<old-workspace> ` becomes ` output/<new-workspace> `
210+ - existing generated result folders remain inside the renamed output workspace folder
211+ - if ` output/<old-workspace> ` does not exist, rename still succeeds
212+ - if ` output/<new-workspace> ` already exists, rename fails and the current workspace name remains unchanged
213+
214+ If rename fails, WebStudio must keep the workspace management dialog open and show the error.
215+
174216### Page Navigation
175217
176218Main pages:
0 commit comments