diff --git a/src/mapper/src/lib/components/more/index.svelte b/src/mapper/src/lib/components/more/index.svelte index e95566cb31..bb826caefc 100644 --- a/src/mapper/src/lib/components/more/index.svelte +++ b/src/mapper/src/lib/components/more/index.svelte @@ -2,11 +2,17 @@ import Editor from '$lib/components/editor/editor.svelte'; import Comment from '$lib/components/more/comment.svelte'; import Activities from '$lib/components/more/activities.svelte'; + import ProjectInfo from '$lib/components/more/project-info.svelte'; import { getTaskStore } from '$store/tasks.svelte.ts'; import type { ProjectData, TaskEventType } from '$lib/types'; - type stackType = '' | 'Comment' | 'Instructions' | 'Activities'; + type stackType = '' | 'Comment' | 'Instructions' | 'Activities' | 'Project Information'; + const stackGroup: { icon: string; title: stackType }[] = [ + { + icon: 'info-circle', + title: 'Project Information', + }, { icon: 'chat', title: 'Comment', @@ -24,7 +30,7 @@ type Props = { projectData: ProjectData; zoomToTask: (taskId: number) => void; - } + }; let { projectData, zoomToTask }: Props = $props(); const taskStore = getTaskStore(); @@ -88,15 +94,22 @@
{/if} + {#if activeStack === 'Comment'}No Instructions
+