Part of #76750
Description
Create the Preferred Workspace selection page for security groups, allowing admins to choose a preferred workspace for a group.
Implementation Details
From the design doc:
UI Implementation
- Create
DomainSecurityGroupPreferredWorkspace.tsx in the src/pages/domain directory
- Use
ScreenWrapper, HeaderWithBackButton, ScrollView, Button, FixedFooter, UserListItem
- Display list of workspaces the admin owns for selection
Navigation
- Add
DomainSecurityGroupPreferredWorkspace to the SettingsModalStackNavigator in the navigators setup
- Update DOMAIN_TO_RHP.ts
- Update Linking Configuration in
Navigation/linkingConfig/config.ts
- Update
src/ROUTES.ts and SCREENS.ts
DOMAIN_SECURITY_GROUPS_PREFERRED_WORKSPACE: {
route: 'domain/:domainAccountID/groups/:groupID/preferred-workspace',
getRoute: (domainAccountID: number, groupID: number) => `domain/${domainAccountID}/groups/${groupID}/preferred-workspace` as const,
}
Resources
Issue Owner
Current Issue Owner: @mountiny
Issue Owner
Current Issue Owner: @ZhenjaHorbach
Part of #76750
Description
Create the Preferred Workspace selection page for security groups, allowing admins to choose a preferred workspace for a group.
Implementation Details
From the design doc:
UI Implementation
DomainSecurityGroupPreferredWorkspace.tsxin thesrc/pages/domaindirectoryScreenWrapper,HeaderWithBackButton,ScrollView,Button,FixedFooter,UserListItemNavigation
DomainSecurityGroupPreferredWorkspaceto theSettingsModalStackNavigatorin the navigators setupNavigation/linkingConfig/config.tssrc/ROUTES.tsandSCREENS.tsResources
Issue Owner
Current Issue Owner: @mountiny
Issue Owner
Current Issue Owner: @ZhenjaHorbach