@industry-theme/principal-view-panels 0.11.14 → 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":"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,CAggC7D,CAAC"}
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"}
@@ -100752,6 +100752,12 @@ const TraceListPanel = ({
100752
100752
  };
100753
100753
  const handleWorkflowClick = (trace, storyboardId, scenarioId) => {
100754
100754
  var _a;
100755
+ console.log("[TraceListPanel] handleWorkflowClick called:", {
100756
+ storyboardId,
100757
+ scenarioId,
100758
+ traceId: trace.traceId,
100759
+ hasEvents: !!events
100760
+ });
100755
100761
  if (!events) return;
100756
100762
  let fullWorkflowTemplate;
100757
100763
  let workflowId;
@@ -100793,31 +100799,33 @@ const TraceListPanel = ({
100793
100799
  storyboardName = match.storyboardName;
100794
100800
  }
100795
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);
100796
100824
  events.emit({
100797
100825
  type: "custom",
100798
100826
  source: "trace-list-panel",
100799
100827
  timestamp: Date.now(),
100800
- payload: {
100801
- action: "openCanvas",
100802
- // Canvas data
100803
- canvasId,
100804
- canvasPath,
100805
- canvas: canvasId ? { id: canvasId, path: canvasPath, name: canvasName } : void 0,
100806
- // Workflow data
100807
- workflowId: workflowId || storyboardId,
100808
- workflowPath,
100809
- workflow: fullWorkflowTemplate,
100810
- // Open mode - detail to show workflow scenarios
100811
- openMode: "detail",
100812
- // Storyboard data
100813
- storyboardId,
100814
- storyboardName,
100815
- // Scenario data (for highlighting specific scenario)
100816
- scenarioId,
100817
- // Trace data (for context)
100818
- trace,
100819
- traceId: trace.traceId
100820
- }
100828
+ payload: eventPayload
100821
100829
  });
100822
100830
  };
100823
100831
  const handleSchematicNodeClick = (node2) => {