feat: add guided project workflow panel (Discuss → Plan → Execute → Verify)

This commit is contained in:
2026-03-07 00:17:38 -08:00
committed by Naomi Carrigan
parent 987598a47c
commit 7911d67d0d
4 changed files with 1323 additions and 0 deletions
+26
View File
@@ -23,6 +23,7 @@
import PrdPanel from "./PrdPanel.svelte";
import ChangelogPanel from "./ChangelogPanel.svelte";
import TaskLoopPanel from "./TaskLoopPanel.svelte";
import WorkflowPanel from "./WorkflowPanel.svelte";
import { injectTextStore } from "$lib/stores/projectContext";
const DISCORD_URL = "https://chat.nhcarrigan.com";
@@ -67,6 +68,7 @@
let showPrdPanel = $state(false);
let showChangelog = $state(false);
let showTaskLoop = $state(false);
let showWorkflowPanel = $state(false);
const progress = $derived($achievementProgress);
const activeAgentCount = $derived($runningAgentCount);
@@ -245,6 +247,15 @@
<span>Task Loop</span>
</button>
<!-- Guided Workflow -->
<button onclick={menuAction(() => (showWorkflowPanel = true))} class="nav-item">
<svg class="w-5 h-5 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12h18" />
</svg>
<span>Guided Workflow</span>
</button>
<!-- File Editor -->
<button
onclick={menuAction(() => editorStore.toggleEditor())}
@@ -513,6 +524,21 @@
<TaskLoopPanel onClose={() => (showTaskLoop = false)} />
{/if}
{#if showWorkflowPanel}
<WorkflowPanel
onClose={() => (showWorkflowPanel = false)}
onOpenPrdPanel={() => {
showWorkflowPanel = false;
showPrdPanel = true;
}}
onOpenTaskLoop={() => {
showWorkflowPanel = false;
showTaskLoop = true;
}}
workingDirectory={workingDirectory || selectedDirectory}
/>
{/if}
<style>
.nav-item {
display: flex;