mandrel 2.124.0 → 2.125.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/.agents/docs/agentrc-reference.json +1 -0
- package/.agents/docs/configuration.md +2 -0
- package/.agents/docs/runbooks/dispatch-board.md +174 -0
- package/.agents/docs/runbooks/dispatch.md +219 -0
- package/.agents/docs/runbooks/session-titles.md +52 -0
- package/.agents/schemas/agentrc.schema.json +60 -0
- package/.agents/scripts/acceptance-eval.js +11 -2
- package/.agents/scripts/dispatch.js +400 -0
- package/.agents/scripts/lib/child-detached.js +48 -0
- package/.agents/scripts/lib/child-exec.js +11 -0
- package/.agents/scripts/lib/config/delivery-routing.js +15 -12
- package/.agents/scripts/lib/config/temp-paths.js +26 -0
- package/.agents/scripts/lib/config-settings-schema-delivery.js +45 -0
- package/.agents/scripts/lib/dispatch/environments.js +135 -0
- package/.agents/scripts/lib/dispatch/launch-cloud.js +164 -0
- package/.agents/scripts/lib/dispatch/launch-local.js +77 -0
- package/.agents/scripts/lib/dispatch/liveness.js +21 -0
- package/.agents/scripts/lib/dispatch/record.js +54 -0
- package/.agents/scripts/lib/dispatch/status.js +285 -0
- package/.agents/scripts/lib/dispatch/targets.js +101 -0
- package/.agents/scripts/lib/dispatch/verdict.js +207 -0
- package/.agents/scripts/lib/generated/agentrc-validator.js +2 -2
- package/.agents/scripts/lib/observability/source-classifier.js +2 -0
- package/.agents/scripts/lib/orchestration/single-story-close/runner.js +2 -0
- package/.agents/scripts/lib/orchestration/story-handoff.js +6 -0
- package/.agents/scripts/lib/orchestration/story-stage-publish.js +147 -0
- package/.agents/scripts/lib/orchestration/ticketing/reads.js +2 -0
- package/.agents/scripts/session-title.js +187 -0
- package/.agents/scripts/single-story-confirm-merge.js +7 -0
- package/.agents/scripts/single-story-init.js +3 -0
- package/.agents/workflows/helpers/audit-lens-core.md +4 -0
- package/.agents/workflows/helpers/deliver-light.md +4 -1
- package/.agents/workflows/helpers/qa-core.md +2 -0
- package/.agents/workflows/mandrel-deliver.md +7 -3
- package/.agents/workflows/mandrel-orchestrate.md +2 -0
- package/.agents/workflows/mandrel-plan.md +4 -0
- package/README.md +8 -0
- package/bin/mandrel.js +35 -13
- package/docs/CHANGELOG.md +14 -0
- package/lib/cli/dispatch.js +27 -0
- package/lib/cli/ui/accounts.js +81 -0
- package/lib/cli/ui/board-model.js +372 -0
- package/lib/cli/ui/board.css +525 -0
- package/lib/cli/ui/board.html +80 -0
- package/lib/cli/ui/board.js +676 -0
- package/lib/cli/ui/log-tail.js +89 -0
- package/lib/cli/ui/panel-model.js +100 -0
- package/lib/cli/ui/preferences.js +136 -0
- package/lib/cli/ui/request-guard.js +108 -0
- package/lib/cli/ui/server.js +211 -0
- package/lib/cli/ui/sources.js +202 -0
- package/lib/cli/ui/story-detail.js +92 -0
- package/lib/cli/ui.js +114 -0
- package/package.json +1 -1
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg: #f5f6f7;
|
|
3
|
+
--surface: #ffffff;
|
|
4
|
+
--sunken: #eceef0;
|
|
5
|
+
--line: #e2e4e8;
|
|
6
|
+
--line-strong: #c6cad1;
|
|
7
|
+
--fg: #1b1e22;
|
|
8
|
+
--muted: #626a75;
|
|
9
|
+
--accent: #2563eb;
|
|
10
|
+
--accent-soft: #e3ecfd;
|
|
11
|
+
--amber: #a85a08;
|
|
12
|
+
--amber-soft: #fcefd9;
|
|
13
|
+
--red: #c0352d;
|
|
14
|
+
--red-soft: #fce7e5;
|
|
15
|
+
--radius-panel: 8px;
|
|
16
|
+
--radius-card: 5px;
|
|
17
|
+
--sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
18
|
+
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
19
|
+
color-scheme: light;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media (prefers-color-scheme: dark) {
|
|
23
|
+
:root:not([data-theme="light"]) {
|
|
24
|
+
--bg: #111316;
|
|
25
|
+
--surface: #1a1d21;
|
|
26
|
+
--sunken: #15171a;
|
|
27
|
+
--line: #2a2e35;
|
|
28
|
+
--line-strong: #3d444d;
|
|
29
|
+
--fg: #e7e9ec;
|
|
30
|
+
--muted: #9aa2ad;
|
|
31
|
+
--accent: #6ea0ff;
|
|
32
|
+
--accent-soft: #1b2947;
|
|
33
|
+
--amber: #e3a13a;
|
|
34
|
+
--amber-soft: #3a2b11;
|
|
35
|
+
--red: #f0766d;
|
|
36
|
+
--red-soft: #3e1d1b;
|
|
37
|
+
color-scheme: dark;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:root[data-theme="dark"] {
|
|
42
|
+
--bg: #111316;
|
|
43
|
+
--surface: #1a1d21;
|
|
44
|
+
--sunken: #15171a;
|
|
45
|
+
--line: #2a2e35;
|
|
46
|
+
--line-strong: #3d444d;
|
|
47
|
+
--fg: #e7e9ec;
|
|
48
|
+
--muted: #9aa2ad;
|
|
49
|
+
--accent: #6ea0ff;
|
|
50
|
+
--accent-soft: #1b2947;
|
|
51
|
+
--amber: #e3a13a;
|
|
52
|
+
--amber-soft: #3a2b11;
|
|
53
|
+
--red: #f0766d;
|
|
54
|
+
--red-soft: #3e1d1b;
|
|
55
|
+
color-scheme: dark;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
* {
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[hidden] {
|
|
63
|
+
/* biome-ignore lint/complexity/noImportantStyles: the hidden attribute must beat any component's display */
|
|
64
|
+
display: none !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
body {
|
|
68
|
+
margin: 0;
|
|
69
|
+
background: var(--bg);
|
|
70
|
+
color: var(--fg);
|
|
71
|
+
font: 14px / 1.4 var(--sans);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mono,
|
|
75
|
+
.card-id,
|
|
76
|
+
.lane-meta {
|
|
77
|
+
font-family: var(--mono);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
button,
|
|
81
|
+
select {
|
|
82
|
+
font: inherit;
|
|
83
|
+
font-size: 12px;
|
|
84
|
+
color: var(--fg);
|
|
85
|
+
background: var(--surface);
|
|
86
|
+
border: 1px solid var(--line-strong);
|
|
87
|
+
border-radius: var(--radius-card);
|
|
88
|
+
padding: 4px 10px;
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
min-height: 32px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
button:focus-visible,
|
|
94
|
+
select:focus-visible,
|
|
95
|
+
a:focus-visible {
|
|
96
|
+
outline: 2px solid var(--accent);
|
|
97
|
+
outline-offset: 2px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
button.danger {
|
|
101
|
+
color: var(--red);
|
|
102
|
+
border-color: var(--red);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.topbar {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-wrap: wrap;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: 12px;
|
|
110
|
+
padding: 10px 16px;
|
|
111
|
+
background: var(--surface);
|
|
112
|
+
border-bottom: 1px solid var(--line);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.brand {
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: baseline;
|
|
118
|
+
gap: 8px;
|
|
119
|
+
}
|
|
120
|
+
.product {
|
|
121
|
+
font-size: 16px;
|
|
122
|
+
font-weight: 600;
|
|
123
|
+
}
|
|
124
|
+
.repo {
|
|
125
|
+
font-size: 12px;
|
|
126
|
+
color: var(--muted);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.actions {
|
|
130
|
+
margin-left: auto;
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: 8px;
|
|
134
|
+
}
|
|
135
|
+
.icon-button {
|
|
136
|
+
position: relative;
|
|
137
|
+
display: inline-flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
min-width: 32px;
|
|
141
|
+
padding: 4px 6px;
|
|
142
|
+
}
|
|
143
|
+
.icon-button[aria-expanded="true"] {
|
|
144
|
+
background: var(--accent-soft);
|
|
145
|
+
border-color: var(--accent);
|
|
146
|
+
}
|
|
147
|
+
.icon-button.ok {
|
|
148
|
+
color: var(--accent);
|
|
149
|
+
}
|
|
150
|
+
.icon-button.bad {
|
|
151
|
+
border-color: var(--amber);
|
|
152
|
+
color: var(--amber);
|
|
153
|
+
}
|
|
154
|
+
.badge {
|
|
155
|
+
position: absolute;
|
|
156
|
+
top: -6px;
|
|
157
|
+
right: -6px;
|
|
158
|
+
min-width: 16px;
|
|
159
|
+
padding: 0 4px;
|
|
160
|
+
border-radius: 8px;
|
|
161
|
+
font-size: 10px;
|
|
162
|
+
line-height: 16px;
|
|
163
|
+
background: var(--amber);
|
|
164
|
+
color: var(--surface);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.zone-verdict {
|
|
168
|
+
margin: 0;
|
|
169
|
+
min-height: 24px;
|
|
170
|
+
padding: 4px 16px;
|
|
171
|
+
font-size: 12px;
|
|
172
|
+
color: var(--muted);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
main {
|
|
176
|
+
padding: 0 16px 16px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.board {
|
|
180
|
+
display: grid;
|
|
181
|
+
grid-template-columns: repeat(6, minmax(200px, 1fr));
|
|
182
|
+
gap: 10px;
|
|
183
|
+
overflow-x: auto;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.column {
|
|
187
|
+
background: var(--sunken);
|
|
188
|
+
border: 1px solid var(--line);
|
|
189
|
+
border-radius: var(--radius-panel);
|
|
190
|
+
padding: 8px;
|
|
191
|
+
min-height: 240px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.column h2,
|
|
195
|
+
.lane h3 {
|
|
196
|
+
margin: 0 0 8px;
|
|
197
|
+
font-size: 12px;
|
|
198
|
+
font-weight: 600;
|
|
199
|
+
color: var(--muted);
|
|
200
|
+
text-transform: uppercase;
|
|
201
|
+
letter-spacing: 0.04em;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.zone-hint {
|
|
205
|
+
display: block;
|
|
206
|
+
text-transform: none;
|
|
207
|
+
letter-spacing: 0;
|
|
208
|
+
font-weight: 400;
|
|
209
|
+
font-size: 11px;
|
|
210
|
+
}
|
|
211
|
+
.zone-ok {
|
|
212
|
+
outline: 2px dashed var(--accent);
|
|
213
|
+
}
|
|
214
|
+
.zone-ok .zone-hint {
|
|
215
|
+
color: var(--accent);
|
|
216
|
+
}
|
|
217
|
+
.zone-confirm {
|
|
218
|
+
outline: 2px dashed var(--amber);
|
|
219
|
+
}
|
|
220
|
+
.zone-confirm .zone-hint {
|
|
221
|
+
color: var(--amber);
|
|
222
|
+
}
|
|
223
|
+
.zone-refused .zone-hint {
|
|
224
|
+
color: var(--red);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.lane {
|
|
228
|
+
background: var(--surface);
|
|
229
|
+
border: 1px solid var(--line);
|
|
230
|
+
border-radius: var(--radius-panel);
|
|
231
|
+
padding: 6px;
|
|
232
|
+
margin-bottom: 8px;
|
|
233
|
+
}
|
|
234
|
+
.lane-meta {
|
|
235
|
+
font-size: 11px;
|
|
236
|
+
color: var(--muted);
|
|
237
|
+
}
|
|
238
|
+
.lane.offline .lane-meta {
|
|
239
|
+
color: var(--amber);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.cards {
|
|
243
|
+
display: flex;
|
|
244
|
+
flex-direction: column;
|
|
245
|
+
gap: 6px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.card {
|
|
249
|
+
position: relative;
|
|
250
|
+
background: var(--surface);
|
|
251
|
+
border: 1px solid var(--line);
|
|
252
|
+
border-radius: var(--radius-card);
|
|
253
|
+
padding: 8px;
|
|
254
|
+
cursor: grab;
|
|
255
|
+
}
|
|
256
|
+
.card.live {
|
|
257
|
+
border-left: 3px solid var(--accent);
|
|
258
|
+
}
|
|
259
|
+
.card.blocked {
|
|
260
|
+
border-left: 3px solid var(--red);
|
|
261
|
+
}
|
|
262
|
+
.card-id {
|
|
263
|
+
font-size: 11px;
|
|
264
|
+
color: var(--muted);
|
|
265
|
+
}
|
|
266
|
+
.card-title {
|
|
267
|
+
margin: 2px 0 4px;
|
|
268
|
+
font-size: 14px;
|
|
269
|
+
}
|
|
270
|
+
.card-meta {
|
|
271
|
+
font-size: 11px;
|
|
272
|
+
color: var(--muted);
|
|
273
|
+
display: flex;
|
|
274
|
+
flex-wrap: wrap;
|
|
275
|
+
gap: 6px;
|
|
276
|
+
}
|
|
277
|
+
.card-meta a {
|
|
278
|
+
color: var(--accent);
|
|
279
|
+
}
|
|
280
|
+
.unmet {
|
|
281
|
+
color: var(--amber);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.move-menu {
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-direction: column;
|
|
287
|
+
gap: 4px;
|
|
288
|
+
margin-top: 6px;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.env-card {
|
|
292
|
+
background: var(--sunken);
|
|
293
|
+
border: 1px solid var(--line);
|
|
294
|
+
border-radius: var(--radius-panel);
|
|
295
|
+
padding: 12px;
|
|
296
|
+
margin-bottom: 8px;
|
|
297
|
+
font-size: 12px;
|
|
298
|
+
}
|
|
299
|
+
.env-card h3 {
|
|
300
|
+
margin: 0 0 6px;
|
|
301
|
+
font-size: 14px;
|
|
302
|
+
}
|
|
303
|
+
.env-card.offline {
|
|
304
|
+
border-color: var(--amber);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.panel {
|
|
308
|
+
background: var(--surface);
|
|
309
|
+
color: var(--fg);
|
|
310
|
+
border: 1px solid var(--line);
|
|
311
|
+
border-radius: var(--radius-panel);
|
|
312
|
+
padding: 16px;
|
|
313
|
+
max-width: min(420px, calc(100vw - 32px));
|
|
314
|
+
}
|
|
315
|
+
.panel h2 {
|
|
316
|
+
margin: 0 0 8px;
|
|
317
|
+
font-size: 16px;
|
|
318
|
+
}
|
|
319
|
+
.dialog-actions {
|
|
320
|
+
display: flex;
|
|
321
|
+
justify-content: flex-end;
|
|
322
|
+
gap: 8px;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.toast {
|
|
326
|
+
position: fixed;
|
|
327
|
+
bottom: 16px;
|
|
328
|
+
left: 50%;
|
|
329
|
+
transform: translateX(-50%);
|
|
330
|
+
max-width: calc(100vw - 32px);
|
|
331
|
+
background: var(--fg);
|
|
332
|
+
color: var(--bg);
|
|
333
|
+
border-radius: var(--radius-card);
|
|
334
|
+
padding: 8px 14px;
|
|
335
|
+
font-size: 12px;
|
|
336
|
+
}
|
|
337
|
+
.toast.error {
|
|
338
|
+
background: var(--red-soft);
|
|
339
|
+
color: var(--red);
|
|
340
|
+
border: 1px solid var(--red);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.card-actions {
|
|
344
|
+
display: flex;
|
|
345
|
+
gap: 6px;
|
|
346
|
+
margin-top: 6px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.card-status {
|
|
350
|
+
margin: 4px 0;
|
|
351
|
+
}
|
|
352
|
+
.stepper {
|
|
353
|
+
display: flex;
|
|
354
|
+
gap: 2px;
|
|
355
|
+
margin: 0 0 4px;
|
|
356
|
+
padding: 0;
|
|
357
|
+
list-style: none;
|
|
358
|
+
}
|
|
359
|
+
/* Bars only; each step's name stays in the text for assistive tech. */
|
|
360
|
+
.step {
|
|
361
|
+
flex: 1;
|
|
362
|
+
height: 6px;
|
|
363
|
+
font-size: 0;
|
|
364
|
+
border-radius: 3px;
|
|
365
|
+
background: var(--line-strong);
|
|
366
|
+
}
|
|
367
|
+
.step.done {
|
|
368
|
+
background: var(--accent-soft);
|
|
369
|
+
outline: 1px solid var(--accent);
|
|
370
|
+
}
|
|
371
|
+
.step.current {
|
|
372
|
+
background: var(--accent);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.liveness {
|
|
376
|
+
display: inline-flex;
|
|
377
|
+
align-items: center;
|
|
378
|
+
gap: 4px;
|
|
379
|
+
}
|
|
380
|
+
.liveness .dot {
|
|
381
|
+
width: 8px;
|
|
382
|
+
height: 8px;
|
|
383
|
+
border-radius: 50%;
|
|
384
|
+
background: var(--muted);
|
|
385
|
+
}
|
|
386
|
+
.liveness.working .dot {
|
|
387
|
+
background: var(--accent);
|
|
388
|
+
animation: pulse 1.6s ease-in-out infinite;
|
|
389
|
+
}
|
|
390
|
+
.liveness.exited {
|
|
391
|
+
color: var(--amber);
|
|
392
|
+
}
|
|
393
|
+
.liveness.exited .dot {
|
|
394
|
+
background: var(--amber);
|
|
395
|
+
}
|
|
396
|
+
.liveness.warning {
|
|
397
|
+
font-weight: 600;
|
|
398
|
+
background: var(--amber-soft);
|
|
399
|
+
border-radius: 3px;
|
|
400
|
+
padding: 0 4px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
@keyframes pulse {
|
|
404
|
+
50% {
|
|
405
|
+
opacity: 0.3;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
@media (prefers-reduced-motion: reduce) {
|
|
410
|
+
.liveness.working .dot,
|
|
411
|
+
.side-panel {
|
|
412
|
+
animation: none;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.side-panel {
|
|
417
|
+
position: fixed;
|
|
418
|
+
top: 0;
|
|
419
|
+
right: 0;
|
|
420
|
+
bottom: 0;
|
|
421
|
+
width: min(420px, 100vw);
|
|
422
|
+
overflow-y: auto;
|
|
423
|
+
background: var(--surface);
|
|
424
|
+
border-left: 1px solid var(--line);
|
|
425
|
+
padding: 12px 16px;
|
|
426
|
+
z-index: 3;
|
|
427
|
+
font-size: 12px;
|
|
428
|
+
animation: slide-in 0.15s ease-out;
|
|
429
|
+
}
|
|
430
|
+
@keyframes slide-in {
|
|
431
|
+
from {
|
|
432
|
+
transform: translateX(100%);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
body.panel-open .topbar,
|
|
436
|
+
body.panel-open main,
|
|
437
|
+
body.panel-open .zone-verdict {
|
|
438
|
+
margin-right: min(420px, 100vw);
|
|
439
|
+
}
|
|
440
|
+
.side-panel-bar {
|
|
441
|
+
display: flex;
|
|
442
|
+
justify-content: flex-end;
|
|
443
|
+
}
|
|
444
|
+
.panel-view h2 {
|
|
445
|
+
margin: 0 0 8px;
|
|
446
|
+
font-size: 16px;
|
|
447
|
+
}
|
|
448
|
+
.panel-view > h3 {
|
|
449
|
+
margin: 12px 0 4px;
|
|
450
|
+
font-size: 12px;
|
|
451
|
+
color: var(--muted);
|
|
452
|
+
text-transform: uppercase;
|
|
453
|
+
}
|
|
454
|
+
.panel-view dl {
|
|
455
|
+
margin: 0;
|
|
456
|
+
display: grid;
|
|
457
|
+
grid-template-columns: auto 1fr;
|
|
458
|
+
gap: 2px 8px;
|
|
459
|
+
}
|
|
460
|
+
.panel-view dt {
|
|
461
|
+
color: var(--muted);
|
|
462
|
+
}
|
|
463
|
+
.panel-view dd {
|
|
464
|
+
margin: 0;
|
|
465
|
+
overflow-wrap: anywhere;
|
|
466
|
+
}
|
|
467
|
+
.detail-links,
|
|
468
|
+
.detail-actions,
|
|
469
|
+
.resume {
|
|
470
|
+
display: flex;
|
|
471
|
+
flex-wrap: wrap;
|
|
472
|
+
align-items: center;
|
|
473
|
+
gap: 8px;
|
|
474
|
+
}
|
|
475
|
+
.panel-view a {
|
|
476
|
+
color: var(--accent);
|
|
477
|
+
}
|
|
478
|
+
.timeline {
|
|
479
|
+
margin: 0;
|
|
480
|
+
padding-left: 18px;
|
|
481
|
+
}
|
|
482
|
+
.note {
|
|
483
|
+
color: var(--muted);
|
|
484
|
+
}
|
|
485
|
+
.setting {
|
|
486
|
+
display: grid;
|
|
487
|
+
gap: 4px;
|
|
488
|
+
margin-bottom: 12px;
|
|
489
|
+
}
|
|
490
|
+
.setting label {
|
|
491
|
+
color: var(--muted);
|
|
492
|
+
}
|
|
493
|
+
.resume {
|
|
494
|
+
margin-top: 8px;
|
|
495
|
+
}
|
|
496
|
+
.resume code,
|
|
497
|
+
.log {
|
|
498
|
+
font-family: var(--mono);
|
|
499
|
+
font-size: 11px;
|
|
500
|
+
overflow-wrap: anywhere;
|
|
501
|
+
}
|
|
502
|
+
.log {
|
|
503
|
+
margin: 0;
|
|
504
|
+
padding: 8px;
|
|
505
|
+
max-height: 320px;
|
|
506
|
+
overflow: auto;
|
|
507
|
+
white-space: pre-wrap;
|
|
508
|
+
background: var(--sunken);
|
|
509
|
+
border-radius: var(--radius-card);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@media (max-width: 720px) {
|
|
513
|
+
body.panel-open .topbar,
|
|
514
|
+
body.panel-open main,
|
|
515
|
+
body.panel-open .zone-verdict {
|
|
516
|
+
margin-right: 0;
|
|
517
|
+
}
|
|
518
|
+
.board {
|
|
519
|
+
grid-template-columns: 1fr;
|
|
520
|
+
overflow-x: visible;
|
|
521
|
+
}
|
|
522
|
+
.actions {
|
|
523
|
+
margin-left: 0;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" data-theme="auto">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="mandrel-token" content="__MANDREL_TOKEN__">
|
|
7
|
+
<title>Mandrel board</title>
|
|
8
|
+
<link rel="stylesheet" href="/board.css">
|
|
9
|
+
<script type="module" src="/board.js"></script>
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<header class="topbar">
|
|
13
|
+
<div class="brand">
|
|
14
|
+
<span class="product">Mandrel</span>
|
|
15
|
+
<span class="repo mono" id="repository"></span>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="actions">
|
|
18
|
+
<button type="button" class="icon-button" id="panel-environments-button" data-testid="panel-environments-button" aria-label="Environments" title="Environments" aria-controls="side-panel" aria-expanded="false">
|
|
19
|
+
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="3" y="4" width="18" height="7" rx="1.5"/><rect x="3" y="13" width="18" height="7" rx="1.5"/><path d="M7 7.5h.01M7 16.5h.01"/></svg>
|
|
20
|
+
<span class="badge" id="panel-environments-offline-count" data-testid="panel-environments-offline-count" hidden></span>
|
|
21
|
+
</button>
|
|
22
|
+
<button type="button" class="icon-button" id="panel-connections-button" data-testid="panel-connections-button" aria-label="Connections" title="Connections: checking" aria-controls="side-panel" aria-expanded="false">
|
|
23
|
+
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M9 2v5M15 2v5M6 7h12v4a6 6 0 0 1-12 0zM12 17v5"/></svg>
|
|
24
|
+
</button>
|
|
25
|
+
<button type="button" class="icon-button" id="panel-settings-button" data-testid="panel-settings-button" aria-label="Settings" title="Settings" aria-controls="side-panel" aria-expanded="false">
|
|
26
|
+
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
|
|
27
|
+
</button>
|
|
28
|
+
</div>
|
|
29
|
+
</header>
|
|
30
|
+
|
|
31
|
+
<p class="zone-verdict" id="zone-verdict" data-testid="zone-verdict" role="status" aria-live="polite"></p>
|
|
32
|
+
|
|
33
|
+
<main>
|
|
34
|
+
<div class="board" id="board" data-testid="board">
|
|
35
|
+
<section class="column" data-testid="column-backlog" data-zone="backlog" aria-label="Backlog">
|
|
36
|
+
<h2>Backlog <span class="zone-hint"></span></h2>
|
|
37
|
+
<div class="cards"></div>
|
|
38
|
+
</section>
|
|
39
|
+
<section class="column" data-testid="column-planning" data-zone="planning" aria-label="Planning">
|
|
40
|
+
<h2>Planning <span class="zone-hint"></span></h2>
|
|
41
|
+
<div class="cards"></div>
|
|
42
|
+
</section>
|
|
43
|
+
<section class="column" data-testid="column-ready" data-zone="ready" aria-label="Ready">
|
|
44
|
+
<h2>Ready <span class="zone-hint"></span></h2>
|
|
45
|
+
<div class="cards"></div>
|
|
46
|
+
</section>
|
|
47
|
+
<section class="column delivering" data-testid="column-delivering" data-zone="delivering" aria-label="Delivering">
|
|
48
|
+
<h2>Delivering <span class="zone-hint"></span></h2>
|
|
49
|
+
<div class="lanes"></div>
|
|
50
|
+
</section>
|
|
51
|
+
<section class="column" data-testid="column-blocked" data-zone="blocked" aria-label="Blocked">
|
|
52
|
+
<h2>Blocked <span class="zone-hint"></span></h2>
|
|
53
|
+
<div class="cards"></div>
|
|
54
|
+
</section>
|
|
55
|
+
<section class="column" data-testid="column-done" data-zone="done" aria-label="Done">
|
|
56
|
+
<h2><span id="done-count" data-testid="done-count">Done</span> <span class="zone-hint"></span></h2>
|
|
57
|
+
<div class="cards"></div>
|
|
58
|
+
</section>
|
|
59
|
+
</div>
|
|
60
|
+
</main>
|
|
61
|
+
|
|
62
|
+
<aside class="side-panel" id="side-panel" data-testid="side-panel" aria-label="Details" hidden>
|
|
63
|
+
<div class="side-panel-bar">
|
|
64
|
+
<button type="button" id="side-panel-close" data-testid="side-panel-close" aria-label="Close panel">×</button>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="side-panel-view" id="side-panel-view"></div>
|
|
67
|
+
</aside>
|
|
68
|
+
|
|
69
|
+
<dialog class="panel" id="confirm-stop" data-testid="confirm-stop" aria-labelledby="confirm-title">
|
|
70
|
+
<h2 id="confirm-title">Stop delivery?</h2>
|
|
71
|
+
<p id="confirm-text"></p>
|
|
72
|
+
<div class="dialog-actions">
|
|
73
|
+
<button type="button" id="confirm-cancel">Cancel</button>
|
|
74
|
+
<button type="button" class="danger" id="confirm-ok">Stop</button>
|
|
75
|
+
</div>
|
|
76
|
+
</dialog>
|
|
77
|
+
|
|
78
|
+
<div class="toast" id="toast" data-testid="toast" role="status" aria-live="polite" hidden></div>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|