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.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
wip: TT for specific goal
Nikolai Gimanf0fed9d68b27
diff --git a/web/src/components/features/projects/parts/ProjectListBase.vue b/web/src/components/features/projects/parts/ProjectListBase.vueindex 8983b04..1e1cf03 100644--- a/web/src/components/features/projects/parts/ProjectListBase.vue+++ b/web/src/components/features/projects/parts/ProjectListBase.vue@@ -107,6 +107,17 @@:to="{ name: 'webhooks', params: { projectId: selectedProject?.id } }"@click="contextMenu?.close()"/>+ <!-- Time Reports -->+ <UButton+ v-if="canViewTimeTracking"+ :label="t('contextMenu.timeReports')"+ icon="i-lucide-clock"+ variant="ghost"+ color="neutral"+ class="w-full justify-start"+ :to="{ name: 'project-time-reports', params: { projectId: selectedProject?.id } }"+ @click="contextMenu?.close()"+ /><USeparator class="my-1" />@@ -222,6 +233,7 @@ const {canViewKanban,canViewGraph,canViewIntegrations,+ canViewTimeTracking,canManageUsers,canEditGoal,canDeleteGoal,diff --git a/web/src/composables/useGoalPermissions.ts b/web/src/composables/useGoalPermissions.tsindex dbc29a1..f8d1451 100644--- a/web/src/composables/useGoalPermissions.ts+++ b/web/src/composables/useGoalPermissions.ts@@ -26,6 +26,7 @@ export function useGoalPermissionsFor(goalRef: Ref<GoalItem | null>) {canViewGraph: computed(() => hasPermission(goalRef.value, 'GRAPH_CAN_VIEW') || hasPermission(goalRef.value, 'GRAPH_CAN_MANAGE')),canViewIntegrations: computed(() => hasPermission(goalRef.value, 'INTEGRATIONS_CAN_VIEW') || hasPermission(goalRef.value, 'INTEGRATIONS_CAN_MANAGE')),canManageIntegrations: computed(() => hasPermission(goalRef.value, 'INTEGRATIONS_CAN_MANAGE')),+ canViewTimeTracking: computed(() => hasPermission(goalRef.value, 'TIMETRACKING_CAN_VIEW') || hasPermission(goalRef.value, 'TIMETRACKING_CAN_MANAGE_ALL')),}}diff --git a/web/src/locales/en.ts b/web/src/locales/en.tsindex 52269f8..36db839 100644--- a/web/src/locales/en.ts+++ b/web/src/locales/en.ts@@ -104,6 +104,7 @@ export default {collaboration: 'Collaboration',integrations: 'Integrations',webhooks: 'Webhooks',+ timeReports: 'Time reports',edit: 'Edit',moveToArchive: 'Move to Archive',restoreFromArchive: 'Restore from Archive',diff --git a/web/src/locales/ru.ts b/web/src/locales/ru.tsindex 5e70703..c127944 100644--- a/web/src/locales/ru.ts+++ b/web/src/locales/ru.ts@@ -103,6 +103,8 @@ export default {graph: 'Граф',collaboration: 'Совместная работа',integrations: 'Интеграции',+ webhooks: 'Вебхуки',+ timeReports: 'Отчёты по времени',edit: 'Редактировать',moveToArchive: 'В архив',restoreFromArchive: 'Восстановить из архива',