@w6w/ui 0.2.69 → 0.2.70
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/CHANGELOG.md +5 -0
- package/dist/components/ExecutionFilters.d.ts +10 -1
- package/dist/components/ExecutionList.d.ts +4 -0
- package/dist/components/ExecutionLogPanel.d.ts +8 -0
- package/dist/{connection-app-meta-CDnfX_dN.js → connection-app-meta-BmmWB5fn.js} +2 -2
- package/dist/connection-app-meta-BmmWB5fn.js.map +1 -0
- package/dist/{connection-app-meta-ChRGxZex.cjs → connection-app-meta-CQ85y_6M.cjs} +3 -3
- package/dist/connection-app-meta-CQ85y_6M.cjs.map +1 -0
- package/dist/flow.cjs +6 -6
- package/dist/flow.cjs.map +1 -1
- package/dist/flow.mjs +21 -3
- package/dist/flow.mjs.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1974 -1857
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/_execution-history.scss +19 -0
- package/src/styles/_execution-log-view.scss +77 -8
- package/src/styles/_execution-log.scss +13 -1
- package/src/styles.css +116 -9
- package/dist/connection-app-meta-CDnfX_dN.js.map +0 -1
- package/dist/connection-app-meta-ChRGxZex.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.70
|
|
4
|
+
|
|
5
|
+
- **History names each run's trigger:** `ExecutionListItem.triggerLabel` renders as a chip on the row's first line (the raw `Event · <node id>` becomes its tooltip), and `ExecutionFilters` takes `triggerOptions` for an "Any trigger" select. `@w6w/embed` 0.2.34 fills both from the workflow's trigger nodes, so a workflow with several triggers can review each one's runs and stats.
|
|
6
|
+
- The trigger-registration error under a trigger node is clamped to two lines (full text on hover) instead of widening the node across the canvas.
|
|
7
|
+
|
|
3
8
|
## 0.2.69
|
|
4
9
|
|
|
5
10
|
- **Text and Number steps:** Text (`@w6w/string`) and Number (`@w6w/number`) in the step picker; search also matches technical names (regex, levenshtein, soundex, slugify, pii, …). Regex is hidden from the palette (Text replaces it); existing Regex steps still resolve.
|
|
@@ -22,6 +22,13 @@ export interface ExecutionFilterValue {
|
|
|
22
22
|
/** Free-text query. D3: the server matches execution id + callable name/key,
|
|
23
23
|
* never payload JSON. */
|
|
24
24
|
q: string;
|
|
25
|
+
/** Which trigger started the run — one of `triggerOptions`' values, `""`/omitted for any. */
|
|
26
|
+
trigger?: string;
|
|
27
|
+
}
|
|
28
|
+
/** One entry of the trigger filter: the host's own value and the trigger's display name. */
|
|
29
|
+
export interface ExecutionTriggerOption {
|
|
30
|
+
value: string;
|
|
31
|
+
label: string;
|
|
25
32
|
}
|
|
26
33
|
export interface ExecutionFiltersProps {
|
|
27
34
|
/** The current filter state — rendered verbatim, never re-derived. */
|
|
@@ -40,6 +47,8 @@ export interface ExecutionFiltersProps {
|
|
|
40
47
|
/** `true` ⇒ every control (the clear button included) renders disabled — the
|
|
41
48
|
* state a host uses while a request is already in flight. */
|
|
42
49
|
disabled?: boolean;
|
|
50
|
+
/** Supplied and non-empty ⇒ an "Any trigger" select listing these (a workflow's triggers). */
|
|
51
|
+
triggerOptions?: ExecutionTriggerOption[];
|
|
43
52
|
}
|
|
44
53
|
/**
|
|
45
54
|
* The history view's filter/search bar: free text, status, (optionally) kind,
|
|
@@ -56,4 +65,4 @@ export interface ExecutionFiltersProps {
|
|
|
56
65
|
* date pickers) with no room for a label per control, so the accessible name is
|
|
57
66
|
* what tells them apart.
|
|
58
67
|
*/
|
|
59
|
-
export declare function ExecutionFilters({ value, onChange, showKind, searchPlaceholder, disabled, }: ExecutionFiltersProps): import("react").JSX.Element;
|
|
68
|
+
export declare function ExecutionFilters({ value, onChange, showKind, searchPlaceholder, disabled, triggerOptions, }: ExecutionFiltersProps): import("react").JSX.Element;
|
|
@@ -27,6 +27,10 @@ export interface ExecutionListItem {
|
|
|
27
27
|
trigger?: string | null;
|
|
28
28
|
/** The trigger node the run entered through, shown beside the trigger. */
|
|
29
29
|
triggerNodeId?: string | null;
|
|
30
|
+
/** The trigger's display name (`Cohost · Channel Changed`), resolved by the host from the
|
|
31
|
+
* workflow's definition. Given ⇒ shown as a chip on the row's first line instead of the raw
|
|
32
|
+
* `Event · <node id>` segment. */
|
|
33
|
+
triggerLabel?: string | null;
|
|
30
34
|
/** The start of the run's input as JSON text, shown as a one-line snippet. `null`/omitted ⇒
|
|
31
35
|
* no snippet. */
|
|
32
36
|
inputPreview?: string | null;
|
|
@@ -8,6 +8,14 @@ export interface ExecutionLogNode {
|
|
|
8
8
|
trigger?: boolean;
|
|
9
9
|
appName?: string;
|
|
10
10
|
actionName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* A registered app's icon (`AppSummary.iconSvg`/`iconSvgDark`/`brandColor`), so the run log
|
|
13
|
+
* shows the same mark the canvas does. A built-in `@w6w/*` node needs none: its glyph comes
|
|
14
|
+
* from its own definition. Absent on a registered app ⇒ the initials tile.
|
|
15
|
+
*/
|
|
16
|
+
iconSvg?: string;
|
|
17
|
+
iconSvgDark?: string;
|
|
18
|
+
brandColor?: string;
|
|
11
19
|
}
|
|
12
20
|
/** A node's kind and display names, a built-in `@w6w/*` node resolved from its own definition. */
|
|
13
21
|
export declare function describeNode(node: ExecutionLogNode): {
|
|
@@ -919,7 +919,7 @@ const Dl = '<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" />', jo = '
|
|
|
919
919
|
}
|
|
920
920
|
]
|
|
921
921
|
}
|
|
922
|
-
], tc = '<rect x="3" y="4" width="18" height="17" rx="2" /><line x1="3" y1="9" x2="21" y2="9" /><line x1="8" y1="2.5" x2="8" y2="6" /><line x1="16" y1="2.5" x2="16" y2="6" /><polyline points="12 12 12 15.5 14.5 17" />', nc = '<rect x="5" y="11" width="14" height="10" rx="2" /><path d="M8 11V7a4 4 0 0 1 8 0v4" /><line x1="12" y1="15" x2="12" y2="17" />', sc = '<line x1="9" y1="6" x2="20" y2="6" /><line x1="9" y1="12" x2="20" y2="12" /><line x1="9" y1="18" x2="20" y2="18" /><circle cx="4.5" cy="6" r="1" /><circle cx="4.5" cy="12" r="1" /><circle cx="4.5" cy="18" r="1" />', tr = "An ISO 8601 date or date-time (with or without an offset), an RFC 2822 / HTTP date, or an epoch number: below 100,000,000,000 it is seconds, otherwise milliseconds. A date without an offset is read in the time zone.", qo = "yyyy yy (year), MMMM MMM MM M (month), dd d (day), EEEE EEE (weekday), HH H (hour 0-23), hh h (hour 1-12), mm m (minute), ss s (second), SSS (milliseconds), a (AM/PM), XXX (offset, Z for UTC), xxx (+02:00), xx (+0200), VV (zone name), Q (quarter), ww w (ISO week). Put literal letters in single quotes, e.g. yyyy-MM-dd'T'HH:mm.", Et = (e) => ({
|
|
922
|
+
], tc = '<rect x="3" y="4" width="18" height="17" rx="2" /><line x1="3" y1="9" x2="21" y2="9" /><line x1="8" y1="2.5" x2="8" y2="6" /><line x1="16" y1="2.5" x2="16" y2="6" /><polyline points="12 12 12 15.5 14.5 17" />', nc = '<rect x="5" y="11" width="14" height="10" rx="2" /><path d="M8 11V7a4 4 0 0 1 8 0v4" /><line x1="12" y1="15" x2="12" y2="17" />', sc = '<line x1="9" y1="6" x2="20" y2="6" /><line x1="9" y1="12" x2="20" y2="12" /><line x1="9" y1="18" x2="20" y2="18" /><circle cx="4.5" cy="6" r="1" /><circle cx="4.5" cy="12" r="1" /><circle cx="4.5" cy="18" r="1" />', tr = "An ISO 8601 date or date-time (with or without an offset), an RFC 2822 / HTTP date, or an epoch number: below 100,000,000,000 it is seconds, otherwise milliseconds. A date without an offset is read in the time zone. Leave empty, or write now, for the current time.", qo = "yyyy yy (year), MMMM MMM MM M (month), dd d (day), EEEE EEE (weekday), HH H (hour 0-23), hh h (hour 1-12), mm m (minute), ss s (second), SSS (milliseconds), a (AM/PM), XXX (offset, Z for UTC), xxx (+02:00), xx (+0200), VV (zone name), Q (quarter), ww w (ISO week). Put literal letters in single quotes, e.g. yyyy-MM-dd'T'HH:mm.", Et = (e) => ({
|
|
923
923
|
key: "timezone",
|
|
924
924
|
label: "Time zone",
|
|
925
925
|
type: "string",
|
|
@@ -17946,4 +17946,4 @@ export {
|
|
|
17946
17946
|
om as y,
|
|
17947
17947
|
Te as z
|
|
17948
17948
|
};
|
|
17949
|
-
//# sourceMappingURL=connection-app-meta-
|
|
17949
|
+
//# sourceMappingURL=connection-app-meta-BmmWB5fn.js.map
|