Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

feat(web): link calendar view from sidebar and project menu

Daniel Barretoe93ac7bb052e
diff --git a/web/src/components/features/projects/parts/ProjectListBase.vue b/web/src/components/features/projects/parts/ProjectListBase.vue
index f64a3ae..a8f9b31 100644
--- a/web/src/components/features/projects/parts/ProjectListBase.vue
+++ b/web/src/components/features/projects/parts/ProjectListBase.vue
@@ -63,6 +63,16 @@
:to="{ name: 'kanban', params: { projectId: selectedProject?.id } }"
@click="contextMenu?.close()"
/>
+ <!-- Calendar -->
+ <UButton
+ :label="t('contextMenu.calendar')"
+ icon="i-lucide-calendar-days"
+ variant="ghost"
+ color="neutral"
+ class="w-full justify-start"
+ :to="{ name: 'calendar', params: { projectId: selectedProject?.id } }"
+ @click="contextMenu?.close()"
+ />
<!-- Graph -->
<UButton
v-if="canViewGraph"
diff --git a/web/src/components/sidebars/dashboard-second/SidebarTools.vue b/web/src/components/sidebars/dashboard-second/SidebarTools.vue
index d9c7132..f6380df 100644
--- a/web/src/components/sidebars/dashboard-second/SidebarTools.vue
+++ b/web/src/components/sidebars/dashboard-second/SidebarTools.vue
@@ -89,6 +89,7 @@ const tools = computed<Tool[]>(() => {
if (canViewKanban.value) {
list.push({ key: 'kanban', label: t('contextMenu.kanban'), icon: 'i-lucide-kanban', to: { name: 'kanban', params: { projectId: id } }, active: () => route.name === 'kanban' })
}
+ list.push({ key: 'calendar', label: t('contextMenu.calendar'), icon: 'i-lucide-calendar-days', to: { name: 'calendar', params: { projectId: id } }, active: () => route.name === 'calendar' })
if (canViewGraph.value) {
list.push({ key: 'graph', label: t('contextMenu.graph'), icon: 'i-lucide-git-graph', to: { name: 'graph', params: { projectId: id } }, active: () => route.name === 'graph' })
}