@industry-theme/principal-view-panels 0.1.55 → 0.2.0
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.
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/CanvasDetailPanel.d.ts +31 -0
- package/dist/panels/CanvasDetailPanel.d.ts.map +1 -0
- package/dist/panels/CanvasDetailPanel.stories.d.ts +50 -0
- package/dist/panels/CanvasDetailPanel.stories.d.ts.map +1 -0
- package/dist/panels/{PrincipalViewGraphPanel.d.ts → CanvasEditorPanel.d.ts} +2 -2
- package/dist/panels/CanvasEditorPanel.d.ts.map +1 -0
- package/dist/panels/{PrincipalViewGraphPanel.stories.d.ts → CanvasEditorPanel.stories.d.ts} +2 -2
- package/dist/panels/CanvasEditorPanel.stories.d.ts.map +1 -0
- package/dist/panels/CanvasListPanel.d.ts +13 -0
- package/dist/panels/CanvasListPanel.d.ts.map +1 -0
- package/dist/panels/CanvasListPanel.stories.d.ts +47 -0
- package/dist/panels/CanvasListPanel.stories.d.ts.map +1 -0
- package/dist/panels/canvas-list/components/CanvasCard.d.ts +13 -0
- package/dist/panels/canvas-list/components/CanvasCard.d.ts.map +1 -0
- package/dist/panels/canvas-list/hooks/useCanvasData.d.ts +17 -0
- package/dist/panels/canvas-list/hooks/useCanvasData.d.ts.map +1 -0
- package/dist/panels/execution-viewer/ExecutionLoader.d.ts +3 -1
- package/dist/panels/execution-viewer/ExecutionLoader.d.ts.map +1 -1
- package/dist/panels/execution-viewer/NarrativeRenderer.d.ts.map +1 -1
- package/dist/panels/execution-viewer/NarrativeTemplatePanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +1106 -541
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +1 -1
- package/dist/panels/ExecutionViewerPanel.d.ts +0 -11
- package/dist/panels/ExecutionViewerPanel.d.ts.map +0 -1
- package/dist/panels/ExecutionViewerPanel.stories.d.ts +0 -77
- package/dist/panels/ExecutionViewerPanel.stories.d.ts.map +0 -1
- package/dist/panels/PrincipalViewGraphPanel.d.ts.map +0 -1
- package/dist/panels/PrincipalViewGraphPanel.stories.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@industry-theme/principal-view-panels",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Principal View Graph Panels for visualizing graph configurations from .principal-views/ folder as interactive diagrams",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/panels.bundle.js",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PanelComponentProps } from '@principal-ade/panel-framework-core';
|
|
3
|
-
export type ViewMode = 'raw' | 'narrative';
|
|
4
|
-
/**
|
|
5
|
-
* Execution Viewer Panel
|
|
6
|
-
*
|
|
7
|
-
* Displays execution artifacts (test runs, traces) overlaid on their corresponding canvas diagrams.
|
|
8
|
-
* Reads execution files from __executions__/ directories and automatically links them to canvas files.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ExecutionViewerPanel: React.FC<PanelComponentProps>;
|
|
11
|
-
//# sourceMappingURL=ExecutionViewerPanel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutionViewerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ExecutionViewerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAuB/E,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,WAAW,CAAC;AA4B3C;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgkC9D,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* ExecutionViewerPanel Component
|
|
5
|
-
*
|
|
6
|
-
* Visualizes execution artifacts (test runs) overlaid on canvas diagrams.
|
|
7
|
-
* It discovers execution artifact files from __executions__/ directories.
|
|
8
|
-
*
|
|
9
|
-
* Features:
|
|
10
|
-
* - Auto-discovery of execution artifacts from __executions__/ directories
|
|
11
|
-
* - Automatic linking to matching canvas files
|
|
12
|
-
* - Event playback with timeline controls
|
|
13
|
-
* - Side-by-side canvas and event visualization
|
|
14
|
-
* - Package badges for monorepo support
|
|
15
|
-
* - Metadata display (spans, events, framework, status)
|
|
16
|
-
*/
|
|
17
|
-
declare const meta: {
|
|
18
|
-
title: string;
|
|
19
|
-
component: React.FC<import("@principal-ade/panel-framework-core").PanelComponentProps>;
|
|
20
|
-
parameters: {
|
|
21
|
-
layout: string;
|
|
22
|
-
docs: {
|
|
23
|
-
description: {
|
|
24
|
-
component: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
tags: string[];
|
|
29
|
-
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
30
|
-
context: import("@principal-ade/panel-framework-core").PanelContextValue;
|
|
31
|
-
actions: import("@principal-ade/panel-framework-core").PanelActions;
|
|
32
|
-
events: import("@principal-ade/panel-framework-core").PanelEventEmitter;
|
|
33
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
34
|
-
};
|
|
35
|
-
export default meta;
|
|
36
|
-
type Story = StoryObj<typeof meta>;
|
|
37
|
-
/**
|
|
38
|
-
* Basic execution viewer with single execution artifact
|
|
39
|
-
*/
|
|
40
|
-
export declare const SingleExecution: Story;
|
|
41
|
-
/**
|
|
42
|
-
* Multiple execution artifacts from different packages
|
|
43
|
-
*/
|
|
44
|
-
export declare const MultipleExecutions: Story;
|
|
45
|
-
/**
|
|
46
|
-
* Execution with error status
|
|
47
|
-
*/
|
|
48
|
-
export declare const ExecutionWithError: Story;
|
|
49
|
-
/**
|
|
50
|
-
* No execution artifacts found
|
|
51
|
-
*/
|
|
52
|
-
export declare const NoExecutions: Story;
|
|
53
|
-
/**
|
|
54
|
-
* Execution without matching canvas
|
|
55
|
-
*/
|
|
56
|
-
export declare const ExecutionWithoutCanvas: Story;
|
|
57
|
-
/**
|
|
58
|
-
* Real-world Jira breakdown agent execution
|
|
59
|
-
* Uses actual execution data from the observability project
|
|
60
|
-
*/
|
|
61
|
-
export declare const JiraBreakdownAgent: Story;
|
|
62
|
-
/**
|
|
63
|
-
* Step 1: Canvas Only
|
|
64
|
-
* Shows just the canvas visualization without execution data or narratives
|
|
65
|
-
*/
|
|
66
|
-
export declare const ProgressiveStep1CanvasOnly: Story;
|
|
67
|
-
/**
|
|
68
|
-
* Step 2: Canvas + Narrative Template
|
|
69
|
-
* Adds narrative template but no execution data yet
|
|
70
|
-
*/
|
|
71
|
-
export declare const ProgressiveStep2CanvasAndNarrative: Story;
|
|
72
|
-
/**
|
|
73
|
-
* Step 3: Canvas + Narrative + Execution Data
|
|
74
|
-
* Complete setup with canvas, narrative template, and actual execution spans
|
|
75
|
-
*/
|
|
76
|
-
export declare const ProgressiveStep3FullSetup: Story;
|
|
77
|
-
//# sourceMappingURL=ExecutionViewerPanel.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutionViewerPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/ExecutionViewerPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAsBmC,CAAC;AAE9C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA2LnC;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAwB7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAoChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,KA2ChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAkB1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAkBpC,CAAC;AAuYF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAwBhC,CAAC;AAmDF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,KAkBxC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,KAwBhD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,KA8BvC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrincipalViewGraphPanel.d.ts","sourceRoot":"","sources":["../../src/panels/PrincipalViewGraphPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAuC/E;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmnCjE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrincipalViewGraphPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/PrincipalViewGraphPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAsBsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,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