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:
@@ -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",
|
||||
|
||||
@@ -2351,6 +2351,11 @@
|
||||
"changePassword": "修改密码",
|
||||
"signOut": "退出登录"
|
||||
},
|
||||
"workspace": {
|
||||
"dashboard": "管理后台",
|
||||
"workbench": "客服工作台",
|
||||
"switchWorkspace": "切换工作区"
|
||||
},
|
||||
"theme": {
|
||||
"toggle": "切换主题",
|
||||
"light": "浅色模式",
|
||||
|
||||
Reference in New Issue
Block a user