Skip to content

Commit 41a8be2

Browse files
authored
Merge pull request #585 from Chris0Jeky/ux/333-saved-views-productivity
Add saved views and productivity shortcuts
2 parents 9923576 + 983115b commit 41a8be2

File tree

7 files changed

+1629
-0
lines changed

7 files changed

+1629
-0
lines changed

frontend/taskdeck-web/src/components/shell/ShellSidebar.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,16 @@ const navCatalog: NavItem[] = [
111111
primaryModes: ['guided', 'workbench', 'agent'],
112112
keywords: 'inbox captures triage',
113113
},
114+
{
115+
id: 'views',
116+
label: 'Views',
117+
icon: 'V',
118+
path: '/workspace/views',
119+
flag: null,
120+
primaryModes: ['workbench'],
121+
secondaryModes: ['guided', 'agent'],
122+
keywords: 'views saved filters shortcuts blocked due week review',
123+
},
114124
{
115125
id: 'notifications',
116126
label: 'Notifications',

frontend/taskdeck-web/src/composables/useWorkspaceHelp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const workspaceHelpTopics = [
1010
'board',
1111
'activity-selectors',
1212
'board-access-selectors',
13+
'saved-views',
1314
] as const
1415

1516
export type WorkspaceHelpTopic = typeof workspaceHelpTopics[number]

frontend/taskdeck-web/src/router/index.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const InboxView = () => import('../views/InboxView.vue')
3636
const HomeView = () => import('../views/HomeView.vue')
3737
const TodayView = () => import('../views/TodayView.vue')
3838
const ReviewView = () => import('../views/ReviewView.vue')
39+
const SavedViewsView = () => import('../views/SavedViewsView.vue')
3940

4041
const router = createRouter({
4142
history: createWebHistory(import.meta.env.BASE_URL),
@@ -221,6 +222,18 @@ const router = createRouter({
221222
component: ArchiveView,
222223
meta: { requiresShell: true, requiresFlag: 'newArchive' },
223224
},
225+
{
226+
path: '/workspace/views',
227+
name: 'workspace-views',
228+
component: SavedViewsView,
229+
meta: { requiresShell: true },
230+
},
231+
{
232+
path: '/workspace/views/:viewId',
233+
name: 'workspace-views-detail',
234+
component: SavedViewsView,
235+
meta: { requiresShell: true },
236+
},
224237
{
225238
path: '/workspace/inbox',
226239
name: 'workspace-inbox',

0 commit comments

Comments
 (0)