Task
Add the entry point and the first step of the RHP flow.
Three-dot menu entry (src/pages/workspace/WorkspacesListPage.tsx): add a new item in threeDotsMenuItems, next to "Duplicate Workspace", labeled with translate('workspace.copySettings.title') and a gear icon. Wire its onSelected to Navigation.navigate(ROUTES.POLICY_COPY_SETTINGS.getRoute(item.policyID)). Only show for admins on the policy (existing isAdmin guard). Also add the new translation key in the translation files.
Page 1 (pages/workspace/copyPolicySettings/CopyPolicySettingsSelectWorkspacesPage.tsx): RHP step showing workspaces the current user is admin of. Use SelectionList with MultiSelectListItem.
Eligibility rules:
- Exclude the source policy
- Exclude policies where the user is not admin, and personal policies
- If the source policy type is
CORPORATE, only include other CORPORATE policies (Release 1 restriction — removed in Issue 7 as part of R2)
Layout:
- A
<Checkbox> above the list to toggle select-all
- A
<SearchBar> keyword input appears when the list has more than 12 policies
- "Next" button persists selections via
setCopyPolicySettingsData({targetPolicyIDs}) and navigates to Select Features
Relevant design doc sections: "[App] Add 'Copy configuration' to the workspace three-dot menu" and "[App] Page 1 : Select workspaces".
Depends on Issue 1 (routes/screens). Issue 2 is nice to have for the action helpers, but setCopyPolicySettingsData can be stubbed during development.
Issue Owner
Current Issue Owner: @dmkt9
Add Bulk Workspace EditsTask
Add the entry point and the first step of the RHP flow.
Three-dot menu entry (
src/pages/workspace/WorkspacesListPage.tsx): add a new item inthreeDotsMenuItems, next to "Duplicate Workspace", labeled withtranslate('workspace.copySettings.title')and a gear icon. Wire itsonSelectedtoNavigation.navigate(ROUTES.POLICY_COPY_SETTINGS.getRoute(item.policyID)). Only show for admins on the policy (existingisAdminguard). Also add the new translation key in the translation files.Page 1 (
pages/workspace/copyPolicySettings/CopyPolicySettingsSelectWorkspacesPage.tsx): RHP step showing workspaces the current user is admin of. UseSelectionListwithMultiSelectListItem.Eligibility rules:
CORPORATE, only include otherCORPORATEpolicies (Release 1 restriction — removed in Issue 7 as part of R2)Layout:
<Checkbox>above the list to toggle select-all<SearchBar>keyword input appears when the list has more than 12 policiessetCopyPolicySettingsData({targetPolicyIDs})and navigates to Select FeaturesRelevant design doc sections: "[App] Add 'Copy configuration' to the workspace three-dot menu" and "[App] Page 1 : Select workspaces".
Depends on Issue 1 (routes/screens). Issue 2 is nice to have for the action helpers, but
setCopyPolicySettingsDatacan be stubbed during development.Issue Owner
Current Issue Owner: @dmkt9