feat: refactor conversations page into a workbench layout and implement workspace switching

- Migrate ConversationsPage to use ConversationWorkbench component.
- Create WorkbenchLayout to handle authentication and layout for workbench.
- Add WorkbenchPage to render ConversationWorkbench.
- Implement WorkspaceSwitcher for switching between dashboard and workbench.
- Update AuthProvider to manage authentication for both dashboard and workbench routes.
- Enhance WorkbenchHeader with user menu and workspace switcher.
- Add tests for workspace switcher and auth provider functionality.
- Update translations for workspace labels in English and Chinese.
- Exclude e2e tests from TypeScript compilation.
This commit is contained in:
mlogclub
2026-06-13 11:49:03 +08:00
parent a8755811b5
commit d22805c4af
15 changed files with 1033 additions and 559 deletions
+5
View File
@@ -2351,6 +2351,11 @@
"changePassword": "Change Password",
"signOut": "Sign Out"
},
"workspace": {
"dashboard": "Admin Dashboard",
"workbench": "Support Workbench",
"switchWorkspace": "Switch workspace"
},
"theme": {
"toggle": "Change theme",
"light": "Light",
+5
View File
@@ -2351,6 +2351,11 @@
"changePassword": "修改密码",
"signOut": "退出登录"
},
"workspace": {
"dashboard": "管理后台",
"workbench": "客服工作台",
"switchWorkspace": "切换工作区"
},
"theme": {
"toggle": "切换主题",
"light": "浅色模式",