feat: Implement User Switcher and add subscription cancellation modal

This commit is contained in:
Mo Tarbin
2025-09-02 01:50:06 -04:00
parent a7b33c48b3
commit 6403d135ea
8 changed files with 366 additions and 77 deletions

View File

@@ -1,9 +1,9 @@
export const DEFAULT_SIDEPANEL_CONFIG = [
{
id: 'welcome',
name: 'Welcome Card',
description: 'Shows greeting and quick stats',
iconName: 'WavingHand',
id: 'welcome', // legacy name, now represents User Switcher
name: 'User Switcher',
description: 'Allows admins/managers to view tasks as different users',
iconName: 'SupervisorAccount',
enabled: true,
order: 0,
},
@@ -62,4 +62,4 @@ export const saveSidepanelConfig = config => {
export const resetSidepanelConfig = () => {
saveSidepanelConfig(DEFAULT_SIDEPANEL_CONFIG)
return DEFAULT_SIDEPANEL_CONFIG
}
}