fix(plan): move Applicable Rules panel to TaskEditorView (the routed task surface)

This commit is contained in:
2026-05-28 10:43:41 -04:00
parent 75d3d40038
commit b30cf06096
2 changed files with 7 additions and 7 deletions
+7
View File
@@ -25,6 +25,7 @@ import DiffView from "@/components/DiffView.vue";
import ConfirmDialog from "@/components/ConfirmDialog.vue";
import VersionHistorySection from "@/components/VersionHistorySection.vue";
import RecurrenceEditor from "@/components/RecurrenceEditor.vue";
import PlanRulesPanel from "@/components/rules/PlanRulesPanel.vue";
import { Trash2 } from "lucide-vue-next";
const route = useRoute();
@@ -514,6 +515,12 @@ useEditorGuards(dirty, save);
<!-- Work log -->
<TaskLogSection v-if="taskId" :task-id="taskId" class="body-log" />
<!-- Applicable rules (plan tasks only) -->
<PlanRulesPanel
v-if="store.currentTask?.task_kind === 'plan' && store.currentTask?.project_id"
:project-id="store.currentTask.project_id"
/>
</div>
<!-- Sidebar -->