feat(plan): plan-task viewer shows Applicable Rules panel

This commit is contained in:
2026-05-28 10:42:03 -04:00
parent 1d5f49fe3b
commit 75d3d40038
2 changed files with 74 additions and 0 deletions
+7
View File
@@ -10,6 +10,7 @@ import type { Note } from "@/types/note";
import type { TaskStatus } from "@/types/task";
import StatusBadge from "@/components/StatusBadge.vue";
import PriorityBadge from "@/components/PriorityBadge.vue";
import PlanRulesPanel from "@/components/rules/PlanRulesPanel.vue";
import TagPill from "@/components/TagPill.vue";
import TableOfContents from "@/components/TableOfContents.vue";
import ShareDialog from "@/components/ShareDialog.vue";
@@ -379,6 +380,12 @@ const subTaskProgress = computed(() => {
@click="onBodyClick"
></div>
<!-- Applicable rules (plan tasks only) -->
<PlanRulesPanel
v-if="store.currentTask.task_kind === 'plan' && store.currentTask.project_id"
:project-id="store.currentTask.project_id"
/>
<!-- Sub-tasks -->
<div v-if="subTasks.length" class="subtasks">
<div class="subtasks-header">