panopticon-cli 0.5.11 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
})();
|
|
19
19
|
</script>
|
|
20
|
-
<script type="module" crossorigin src="/assets/index-
|
|
21
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
20
|
+
<script type="module" crossorigin src="/assets/index-1JCfIrrL.js"></script>
|
|
21
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CQP4k8nD.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body class="bg-surface text-content transition-colors duration-150">
|
|
24
24
|
<div id="root"></div>
|
package/dist/dashboard/server.js
CHANGED
|
@@ -181842,6 +181842,20 @@ app.post("/api/specialists/done", async (req, res) => {
|
|
|
181842
181842
|
itemId: updatedItemId,
|
|
181843
181843
|
status: "completed"
|
|
181844
181844
|
});
|
|
181845
|
+
const updatedDoc = readWorkspacePlan(workspacePath);
|
|
181846
|
+
const updatedItem = updatedDoc?.plan.items.find((i) => i.id === updatedItemId);
|
|
181847
|
+
if (updatedItem?.subItems) {
|
|
181848
|
+
for (const sub of updatedItem.subItems) {
|
|
181849
|
+
if (sub.metadata?.kind === "acceptance_criterion" && sub.status === "completed") {
|
|
181850
|
+
socketIo.emit("plan:subitem-status-changed", {
|
|
181851
|
+
issueId: normalizedIssueId,
|
|
181852
|
+
itemId: updatedItemId,
|
|
181853
|
+
subItemId: sub.id,
|
|
181854
|
+
status: "completed"
|
|
181855
|
+
});
|
|
181856
|
+
}
|
|
181857
|
+
}
|
|
181858
|
+
}
|
|
181845
181859
|
try {
|
|
181846
181860
|
const unblockedItems = getUnblockedItems(workspacePath, updatedItemId);
|
|
181847
181861
|
if (unblockedItems.length > 0) {
|