@industry-theme/principal-view-panels 0.11.13 → 0.11.15
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":"TraceExpansion.d.ts","sourceRoot":"","sources":["../../src/components/TraceExpansion.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAmBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"TraceExpansion.d.ts","sourceRoot":"","sources":["../../src/components/TraceExpansion.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAmBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6OxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TraceListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TraceListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAezD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"TraceListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TraceListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAezD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAwgC7D,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -99707,9 +99707,20 @@ const TraceExpansion = ({
|
|
|
99707
99707
|
"div",
|
|
99708
99708
|
{
|
|
99709
99709
|
onClick: () => {
|
|
99710
|
-
|
|
99710
|
+
console.log("[TraceExpansion] Span clicked:", {
|
|
99711
|
+
type: span.type,
|
|
99712
|
+
spanName: span.spanName,
|
|
99713
|
+
storyboardId: span.storyboardId,
|
|
99714
|
+
scenarioId: span.scenarioId,
|
|
99715
|
+
target: span.target,
|
|
99716
|
+
isMatchedOrOrphaned,
|
|
99717
|
+
hasOnWorkflowClick: !!onWorkflowClick,
|
|
99718
|
+
willOpenWorkflow: isMatchedOrOrphaned && !!span.storyboardId && !!onWorkflowClick
|
|
99719
|
+
});
|
|
99711
99720
|
if (isMatchedOrOrphaned && span.storyboardId && onWorkflowClick) {
|
|
99712
99721
|
onWorkflowClick(span.storyboardId, span.scenarioId || "");
|
|
99722
|
+
} else {
|
|
99723
|
+
onSpanClick == null ? void 0 : onSpanClick();
|
|
99713
99724
|
}
|
|
99714
99725
|
},
|
|
99715
99726
|
style: {
|
|
@@ -100741,6 +100752,12 @@ const TraceListPanel = ({
|
|
|
100741
100752
|
};
|
|
100742
100753
|
const handleWorkflowClick = (trace, storyboardId, scenarioId) => {
|
|
100743
100754
|
var _a;
|
|
100755
|
+
console.log("[TraceListPanel] handleWorkflowClick called:", {
|
|
100756
|
+
storyboardId,
|
|
100757
|
+
scenarioId,
|
|
100758
|
+
traceId: trace.traceId,
|
|
100759
|
+
hasEvents: !!events
|
|
100760
|
+
});
|
|
100744
100761
|
if (!events) return;
|
|
100745
100762
|
let fullWorkflowTemplate;
|
|
100746
100763
|
let workflowId;
|
|
@@ -100782,31 +100799,33 @@ const TraceListPanel = ({
|
|
|
100782
100799
|
storyboardName = match.storyboardName;
|
|
100783
100800
|
}
|
|
100784
100801
|
}
|
|
100802
|
+
const eventPayload = {
|
|
100803
|
+
action: "openCanvas",
|
|
100804
|
+
// Canvas data
|
|
100805
|
+
canvasId,
|
|
100806
|
+
canvasPath,
|
|
100807
|
+
canvas: canvasId ? { id: canvasId, path: canvasPath, name: canvasName } : void 0,
|
|
100808
|
+
// Workflow data
|
|
100809
|
+
workflowId: workflowId || storyboardId,
|
|
100810
|
+
workflowPath,
|
|
100811
|
+
workflow: fullWorkflowTemplate,
|
|
100812
|
+
// Open mode - detail to show workflow scenarios
|
|
100813
|
+
openMode: "detail",
|
|
100814
|
+
// Storyboard data
|
|
100815
|
+
storyboardId,
|
|
100816
|
+
storyboardName,
|
|
100817
|
+
// Scenario data (for highlighting specific scenario)
|
|
100818
|
+
scenarioId,
|
|
100819
|
+
// Trace data (for context)
|
|
100820
|
+
trace,
|
|
100821
|
+
traceId: trace.traceId
|
|
100822
|
+
};
|
|
100823
|
+
console.log("[TraceListPanel] Emitting openCanvas event:", eventPayload);
|
|
100785
100824
|
events.emit({
|
|
100786
100825
|
type: "custom",
|
|
100787
100826
|
source: "trace-list-panel",
|
|
100788
100827
|
timestamp: Date.now(),
|
|
100789
|
-
payload:
|
|
100790
|
-
action: "openCanvas",
|
|
100791
|
-
// Canvas data
|
|
100792
|
-
canvasId,
|
|
100793
|
-
canvasPath,
|
|
100794
|
-
canvas: canvasId ? { id: canvasId, path: canvasPath, name: canvasName } : void 0,
|
|
100795
|
-
// Workflow data
|
|
100796
|
-
workflowId: workflowId || storyboardId,
|
|
100797
|
-
workflowPath,
|
|
100798
|
-
workflow: fullWorkflowTemplate,
|
|
100799
|
-
// Open mode - detail to show workflow scenarios
|
|
100800
|
-
openMode: "detail",
|
|
100801
|
-
// Storyboard data
|
|
100802
|
-
storyboardId,
|
|
100803
|
-
storyboardName,
|
|
100804
|
-
// Scenario data (for highlighting specific scenario)
|
|
100805
|
-
scenarioId,
|
|
100806
|
-
// Trace data (for context)
|
|
100807
|
-
trace,
|
|
100808
|
-
traceId: trace.traceId
|
|
100809
|
-
}
|
|
100828
|
+
payload: eventPayload
|
|
100810
100829
|
});
|
|
100811
100830
|
};
|
|
100812
100831
|
const handleSchematicNodeClick = (node2) => {
|