@w6w/ui 0.2.67 → 0.2.68
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 +8 -0
- package/dist/{CodeBlock-C1IC5_6O.cjs → CodeBlock-85y9qvE3.cjs} +4 -4
- package/dist/{CodeBlock-C1IC5_6O.cjs.map → CodeBlock-85y9qvE3.cjs.map} +1 -1
- package/dist/{CodeBlock-CsdRXzb0.js → CodeBlock-a5QVaIGk.js} +158 -131
- package/dist/{CodeBlock-CsdRXzb0.js.map → CodeBlock-a5QVaIGk.js.map} +1 -1
- package/dist/NodeConfigForm.d.ts +8 -2
- package/dist/StepBuilderModal.d.ts +2 -0
- package/dist/code.cjs +1 -1
- package/dist/code.mjs +1 -1
- package/dist/components/ExecutionLogDock.d.ts +44 -0
- package/dist/components/ExecutionLogPanel.d.ts +66 -0
- package/dist/components/ExecutionLogView.d.ts +30 -0
- package/dist/components/icons.d.ts +1 -1
- package/dist/connection-app-meta-DID4zDg-.cjs +29 -0
- package/dist/connection-app-meta-DID4zDg-.cjs.map +1 -0
- package/dist/{connection-app-meta-DEC0n4PA.js → connection-app-meta-mmyKM3H9.js} +4606 -3725
- package/dist/connection-app-meta-mmyKM3H9.js.map +1 -0
- package/dist/flow-types.d.ts +25 -1
- package/dist/flow.cjs +7 -5
- package/dist/flow.cjs.map +1 -1
- package/dist/flow.mjs +1119 -980
- package/dist/flow.mjs.map +1 -1
- package/dist/form-schema.d.ts +34 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.mjs +1683 -1313
- package/dist/index.mjs.map +1 -1
- package/dist/provider.d.ts +2 -0
- package/package.json +2 -2
- package/src/styles/_execution-log-view.scss +322 -0
- package/src/styles/_form-builder.scss +13 -0
- package/src/styles.css +335 -0
- package/src/styles.scss +1 -0
- package/dist/connection-app-meta-DEC0n4PA.js.map +0 -1
- package/dist/connection-app-meta-Dk6F3KEH.cjs +0 -29
- package/dist/connection-app-meta-Dk6F3KEH.cjs.map +0 -1
package/dist/provider.d.ts
CHANGED
|
@@ -396,6 +396,8 @@ export interface W6WApi {
|
|
|
396
396
|
* webhook node's `url`) as on a run. The host reads only the caller's own workflows.
|
|
397
397
|
*/
|
|
398
398
|
workflowId?: string;
|
|
399
|
+
/** Per-call time limit in ms; absent = the server default. */
|
|
400
|
+
timeoutMs?: number;
|
|
399
401
|
}): Promise<{
|
|
400
402
|
value: unknown;
|
|
401
403
|
logs?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w6w/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.68",
|
|
4
4
|
"description": "React components for w6w — central API management. Build plugins, apps and integrations on them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://w6w.io",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@codemirror/state": "^6.5.0",
|
|
73
73
|
"@codemirror/view": "^6.35.0",
|
|
74
74
|
"@uiw/react-codemirror": "^4.23.7",
|
|
75
|
-
"@w6w/expr": "^0.1.
|
|
75
|
+
"@w6w/expr": "^0.1.7",
|
|
76
76
|
"@xyflow/react": "^12.3.6",
|
|
77
77
|
"prism-react-renderer": "^2.4.1",
|
|
78
78
|
"react-markdown": "^10.1.0",
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
/* --- ExecutionLogView: a run's log as two columns ------------------------- */
|
|
2
|
+
/* Left: the steps in execution order. Right: the picked step's timing, error, input and output.
|
|
3
|
+
The view fills its host's box (a docked panel, a floating window, a page) and each column
|
|
4
|
+
scrolls on its own, so a long step list never pushes the detail out of view. */
|
|
5
|
+
.w6w-log-view {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
height: 100%;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.w6w-log-view-is-empty {
|
|
14
|
+
gap: var(--w6w-sp-3);
|
|
15
|
+
padding: var(--w6w-sp-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.w6w-log-view-errors {
|
|
19
|
+
flex: 0 0 auto;
|
|
20
|
+
padding: var(--w6w-sp-2) var(--w6w-sp-3);
|
|
21
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
22
|
+
max-height: 30%;
|
|
23
|
+
overflow: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.w6w-log-view-cols {
|
|
27
|
+
display: grid;
|
|
28
|
+
grid-template-columns: minmax(200px, 30%) minmax(0, 1fr);
|
|
29
|
+
flex: 1 1 auto;
|
|
30
|
+
min-height: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.w6w-log-view-list-col {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: var(--w6w-sp-3);
|
|
37
|
+
min-height: 0;
|
|
38
|
+
overflow: auto;
|
|
39
|
+
padding: var(--w6w-sp-2);
|
|
40
|
+
border-right: 1px solid var(--w6w-border);
|
|
41
|
+
background: var(--w6w-panel-2);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.w6w-log-view-list {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: var(--w6w-sp-0-5);
|
|
48
|
+
list-style: none;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.w6w-log-view-item {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: var(--w6w-sp-2);
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: var(--w6w-sp-1-5) var(--w6w-sp-2);
|
|
59
|
+
border: 1px solid transparent;
|
|
60
|
+
border-radius: 6px;
|
|
61
|
+
background: transparent;
|
|
62
|
+
color: var(--w6w-text);
|
|
63
|
+
font: inherit;
|
|
64
|
+
text-align: left;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
}
|
|
67
|
+
.w6w-log-view-item:hover {
|
|
68
|
+
background: color-mix(in srgb, var(--w6w-text) 6%, transparent);
|
|
69
|
+
}
|
|
70
|
+
.w6w-log-view-item:focus-visible {
|
|
71
|
+
outline: 2px solid var(--w6w-accent);
|
|
72
|
+
outline-offset: -2px;
|
|
73
|
+
}
|
|
74
|
+
.w6w-log-view-item-selected,
|
|
75
|
+
.w6w-log-view-item-selected:hover {
|
|
76
|
+
background: var(--w6w-panel);
|
|
77
|
+
border-color: var(--w6w-border);
|
|
78
|
+
}
|
|
79
|
+
/* A failed step reads as failed in the list even before it is picked — the dot alone is colour,
|
|
80
|
+
and colour is never the only signal, so its label turns danger too. */
|
|
81
|
+
.w6w-log-view-item[data-status="failed"] .w6w-log-view-item-label {
|
|
82
|
+
color: var(--w6w-danger);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* The status dot reuses StepStatusPill's per-state colour (`--w6w-step-color`), not its shape. */
|
|
86
|
+
.w6w-log-view-dot {
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
width: 8px;
|
|
89
|
+
height: 8px;
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
background: var(--w6w-step-color);
|
|
92
|
+
}
|
|
93
|
+
.w6w-log-view-dot.w6w-step-pill-skipped {
|
|
94
|
+
background: transparent;
|
|
95
|
+
border: 1px dashed var(--w6w-step-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.w6w-log-view-item-title {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
flex: 1 1 auto;
|
|
102
|
+
min-width: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.w6w-log-view-item-label,
|
|
106
|
+
.w6w-log-view-item-uses {
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
text-overflow: ellipsis;
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.w6w-log-view-item-label {
|
|
113
|
+
font-size: var(--w6w-fs-sm);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.w6w-log-view-item-uses,
|
|
117
|
+
.w6w-log-view-item-time {
|
|
118
|
+
color: var(--w6w-muted);
|
|
119
|
+
font-size: var(--w6w-fs-xs);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.w6w-log-view-item-time {
|
|
123
|
+
flex-shrink: 0;
|
|
124
|
+
font-variant-numeric: tabular-nums;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.w6w-log-view-detail-col {
|
|
128
|
+
min-width: 0;
|
|
129
|
+
min-height: 0;
|
|
130
|
+
overflow: auto;
|
|
131
|
+
padding: var(--w6w-sp-3);
|
|
132
|
+
container-type: inline-size;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.w6w-log-view-detail-head {
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
flex-wrap: wrap;
|
|
139
|
+
gap: var(--w6w-sp-2);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.w6w-log-view-detail-title {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
flex: 1 1 auto;
|
|
146
|
+
min-width: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.w6w-log-view-timing {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-wrap: wrap;
|
|
152
|
+
gap: var(--w6w-sp-1) var(--w6w-sp-6);
|
|
153
|
+
margin: 0;
|
|
154
|
+
font-size: var(--w6w-fs-xs);
|
|
155
|
+
|
|
156
|
+
> div {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
gap: var(--w6w-sp-0-5);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
dt {
|
|
163
|
+
color: var(--w6w-muted);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
dd {
|
|
167
|
+
margin: 0;
|
|
168
|
+
font-family: var(--w6w-font-mono);
|
|
169
|
+
font-variant-numeric: tabular-nums;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* Input and Output side by side once the detail column is wide enough to read two payloads. */
|
|
174
|
+
.w6w-log-view-io {
|
|
175
|
+
display: grid;
|
|
176
|
+
grid-template-columns: minmax(0, 1fr);
|
|
177
|
+
gap: var(--w6w-sp-3);
|
|
178
|
+
}
|
|
179
|
+
@container (min-width: 640px) {
|
|
180
|
+
.w6w-log-view-io {
|
|
181
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* --- ExecutionLogDock: the bottom bar that slides the log up ------------- */
|
|
186
|
+
.w6w-log-dock {
|
|
187
|
+
position: relative;
|
|
188
|
+
display: flex;
|
|
189
|
+
flex-direction: column;
|
|
190
|
+
flex: 0 0 auto;
|
|
191
|
+
min-width: 0;
|
|
192
|
+
background: var(--w6w-panel);
|
|
193
|
+
border-top: 1px solid var(--w6w-border);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.w6w-log-dock-bar {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
gap: var(--w6w-sp-3);
|
|
200
|
+
min-height: 36px;
|
|
201
|
+
padding: 0 var(--w6w-sp-2);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.w6w-log-dock-open .w6w-log-dock-bar {
|
|
205
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.w6w-log-dock-toggle {
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: var(--w6w-sp-1-5);
|
|
212
|
+
padding: var(--w6w-sp-1) var(--w6w-sp-2);
|
|
213
|
+
border: none;
|
|
214
|
+
border-radius: 6px;
|
|
215
|
+
background: transparent;
|
|
216
|
+
color: var(--w6w-text);
|
|
217
|
+
font: inherit;
|
|
218
|
+
font-size: var(--w6w-fs-sm);
|
|
219
|
+
font-weight: var(--w6w-fw-semibold);
|
|
220
|
+
cursor: pointer;
|
|
221
|
+
}
|
|
222
|
+
.w6w-log-dock-toggle:hover {
|
|
223
|
+
background: var(--w6w-panel-2);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.w6w-log-dock-summary {
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: var(--w6w-sp-2);
|
|
230
|
+
flex: 1 1 auto;
|
|
231
|
+
min-width: 0;
|
|
232
|
+
color: var(--w6w-muted);
|
|
233
|
+
font-size: var(--w6w-fs-xs);
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.w6w-log-dock-actions {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: var(--w6w-sp-0-5);
|
|
242
|
+
margin-left: auto;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.w6w-log-dock-body {
|
|
246
|
+
min-height: 0;
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
}
|
|
249
|
+
.w6w-log-dock-body[hidden] {
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* The split handle: a thin strip on the dock's top edge, wider to grab than it looks. */
|
|
254
|
+
.w6w-log-dock-resize {
|
|
255
|
+
position: absolute;
|
|
256
|
+
top: -4px;
|
|
257
|
+
left: 0;
|
|
258
|
+
right: 0;
|
|
259
|
+
height: 8px;
|
|
260
|
+
cursor: ns-resize;
|
|
261
|
+
z-index: 1;
|
|
262
|
+
touch-action: none;
|
|
263
|
+
}
|
|
264
|
+
.w6w-log-dock-resize:hover,
|
|
265
|
+
.w6w-log-dock-resize:focus-visible {
|
|
266
|
+
outline: none;
|
|
267
|
+
background: linear-gradient(
|
|
268
|
+
to bottom,
|
|
269
|
+
transparent 3px,
|
|
270
|
+
var(--w6w-accent) 3px,
|
|
271
|
+
var(--w6w-accent) 5px,
|
|
272
|
+
transparent 5px
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* In-page floating window: where the browser blocks the pop-out window. */
|
|
277
|
+
.w6w-log-float {
|
|
278
|
+
position: fixed;
|
|
279
|
+
z-index: 40;
|
|
280
|
+
display: flex;
|
|
281
|
+
flex-direction: column;
|
|
282
|
+
width: min(900px, calc(100vw - 32px));
|
|
283
|
+
height: min(560px, calc(100vh - 96px));
|
|
284
|
+
min-width: 360px;
|
|
285
|
+
min-height: 200px;
|
|
286
|
+
resize: both;
|
|
287
|
+
overflow: hidden;
|
|
288
|
+
background: var(--w6w-panel);
|
|
289
|
+
border: 1px solid var(--w6w-border);
|
|
290
|
+
border-radius: var(--w6w-radius);
|
|
291
|
+
box-shadow: 0 12px 32px rgb(0 0 0 / 0.22);
|
|
292
|
+
|
|
293
|
+
> .w6w-log-dock-body {
|
|
294
|
+
flex: 1 1 auto;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.w6w-log-float-head {
|
|
299
|
+
display: flex;
|
|
300
|
+
align-items: center;
|
|
301
|
+
gap: var(--w6w-sp-2);
|
|
302
|
+
padding: var(--w6w-sp-1) var(--w6w-sp-2) var(--w6w-sp-1) var(--w6w-sp-3);
|
|
303
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
304
|
+
cursor: move;
|
|
305
|
+
user-select: none;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/* The popped-out browser window: the log fills it. */
|
|
309
|
+
.w6w-log-window-body {
|
|
310
|
+
margin: 0;
|
|
311
|
+
height: 100vh;
|
|
312
|
+
background: var(--w6w-panel);
|
|
313
|
+
color: var(--w6w-text);
|
|
314
|
+
font-family: var(--w6w-font-sans);
|
|
315
|
+
}
|
|
316
|
+
.w6w-log-window {
|
|
317
|
+
height: 100%;
|
|
318
|
+
|
|
319
|
+
> .w6w-log-dock-body {
|
|
320
|
+
height: 100%;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
@@ -230,3 +230,16 @@
|
|
|
230
230
|
font-family: var(--w6w-font-mono);
|
|
231
231
|
font-size: var(--w6w-fs-xs);
|
|
232
232
|
}
|
|
233
|
+
|
|
234
|
+
/* "Fixed list / From data" — the choices' (and suggestions') source switch. */
|
|
235
|
+
.w6w-form-mode {
|
|
236
|
+
display: flex;
|
|
237
|
+
flex-wrap: wrap;
|
|
238
|
+
align-items: center;
|
|
239
|
+
justify-content: space-between;
|
|
240
|
+
gap: var(--w6w-sp-1-5);
|
|
241
|
+
}
|
|
242
|
+
.w6w-form-mode-buttons {
|
|
243
|
+
display: flex;
|
|
244
|
+
gap: var(--w6w-sp-1);
|
|
245
|
+
}
|
package/src/styles.css
CHANGED
|
@@ -4028,6 +4028,20 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
|
|
|
4028
4028
|
font-size: var(--w6w-fs-xs);
|
|
4029
4029
|
}
|
|
4030
4030
|
|
|
4031
|
+
/* "Fixed list / From data" — the choices' (and suggestions') source switch. */
|
|
4032
|
+
.w6w-form-mode {
|
|
4033
|
+
display: flex;
|
|
4034
|
+
flex-wrap: wrap;
|
|
4035
|
+
align-items: center;
|
|
4036
|
+
justify-content: space-between;
|
|
4037
|
+
gap: var(--w6w-sp-1-5);
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
.w6w-form-mode-buttons {
|
|
4041
|
+
display: flex;
|
|
4042
|
+
gap: var(--w6w-sp-1);
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4031
4045
|
.w6w-stepconfig-header {
|
|
4032
4046
|
display: flex;
|
|
4033
4047
|
flex-direction: column;
|
|
@@ -5916,6 +5930,327 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
|
|
|
5916
5930
|
font-family: inherit;
|
|
5917
5931
|
}
|
|
5918
5932
|
|
|
5933
|
+
/* --- ExecutionLogView: a run's log as two columns ------------------------- */
|
|
5934
|
+
/* Left: the steps in execution order. Right: the picked step's timing, error, input and output.
|
|
5935
|
+
The view fills its host's box (a docked panel, a floating window, a page) and each column
|
|
5936
|
+
scrolls on its own, so a long step list never pushes the detail out of view. */
|
|
5937
|
+
.w6w-log-view {
|
|
5938
|
+
display: flex;
|
|
5939
|
+
flex-direction: column;
|
|
5940
|
+
height: 100%;
|
|
5941
|
+
min-height: 0;
|
|
5942
|
+
min-width: 0;
|
|
5943
|
+
}
|
|
5944
|
+
|
|
5945
|
+
.w6w-log-view-is-empty {
|
|
5946
|
+
gap: var(--w6w-sp-3);
|
|
5947
|
+
padding: var(--w6w-sp-3);
|
|
5948
|
+
}
|
|
5949
|
+
|
|
5950
|
+
.w6w-log-view-errors {
|
|
5951
|
+
flex: 0 0 auto;
|
|
5952
|
+
padding: var(--w6w-sp-2) var(--w6w-sp-3);
|
|
5953
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
5954
|
+
max-height: 30%;
|
|
5955
|
+
overflow: auto;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
.w6w-log-view-cols {
|
|
5959
|
+
display: grid;
|
|
5960
|
+
grid-template-columns: minmax(200px, 30%) minmax(0, 1fr);
|
|
5961
|
+
flex: 1 1 auto;
|
|
5962
|
+
min-height: 0;
|
|
5963
|
+
}
|
|
5964
|
+
|
|
5965
|
+
.w6w-log-view-list-col {
|
|
5966
|
+
display: flex;
|
|
5967
|
+
flex-direction: column;
|
|
5968
|
+
gap: var(--w6w-sp-3);
|
|
5969
|
+
min-height: 0;
|
|
5970
|
+
overflow: auto;
|
|
5971
|
+
padding: var(--w6w-sp-2);
|
|
5972
|
+
border-right: 1px solid var(--w6w-border);
|
|
5973
|
+
background: var(--w6w-panel-2);
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5976
|
+
.w6w-log-view-list {
|
|
5977
|
+
display: flex;
|
|
5978
|
+
flex-direction: column;
|
|
5979
|
+
gap: var(--w6w-sp-0-5);
|
|
5980
|
+
list-style: none;
|
|
5981
|
+
margin: 0;
|
|
5982
|
+
padding: 0;
|
|
5983
|
+
}
|
|
5984
|
+
|
|
5985
|
+
.w6w-log-view-item {
|
|
5986
|
+
display: flex;
|
|
5987
|
+
align-items: center;
|
|
5988
|
+
gap: var(--w6w-sp-2);
|
|
5989
|
+
width: 100%;
|
|
5990
|
+
padding: var(--w6w-sp-1-5) var(--w6w-sp-2);
|
|
5991
|
+
border: 1px solid transparent;
|
|
5992
|
+
border-radius: 6px;
|
|
5993
|
+
background: transparent;
|
|
5994
|
+
color: var(--w6w-text);
|
|
5995
|
+
font: inherit;
|
|
5996
|
+
text-align: left;
|
|
5997
|
+
cursor: pointer;
|
|
5998
|
+
}
|
|
5999
|
+
|
|
6000
|
+
.w6w-log-view-item:hover {
|
|
6001
|
+
background: color-mix(in srgb, var(--w6w-text) 6%, transparent);
|
|
6002
|
+
}
|
|
6003
|
+
|
|
6004
|
+
.w6w-log-view-item:focus-visible {
|
|
6005
|
+
outline: 2px solid var(--w6w-accent);
|
|
6006
|
+
outline-offset: -2px;
|
|
6007
|
+
}
|
|
6008
|
+
|
|
6009
|
+
.w6w-log-view-item-selected,
|
|
6010
|
+
.w6w-log-view-item-selected:hover {
|
|
6011
|
+
background: var(--w6w-panel);
|
|
6012
|
+
border-color: var(--w6w-border);
|
|
6013
|
+
}
|
|
6014
|
+
|
|
6015
|
+
/* A failed step reads as failed in the list even before it is picked — the dot alone is colour,
|
|
6016
|
+
and colour is never the only signal, so its label turns danger too. */
|
|
6017
|
+
.w6w-log-view-item[data-status=failed] .w6w-log-view-item-label {
|
|
6018
|
+
color: var(--w6w-danger);
|
|
6019
|
+
}
|
|
6020
|
+
|
|
6021
|
+
/* The status dot reuses StepStatusPill's per-state colour (`--w6w-step-color`), not its shape. */
|
|
6022
|
+
.w6w-log-view-dot {
|
|
6023
|
+
flex-shrink: 0;
|
|
6024
|
+
width: 8px;
|
|
6025
|
+
height: 8px;
|
|
6026
|
+
border-radius: 50%;
|
|
6027
|
+
background: var(--w6w-step-color);
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
.w6w-log-view-dot.w6w-step-pill-skipped {
|
|
6031
|
+
background: transparent;
|
|
6032
|
+
border: 1px dashed var(--w6w-step-color);
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
.w6w-log-view-item-title {
|
|
6036
|
+
display: flex;
|
|
6037
|
+
flex-direction: column;
|
|
6038
|
+
flex: 1 1 auto;
|
|
6039
|
+
min-width: 0;
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
.w6w-log-view-item-label,
|
|
6043
|
+
.w6w-log-view-item-uses {
|
|
6044
|
+
overflow: hidden;
|
|
6045
|
+
text-overflow: ellipsis;
|
|
6046
|
+
white-space: nowrap;
|
|
6047
|
+
}
|
|
6048
|
+
|
|
6049
|
+
.w6w-log-view-item-label {
|
|
6050
|
+
font-size: var(--w6w-fs-sm);
|
|
6051
|
+
}
|
|
6052
|
+
|
|
6053
|
+
.w6w-log-view-item-uses,
|
|
6054
|
+
.w6w-log-view-item-time {
|
|
6055
|
+
color: var(--w6w-muted);
|
|
6056
|
+
font-size: var(--w6w-fs-xs);
|
|
6057
|
+
}
|
|
6058
|
+
|
|
6059
|
+
.w6w-log-view-item-time {
|
|
6060
|
+
flex-shrink: 0;
|
|
6061
|
+
font-variant-numeric: tabular-nums;
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
.w6w-log-view-detail-col {
|
|
6065
|
+
min-width: 0;
|
|
6066
|
+
min-height: 0;
|
|
6067
|
+
overflow: auto;
|
|
6068
|
+
padding: var(--w6w-sp-3);
|
|
6069
|
+
container-type: inline-size;
|
|
6070
|
+
}
|
|
6071
|
+
|
|
6072
|
+
.w6w-log-view-detail-head {
|
|
6073
|
+
display: flex;
|
|
6074
|
+
align-items: center;
|
|
6075
|
+
flex-wrap: wrap;
|
|
6076
|
+
gap: var(--w6w-sp-2);
|
|
6077
|
+
}
|
|
6078
|
+
|
|
6079
|
+
.w6w-log-view-detail-title {
|
|
6080
|
+
display: flex;
|
|
6081
|
+
flex-direction: column;
|
|
6082
|
+
flex: 1 1 auto;
|
|
6083
|
+
min-width: 0;
|
|
6084
|
+
}
|
|
6085
|
+
|
|
6086
|
+
.w6w-log-view-timing {
|
|
6087
|
+
display: flex;
|
|
6088
|
+
flex-wrap: wrap;
|
|
6089
|
+
gap: var(--w6w-sp-1) var(--w6w-sp-6);
|
|
6090
|
+
margin: 0;
|
|
6091
|
+
font-size: var(--w6w-fs-xs);
|
|
6092
|
+
}
|
|
6093
|
+
.w6w-log-view-timing > div {
|
|
6094
|
+
display: flex;
|
|
6095
|
+
flex-direction: column;
|
|
6096
|
+
gap: var(--w6w-sp-0-5);
|
|
6097
|
+
}
|
|
6098
|
+
.w6w-log-view-timing dt {
|
|
6099
|
+
color: var(--w6w-muted);
|
|
6100
|
+
}
|
|
6101
|
+
.w6w-log-view-timing dd {
|
|
6102
|
+
margin: 0;
|
|
6103
|
+
font-family: var(--w6w-font-mono);
|
|
6104
|
+
font-variant-numeric: tabular-nums;
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
/* Input and Output side by side once the detail column is wide enough to read two payloads. */
|
|
6108
|
+
.w6w-log-view-io {
|
|
6109
|
+
display: grid;
|
|
6110
|
+
grid-template-columns: minmax(0, 1fr);
|
|
6111
|
+
gap: var(--w6w-sp-3);
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
@container (min-width: 640px) {
|
|
6115
|
+
.w6w-log-view-io {
|
|
6116
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
6117
|
+
}
|
|
6118
|
+
}
|
|
6119
|
+
/* --- ExecutionLogDock: the bottom bar that slides the log up ------------- */
|
|
6120
|
+
.w6w-log-dock {
|
|
6121
|
+
position: relative;
|
|
6122
|
+
display: flex;
|
|
6123
|
+
flex-direction: column;
|
|
6124
|
+
flex: 0 0 auto;
|
|
6125
|
+
min-width: 0;
|
|
6126
|
+
background: var(--w6w-panel);
|
|
6127
|
+
border-top: 1px solid var(--w6w-border);
|
|
6128
|
+
}
|
|
6129
|
+
|
|
6130
|
+
.w6w-log-dock-bar {
|
|
6131
|
+
display: flex;
|
|
6132
|
+
align-items: center;
|
|
6133
|
+
gap: var(--w6w-sp-3);
|
|
6134
|
+
min-height: 36px;
|
|
6135
|
+
padding: 0 var(--w6w-sp-2);
|
|
6136
|
+
}
|
|
6137
|
+
|
|
6138
|
+
.w6w-log-dock-open .w6w-log-dock-bar {
|
|
6139
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
.w6w-log-dock-toggle {
|
|
6143
|
+
display: inline-flex;
|
|
6144
|
+
align-items: center;
|
|
6145
|
+
gap: var(--w6w-sp-1-5);
|
|
6146
|
+
padding: var(--w6w-sp-1) var(--w6w-sp-2);
|
|
6147
|
+
border: none;
|
|
6148
|
+
border-radius: 6px;
|
|
6149
|
+
background: transparent;
|
|
6150
|
+
color: var(--w6w-text);
|
|
6151
|
+
font: inherit;
|
|
6152
|
+
font-size: var(--w6w-fs-sm);
|
|
6153
|
+
font-weight: var(--w6w-fw-semibold);
|
|
6154
|
+
cursor: pointer;
|
|
6155
|
+
}
|
|
6156
|
+
|
|
6157
|
+
.w6w-log-dock-toggle:hover {
|
|
6158
|
+
background: var(--w6w-panel-2);
|
|
6159
|
+
}
|
|
6160
|
+
|
|
6161
|
+
.w6w-log-dock-summary {
|
|
6162
|
+
display: flex;
|
|
6163
|
+
align-items: center;
|
|
6164
|
+
gap: var(--w6w-sp-2);
|
|
6165
|
+
flex: 1 1 auto;
|
|
6166
|
+
min-width: 0;
|
|
6167
|
+
color: var(--w6w-muted);
|
|
6168
|
+
font-size: var(--w6w-fs-xs);
|
|
6169
|
+
overflow: hidden;
|
|
6170
|
+
white-space: nowrap;
|
|
6171
|
+
}
|
|
6172
|
+
|
|
6173
|
+
.w6w-log-dock-actions {
|
|
6174
|
+
display: flex;
|
|
6175
|
+
align-items: center;
|
|
6176
|
+
gap: var(--w6w-sp-0-5);
|
|
6177
|
+
margin-left: auto;
|
|
6178
|
+
}
|
|
6179
|
+
|
|
6180
|
+
.w6w-log-dock-body {
|
|
6181
|
+
min-height: 0;
|
|
6182
|
+
overflow: hidden;
|
|
6183
|
+
}
|
|
6184
|
+
|
|
6185
|
+
.w6w-log-dock-body[hidden] {
|
|
6186
|
+
display: none;
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6189
|
+
/* The split handle: a thin strip on the dock's top edge, wider to grab than it looks. */
|
|
6190
|
+
.w6w-log-dock-resize {
|
|
6191
|
+
position: absolute;
|
|
6192
|
+
top: -4px;
|
|
6193
|
+
left: 0;
|
|
6194
|
+
right: 0;
|
|
6195
|
+
height: 8px;
|
|
6196
|
+
cursor: ns-resize;
|
|
6197
|
+
z-index: 1;
|
|
6198
|
+
touch-action: none;
|
|
6199
|
+
}
|
|
6200
|
+
|
|
6201
|
+
.w6w-log-dock-resize:hover,
|
|
6202
|
+
.w6w-log-dock-resize:focus-visible {
|
|
6203
|
+
outline: none;
|
|
6204
|
+
background: linear-gradient(to bottom, transparent 3px, var(--w6w-accent) 3px, var(--w6w-accent) 5px, transparent 5px);
|
|
6205
|
+
}
|
|
6206
|
+
|
|
6207
|
+
/* In-page floating window: where the browser blocks the pop-out window. */
|
|
6208
|
+
.w6w-log-float {
|
|
6209
|
+
position: fixed;
|
|
6210
|
+
z-index: 40;
|
|
6211
|
+
display: flex;
|
|
6212
|
+
flex-direction: column;
|
|
6213
|
+
width: min(900px, 100vw - 32px);
|
|
6214
|
+
height: min(560px, 100vh - 96px);
|
|
6215
|
+
min-width: 360px;
|
|
6216
|
+
min-height: 200px;
|
|
6217
|
+
resize: both;
|
|
6218
|
+
overflow: hidden;
|
|
6219
|
+
background: var(--w6w-panel);
|
|
6220
|
+
border: 1px solid var(--w6w-border);
|
|
6221
|
+
border-radius: var(--w6w-radius);
|
|
6222
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
|
|
6223
|
+
}
|
|
6224
|
+
.w6w-log-float > .w6w-log-dock-body {
|
|
6225
|
+
flex: 1 1 auto;
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6228
|
+
.w6w-log-float-head {
|
|
6229
|
+
display: flex;
|
|
6230
|
+
align-items: center;
|
|
6231
|
+
gap: var(--w6w-sp-2);
|
|
6232
|
+
padding: var(--w6w-sp-1) var(--w6w-sp-2) var(--w6w-sp-1) var(--w6w-sp-3);
|
|
6233
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
6234
|
+
cursor: move;
|
|
6235
|
+
user-select: none;
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
/* The popped-out browser window: the log fills it. */
|
|
6239
|
+
.w6w-log-window-body {
|
|
6240
|
+
margin: 0;
|
|
6241
|
+
height: 100vh;
|
|
6242
|
+
background: var(--w6w-panel);
|
|
6243
|
+
color: var(--w6w-text);
|
|
6244
|
+
font-family: var(--w6w-font-sans);
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6247
|
+
.w6w-log-window {
|
|
6248
|
+
height: 100%;
|
|
6249
|
+
}
|
|
6250
|
+
.w6w-log-window > .w6w-log-dock-body {
|
|
6251
|
+
height: 100%;
|
|
6252
|
+
}
|
|
6253
|
+
|
|
5919
6254
|
/* --- ExecutionList ------------------------------------------------------- */
|
|
5920
6255
|
/* Rows of past executions: a click-to-select list plus a prev/next pager.
|
|
5921
6256
|
Closer in shape to `.w6w-execution-log` (`_execution-log.scss`) than to
|
package/src/styles.scss
CHANGED