@industry-theme/principal-view-panels 0.11.30 → 0.11.31
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryboardListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/StoryboardListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAqE9D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"StoryboardListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/StoryboardListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAqE9D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAyuBvE,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -99646,7 +99646,7 @@ const StoryboardListPanel = ({
|
|
|
99646
99646
|
return filteredStoryboards.map((storyboard) => storyboard.canvas);
|
|
99647
99647
|
}, [filteredStoryboards]);
|
|
99648
99648
|
const handleTreeNodeClick = useCallback((node2) => {
|
|
99649
|
-
var _a, _b, _c;
|
|
99649
|
+
var _a, _b, _c, _d;
|
|
99650
99650
|
if (node2.type === "overview" && node2.markdownPath) {
|
|
99651
99651
|
const canvasId = ((_a = node2.canvas) == null ? void 0 : _a.id) || "storyboard" in node2 && ((_c = (_b = node2.storyboard) == null ? void 0 : _b.canvas) == null ? void 0 : _c.id) || "unknown";
|
|
99652
99652
|
setSelectedNodeId(`overview:${canvasId}`);
|
|
@@ -99685,7 +99685,10 @@ const StoryboardListPanel = ({
|
|
|
99685
99685
|
var _a2;
|
|
99686
99686
|
return wf.file.path === ((_a2 = node2.workflow) == null ? void 0 : _a2.path);
|
|
99687
99687
|
});
|
|
99688
|
-
|
|
99688
|
+
if (!fullWorkflow) {
|
|
99689
|
+
console.warn("[StoryboardListPanel] Workflow template not loaded for:", (_d = node2.workflow) == null ? void 0 : _d.path);
|
|
99690
|
+
return;
|
|
99691
|
+
}
|
|
99689
99692
|
events.emit({
|
|
99690
99693
|
type: "custom",
|
|
99691
99694
|
source: "storyboard-list-panel",
|
|
@@ -99696,8 +99699,7 @@ const StoryboardListPanel = ({
|
|
|
99696
99699
|
canvas: node2.storyboard.canvas,
|
|
99697
99700
|
canvasFileInfo,
|
|
99698
99701
|
workflowId: node2.workflow.id,
|
|
99699
|
-
workflow:
|
|
99700
|
-
// Send full template with scenarios and description
|
|
99702
|
+
workflow: fullWorkflow.template,
|
|
99701
99703
|
workflowFileInfo,
|
|
99702
99704
|
openMode: "detail"
|
|
99703
99705
|
// Indicates canvas detail should be opened
|
|
@@ -101649,7 +101651,7 @@ const TraceListPanel = ({
|
|
|
101649
101651
|
"button",
|
|
101650
101652
|
{
|
|
101651
101653
|
onClick: () => setActiveTab("schematics"),
|
|
101652
|
-
title: "
|
|
101654
|
+
title: "Storyboards",
|
|
101653
101655
|
style: {
|
|
101654
101656
|
flex: 1,
|
|
101655
101657
|
height: "100%",
|
|
@@ -101669,7 +101671,7 @@ const TraceListPanel = ({
|
|
|
101669
101671
|
justifyContent: "center",
|
|
101670
101672
|
gap: "6px"
|
|
101671
101673
|
},
|
|
101672
|
-
children: isCompactTabs ? /* @__PURE__ */ jsx(GitBranch, { size: 16 }) : "
|
|
101674
|
+
children: isCompactTabs ? /* @__PURE__ */ jsx(GitBranch, { size: 16 }) : "Storyboards"
|
|
101673
101675
|
}
|
|
101674
101676
|
)
|
|
101675
101677
|
]
|