create-pmos 0.475.0 → 0.477.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/package.json +33 -33
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/board-publish-ui-test.js +11 -16
- package/workspace/board-shared-ui-test.js +34 -33
- package/workspace/changelog.json +32 -0
- package/workspace/guide/briefing-premium.md +2 -2
- package/workspace/guide/claude-proposes.md +8 -2
- package/workspace/guide/forecast.md +16 -3
- package/workspace/guide/home.md +2 -2
- package/workspace/guide/settings.md +9 -0
- package/workspace/guide/workflows.md +13 -2
- package/workspace/home-railcard-test.js +4 -4
- package/workspace/home-rows-test.js +15 -4
- package/workspace/ini-workflow-test.js +1 -1
- package/workspace/lib/board-pack.js +20 -1
- package/workspace/lib/board-trail.js +17 -1
- package/workspace/lib/boards-host.js +22 -2
- package/workspace/lib/briefing-premium-agent.js +2 -2
- package/workspace/lib/engine/boards.js +15 -3
- package/workspace/lib/engine/workflows.js +79 -10
- package/workspace/lib/forecast-offer.js +57 -0
- package/workspace/lib/grill-runs.js +1 -0
- package/workspace/lib/grill.js +1 -1
- package/workspace/lib/insight-moves.js +8 -6
- package/workspace/lib/news-for-you.js +6 -4
- package/workspace/lib/proposals.js +4 -3
- package/workspace/lib/report-chat.js +2 -0
- package/workspace/lib/route-modules.js +1 -0
- package/workspace/lib/routes-board-publish.js +7 -2
- package/workspace/lib/routes-boards.js +18 -5
- package/workspace/lib/routes-briefing-premium.js +16 -2
- package/workspace/lib/routes-forecast.js +8 -1
- package/workspace/lib/routes-grill.js +70 -0
- package/workspace/lib/routes-insight-moves.js +7 -5
- package/workspace/lib/routes-news.js +3 -1
- package/workspace/lib/routes-proposals.js +8 -6
- package/workspace/lib/routes-workflows.js +13 -0
- package/workspace/lib/wf-bridge.js +165 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/panels-test.js +1 -2
- package/workspace/public/pm/bd-fc-card.js +45 -0
- package/workspace/public/pm/bd-next.js +1 -1
- package/workspace/public/pm/bd-publish.css +22 -18
- package/workspace/public/pm/bd-publish.js +57 -48
- package/workspace/public/pm/bd-shared.css +92 -30
- package/workspace/public/pm/bd-shared.js +143 -55
- package/workspace/public/pm/bd-span.js +27 -7
- package/workspace/public/pm/cozy-board.css +15 -0
- package/workspace/public/pm/cozy-ev.css +52 -0
- package/workspace/public/pm/cozy-home.css +4 -4
- package/workspace/public/pm/cozy-insights.css +23 -0
- package/workspace/public/pm/cozy-jl.js +158 -0
- package/workspace/public/pm/cozy-news.js +56 -2
- package/workspace/public/pm/cozy-panels.js +3 -2
- package/workspace/public/pm/cozy-settings.js +35 -7
- package/workspace/public/pm/cozy-today.css +6 -0
- package/workspace/public/pm/cozy-viewer.js +19 -3
- package/workspace/public/pm/goal-forecast.js +101 -0
- package/workspace/public/pm/grill-words.js +53 -0
- package/workspace/public/pm/hi-pop.css +16 -0
- package/workspace/public/pm/home-app.js +42 -5
- package/workspace/public/pm/home-day.js +5 -3
- package/workspace/public/pm/home-list.js +14 -4
- package/workspace/public/pm/home-mentions.js +5 -0
- package/workspace/public/pm/home-task.js +1 -1
- package/workspace/public/pm/home-today.js +14 -5
- package/workspace/public/pm/ini-props.js +41 -8
- package/workspace/public/pm/ini-view-model.js +27 -14
- package/workspace/public/pm/ini-view.css +62 -37
- package/workspace/public/pm/ini-view.js +1 -1
- package/workspace/public/pm/ini-wf-model.js +76 -19
- package/workspace/public/pm/ini-wf.js +69 -18
- package/workspace/public/pm/metric-drafts.css +9 -0
- package/workspace/public/pm/metric-drafts.js +2 -2
- package/workspace/public/pm/premium-board.js +13 -3
- package/workspace/public/pm/premium-insights.js +86 -11
- package/workspace/public/pm/premium-report-tab.js +13 -3
- package/workspace/public/pm/premium-vw-item.js +1 -1
- package/workspace/public/pm/readonly.js +1 -0
- package/workspace/public/pm/report-chat.js +2 -1
- package/workspace/public/pm/task-card.js +4 -3
- package/workspace/public/pm/wf-page.css +9 -0
- package/workspace/public/pm/wf-page.js +30 -1
- package/workspace/run-tests.js +10 -2
- package/workspace/server.js +5 -2
- package/workspace/test-lists/forecast-board.json +5 -0
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
.iv-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--cz-ink3); }
|
|
37
37
|
.iv-st.late i, .iv-st.risk i { background: var(--cz-risk); }
|
|
38
38
|
.iv-st.ok i { background: var(--cz-ok); }
|
|
39
|
-
.iv-av { width: 22px; height: 22px; border-radius: 50%; background: var(--cz-bluebg); color: var(--cz-blueink); font-size:
|
|
39
|
+
.iv-av { width: 22px; height: 22px; border-radius: 50%; background: var(--cz-bluebg); color: var(--cz-blueink); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
|
|
40
40
|
button.iv-wf, .iv-prog { color: var(--cz-ink3) !important; border-radius: 999px; padding: 2px 6px !important; margin-left: -6px !important; }
|
|
41
41
|
button.iv-wf:hover, .iv-prog:hover { background: var(--cz-well2) !important; color: var(--cz-ink) !important; }
|
|
42
42
|
|
|
@@ -45,7 +45,7 @@ button.iv-wf:hover, .iv-prog:hover { background: var(--cz-well2) !important; col
|
|
|
45
45
|
.iv-sch { display: flex; align-items: center; gap: 8px; }
|
|
46
46
|
.iv-sch b { font-size: var(--fs-3); font-weight: 800; min-width: 0; }
|
|
47
47
|
.iv-sch .iv-r { font-weight: 700; }
|
|
48
|
-
.iv-no { width: 22px; height: 22px; border-radius: 7px; background: var(--cz-well); color: var(--cz-ink3); font-size:
|
|
48
|
+
.iv-no { width: 22px; height: 22px; border-radius: 7px; background: var(--cz-well); color: var(--cz-ink3); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
|
|
49
49
|
.iv-sch .iv-no { background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
50
50
|
.iv-no.ms { width: 14px; height: 14px; border-radius: 3px; margin: 0 4px; transform: rotate(45deg); background: var(--cz-card); border: 1.6px solid var(--cz-ink3); }
|
|
51
51
|
.iv-sch .iv-no.ms { background: var(--cz-blueink); border-color: var(--cz-blueink); }
|
|
@@ -78,11 +78,11 @@ button.iv-wf:hover, .iv-prog:hover { background: var(--cz-well2) !important; col
|
|
|
78
78
|
|
|
79
79
|
/* the line: the Board row line's height and colours (10 px; done grey, now blue, later light), a 2 px notch between parts */
|
|
80
80
|
.iv-tl { --tl-done: color-mix(in srgb, var(--cz-ink3) 88%, var(--cz-card)); --tl-plan: color-mix(in srgb, var(--cz-ink3) 24%, var(--cz-card)); position: relative; display: flex; flex-direction: column; padding: 0 6px; }
|
|
81
|
-
.iv-tl-dep { align-self: flex-start; display: inline-flex !important; align-items: center; gap: 4px; font-size:
|
|
81
|
+
.iv-tl-dep { align-self: flex-start; display: inline-flex !important; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); background: var(--cz-well) !important; border-radius: 999px !important; padding: 2px 9px !important; margin-bottom: 4px; }
|
|
82
82
|
@media (hover: hover) { .iv-tl-dep:hover { color: var(--cz-ink); } }
|
|
83
83
|
.iv-tl-nm { position: relative; height: 18px; }
|
|
84
84
|
.iv-tl.nonames .iv-tl-nm { height: 6px; }
|
|
85
|
-
.iv-tln { position: absolute; bottom: 2px; font-size:
|
|
85
|
+
.iv-tln { position: absolute; bottom: 2px; font-size: 11px; font-weight: 800; color: var(--cz-ink2); white-space: nowrap; transform: translateX(-50%); max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
|
|
86
86
|
.iv-tln.r { transform: translateX(calc(-100% + 8px)); }
|
|
87
87
|
.iv-tln.l { transform: translateX(-8px); }
|
|
88
88
|
.iv-tln.late { color: var(--cz-late); }
|
|
@@ -135,7 +135,7 @@ button.iv-wf:hover, .iv-prog:hover { background: var(--cz-well2) !important; col
|
|
|
135
135
|
.iv-tlm.n { width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px !important; }
|
|
136
136
|
.iv-tlm b { display: block; transform: rotate(-45deg); font-size: 9.5px; font-weight: 800; line-height: 13px; text-align: center; color: var(--cz-ink2); }
|
|
137
137
|
/* the labels under it: the start, the ◇ dates, the end with what it says */
|
|
138
|
-
.iv-tl-dt { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 16px; font-size:
|
|
138
|
+
.iv-tl-dt { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 16px; font-size: 11px; color: var(--cz-ink3); font-weight: 600; }
|
|
139
139
|
.iv-tld { position: absolute; top: 0; transform: translateX(-50%); font-weight: 700; white-space: nowrap; }
|
|
140
140
|
.iv-tld.late { color: var(--cz-late); }
|
|
141
141
|
.iv-tle { margin-left: auto; white-space: nowrap; }
|
|
@@ -207,7 +207,7 @@ button.iv-tt:hover { text-decoration: underline; text-decoration-color: var(--cz
|
|
|
207
207
|
.iv-jmv { color: var(--cz-blueink); font-weight: 700; white-space: nowrap; }
|
|
208
208
|
.ivk-d[data-ivk-jira] { cursor: grab; }
|
|
209
209
|
.tkc.ivq .ivq-st.jq { flex-wrap: wrap; }
|
|
210
|
-
.tkc.ivq .ivq-st.jq > .ivq-jn { flex-basis: 100%; margin: 2px 8px 4px; font-size:
|
|
210
|
+
.tkc.ivq .ivq-st.jq > .ivq-jn { flex-basis: 100%; margin: 2px 8px 4px; font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
|
|
211
211
|
.iv-bxw > .iv-jq { margin: 3px 3px 0; }
|
|
212
212
|
.iv-more, .iv-grp { display: flex !important; align-items: center; gap: 8px; width: 100%; min-height: 40px; font-size: var(--fs-2); font-weight: 700; color: var(--cz-ink2); border-top: 1px solid var(--cz-hair) !important; }
|
|
213
213
|
.iv-grp b { flex: 1; font-size: var(--fs-3); font-weight: 700; color: var(--cz-ink); }
|
|
@@ -280,7 +280,7 @@ button.iv-bxw.jr:hover .iv-cb { box-shadow: 0 0 0 3px var(--cz-well); }
|
|
|
280
280
|
.ivt-r { display: flex; min-height: 44px; border-top: 1px solid var(--cz-hair); position: relative; }
|
|
281
281
|
.ivt-r.ax { border-top: 0; min-height: 30px; background: var(--cz-well); }
|
|
282
282
|
.ivt-r.ax .ivt-n { background: var(--cz-well); }
|
|
283
|
-
.ivt-r.ax .ivt-c span { position: absolute; top: 8px; font-size:
|
|
283
|
+
.ivt-r.ax .ivt-c span { position: absolute; top: 8px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); white-space: nowrap; padding-left: 4px; }
|
|
284
284
|
.ivt-r.ax .ivt-c span.b { color: var(--cz-ink2); font-weight: 800; }
|
|
285
285
|
.ivt-r.ax .ivt-c span.cut { visibility: hidden; } /* cut by an edge or under the Today chip (ini-tasks.js wireDrag) */
|
|
286
286
|
/* Home's phone rule gives every button in its Viewer 44 px (home-ini.css .hi-v button): a bar, a mark or a title in the Timeline keeps its
|
|
@@ -321,7 +321,7 @@ button.iv-bxw.jr:hover .iv-cb { box-shadow: 0 0 0 3px var(--cz-well); }
|
|
|
321
321
|
.ivt-gp { position: absolute; top: 3px; bottom: 3px; width: 6px; border-radius: 3px; background: var(--cz-card); box-shadow: 0 0 0 1px var(--cz-hair); cursor: ew-resize; opacity: 0; }
|
|
322
322
|
.ivt-gp.l { left: 2px; } .ivt-gp.r { right: 2px; }
|
|
323
323
|
.ivt-b:hover .ivt-gp, .ivt-b.drag .ivt-gp { opacity: 1; }
|
|
324
|
-
.ivt-av { width: 16px; height: 16px; border-radius: 50%; background: var(--cz-card); color: var(--cz-ink2); font-size:
|
|
324
|
+
.ivt-av { width: 16px; height: 16px; border-radius: 50%; background: var(--cz-card); color: var(--cz-ink2); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
|
|
325
325
|
.ivt-b .ivt-av { pointer-events: none; }
|
|
326
326
|
.ivt-d { position: absolute !important; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px !important; border-radius: 50% !important; background: var(--cz-card) !important; border: 2.5px solid var(--cz-ink3) !important; z-index: 1; }
|
|
327
327
|
.ivt-d.pr { border-color: var(--cz-blue) !important; }
|
|
@@ -333,7 +333,7 @@ button.iv-bxw.jr:hover .iv-cb { box-shadow: 0 0 0 3px var(--cz-well); }
|
|
|
333
333
|
.ivt-g:hover { border-color: var(--cz-blue) !important; color: var(--cz-blueink) !important; }
|
|
334
334
|
.ivt-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--cz-solid); color: var(--cz-onsolid); font-size: var(--fs-2); font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; pointer-events: none; }
|
|
335
335
|
.ivt-today { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--cz-blue); z-index: 2; pointer-events: none; }
|
|
336
|
-
.ivt-today i { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-style: normal; font-size:
|
|
336
|
+
.ivt-today i { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; color: var(--cz-card); background: var(--cz-blue); border-radius: 999px; padding: 1px 6px; white-space: nowrap; }
|
|
337
337
|
.ivt-lg { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-2); color: var(--cz-ink3); padding: 8px 4px 0; }
|
|
338
338
|
.ivt-lg span { display: inline-flex; align-items: center; gap: 6px; }
|
|
339
339
|
.ivt-lg i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; background: var(--cz-well2); }
|
|
@@ -345,7 +345,7 @@ button.iv-bxw.jr:hover .iv-cb { box-shadow: 0 0 0 3px var(--cz-well); }
|
|
|
345
345
|
.ivt.cols { --nw: calc(clamp(150px, 24cqw, 280px) + var(--tl-c1w, 0px) + var(--tl-c2w, 0px) + var(--tl-c3w, 0px) + var(--tl-c4w, 0px) + var(--tl-c5w, 0px)); }
|
|
346
346
|
.ivt.cols .ivt-n { gap: 0; }
|
|
347
347
|
.ivt-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
|
|
348
|
-
.ivt-r.ax .ivt-t, .ivt-r.ax .ivt-col { font-size:
|
|
348
|
+
.ivt-r.ax .ivt-t, .ivt-r.ax .ivt-col { font-size: 11px; font-weight: 700; color: var(--cz-ink3); }
|
|
349
349
|
.ivt-col { flex: none; box-sizing: border-box; padding-left: 8px; display: flex; align-items: center; min-width: 0; font-size: var(--fs-2); color: var(--cz-ink2); white-space: nowrap; overflow: hidden; }
|
|
350
350
|
.ivt-col.p1 { width: var(--tl-c1w); } .ivt-col.p2 { width: var(--tl-c2w); } .ivt-col.p3 { width: var(--tl-c3w); } .ivt-col.p4 { width: var(--tl-c4w); } .ivt-col.p5 { width: var(--tl-c5w); }
|
|
351
351
|
.ivt-col .lt { color: var(--cz-late); font-weight: 700; }
|
|
@@ -371,7 +371,7 @@ button.ivt-st:hover, button.ivt-st[aria-expanded="true"] { background: var(--cz-
|
|
|
371
371
|
.ivs-ck[aria-disabled="true"] { cursor: default; background: transparent !important; }
|
|
372
372
|
.ivs-ck i { width: 18px; height: 18px; border-radius: 5px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1.6px solid color-mix(in srgb, var(--cz-ink3) 60%, var(--cz-card)); color: var(--cz-card); box-sizing: border-box; }
|
|
373
373
|
.ivs-ck.on i { background: var(--cz-blue); border-color: var(--cz-blue); }
|
|
374
|
-
.ivs-ck small { margin-left: auto; font-size:
|
|
374
|
+
.ivs-ck small { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
|
|
375
375
|
|
|
376
376
|
/* a phone: the title sits above its bar; no drag (tap a bar for the picker) */
|
|
377
377
|
@container (max-width: 520px) {
|
|
@@ -408,7 +408,7 @@ button.ivt-st:hover, button.ivt-st[aria-expanded="true"] { background: var(--cz-
|
|
|
408
408
|
.ivk-d .iv-tt { font-size: var(--fs-3); line-height: 1.3; overflow-wrap: anywhere; }
|
|
409
409
|
.ivk-d.x .iv-tt { color: var(--cz-ink3); font-weight: 600; }
|
|
410
410
|
.ivk-m { display: flex; align-items: center; gap: 6px; font-size: var(--fs-2); color: var(--cz-ink3); min-height: 22px; }
|
|
411
|
-
.ivk-m .ivt-av { margin-left: auto; width: 20px; height: 20px; font-size:
|
|
411
|
+
.ivk-m .ivt-av { margin-left: auto; width: 20px; height: 20px; font-size: 11px; background: var(--cz-well); }
|
|
412
412
|
.ivk-d:hover .iv-dc.none, .ivk-d .iv-dc.none:focus-visible { opacity: 1; }
|
|
413
413
|
.ivk-tabs { display: none; gap: 4px; margin-bottom: 8px; overflow-x: auto; }
|
|
414
414
|
.ivk-tabs button { height: 32px; padding: 0 12px !important; border-radius: 999px !important; font-size: var(--fs-2); font-weight: 800; color: var(--cz-ink3) !important; white-space: nowrap; }
|
|
@@ -448,7 +448,7 @@ button.ivt-st:hover, button.ivt-st[aria-expanded="true"] { background: var(--cz-
|
|
|
448
448
|
span.iv-dc.ms { display: inline-flex; border-radius: 999px; }
|
|
449
449
|
.ivt-ms { position: absolute; top: 50%; height: 0; z-index: 2; display: flex; align-items: center; pointer-events: auto; }
|
|
450
450
|
.ivt-ms i { width: 11px; height: 11px; margin-left: -5.5px; transform: rotate(45deg); border-radius: 2px; background: var(--cz-card); border: 2px solid var(--cz-ink3); box-sizing: border-box; flex: none; }
|
|
451
|
-
.ivt-ms b { margin-left: 7px; font-size:
|
|
451
|
+
.ivt-ms b { margin-left: 7px; font-size: 11px; font-weight: 700; color: var(--cz-ink2); white-space: nowrap; }
|
|
452
452
|
.ivt-ms.dn i { background: var(--cz-ink3); box-shadow: 0 0 0 2px var(--cz-card); }
|
|
453
453
|
.ivt-ms.lt i { border-color: var(--cz-dot-late, var(--cz-late)); }
|
|
454
454
|
.ivt-ms.lt b { color: var(--cz-late); font-weight: 800; }
|
|
@@ -468,7 +468,7 @@ span.iv-dc.ms { display: inline-flex; border-radius: 999px; }
|
|
|
468
468
|
.vs-chip { display: inline-flex !important; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 12px !important; border-radius: 999px !important; background: var(--cz-well) !important; font-size: var(--fs-2); font-weight: 800; color: var(--cz-ink2) !important; white-space: nowrap; max-width: 200px; flex: none; }
|
|
469
469
|
.vs-chip .t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
470
470
|
.vs-chip.dr { background: var(--cz-bluebg) !important; color: var(--cz-blueink) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cz-blue) 45%, var(--cz-card)); }
|
|
471
|
-
.vs-chip .c { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--cz-blue); color: var(--cz-card); font-size:
|
|
471
|
+
.vs-chip .c { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--cz-blue); color: var(--cz-card); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
|
|
472
472
|
.vs-slip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink3); font-size: var(--fs-2); font-weight: 800; flex: none; }
|
|
473
473
|
.vs-slip.late { background: var(--cz-latebg); color: var(--cz-late); }
|
|
474
474
|
.vs-seal { width: 36px; height: 36px; border-radius: 999px !important; display: inline-flex !important; align-items: center; justify-content: center; background: var(--cz-ink) !important; color: var(--cz-card) !important; flex: none; }
|
|
@@ -484,7 +484,7 @@ span.iv-dc.ms { display: inline-flex; border-radius: 999px; }
|
|
|
484
484
|
.ivt-pl { position: absolute; left: var(--tl-x, 0); width: var(--tl-w, 0); bottom: 5px; height: 1.6px; background: var(--cz-ink2); z-index: 1; pointer-events: auto; }
|
|
485
485
|
.ivt-pl::before, .ivt-pl::after { content: ""; position: absolute; top: -3px; width: 1.6px; height: 7.6px; background: var(--cz-ink2); }
|
|
486
486
|
.ivt-pl::before { left: 0; } .ivt-pl::after { right: 0; }
|
|
487
|
-
.ivt-sl { position: absolute; left: var(--tl-x, 0); top: 50%; transform: translateY(-50%); font-size:
|
|
487
|
+
.ivt-sl { position: absolute; left: var(--tl-x, 0); top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--cz-ink2); white-space: nowrap; z-index: 1; pointer-events: none; }
|
|
488
488
|
.ivt-lg i.pl { height: 1.6px; border-radius: 0; background: var(--cz-ink2); position: relative; }
|
|
489
489
|
.ivt-lg i.pl::before, .ivt-lg i.pl::after { content: ""; position: absolute; top: -3px; width: 1.6px; height: 7.6px; background: var(--cz-ink2); }
|
|
490
490
|
.ivt-lg i.pl::before { left: 0; } .ivt-lg i.pl::after { right: 0; }
|
|
@@ -494,7 +494,7 @@ span.iv-dc.ms { display: inline-flex; border-radius: 999px; }
|
|
|
494
494
|
.vs-m .vs-r { position: relative; display: flex; align-items: center; }
|
|
495
495
|
.vs-m .vs-r .o { flex: 1; min-width: 0; min-height: 44px; }
|
|
496
496
|
.vs-m .nn { display: flex; flex-direction: column; min-width: 0; text-align: left; line-height: 1.25; padding: 4px 0; }
|
|
497
|
-
.vs-m .nn small { font-size:
|
|
497
|
+
.vs-m .nn small { font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
|
|
498
498
|
.vs-m .vs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-blue); margin-left: auto; flex: none; }
|
|
499
499
|
.vs-m .vs-k { margin-left: auto; display: inline-flex; color: var(--cz-ink2); }
|
|
500
500
|
.vs-m .vs-tl { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: none; gap: 2px; background: var(--cz-well); border-radius: 10px; padding: 2px; }
|
|
@@ -563,7 +563,7 @@ span.iv-dc.ms { display: inline-flex; border-radius: 999px; }
|
|
|
563
563
|
.lk-jt::before { content: ""; position: absolute; inset: -8px; }
|
|
564
564
|
.lk-jt.or { border-color: var(--cz-late) !important; }
|
|
565
565
|
.lk-jt:hover, .lk-jt:focus-visible { transform: scale(1.25); }
|
|
566
|
-
.lk-bang { position: absolute; left: var(--tl-lk-x); top: var(--tl-lk-y); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cz-late); color: var(--cz-card); font-size:
|
|
566
|
+
.lk-bang { position: absolute; left: var(--tl-lk-x); top: var(--tl-lk-y); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cz-late); color: var(--cz-card); font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
|
|
567
567
|
.lk-tip { position: absolute; left: var(--tl-lk-x); top: var(--tl-lk-y); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: var(--cz-solid); color: var(--cz-onsolid); font-size: var(--fs-2); font-weight: 600; padding: 4px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 5; }
|
|
568
568
|
.lk-tip b { font-weight: 800; }
|
|
569
569
|
/* the List's and Kanban's meta: the link icon and the first task this one waits on, then +N */
|
|
@@ -586,15 +586,15 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
586
586
|
.lk-pr .ic.jr { background: var(--cz-latebg); color: var(--cz-late); }
|
|
587
587
|
.lk-pr .w { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
|
|
588
588
|
.lk-pr .w b { font-size: var(--fs-3); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
|
|
589
|
-
.lk-pr .w small { font-size:
|
|
589
|
+
.lk-pr .w small { font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
|
|
590
590
|
.lk-pr .vs-ok { width: 32px; height: 32px; }
|
|
591
591
|
.lk-pr .vs-ti.ok { color: var(--cz-blueink) !important; }
|
|
592
592
|
.lk-m hr { border: 0; border-top: 1px solid var(--cz-hair); margin: 6px 0; }
|
|
593
|
-
.lk-m .h { display: block; font-size:
|
|
593
|
+
.lk-m .h { display: block; font-size: 11px; font-weight: 800; color: var(--cz-ink3); text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px 4px; }
|
|
594
594
|
.lk-ny { color: var(--cz-late) !important; }
|
|
595
595
|
.lk-q { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 4px 8px !important; text-align: left; }
|
|
596
596
|
.lk-q .nn { flex: 1; display: flex; flex-direction: column; font-size: var(--fs-3); font-weight: 700; line-height: 1.3; }
|
|
597
|
-
.lk-q .nn small { font-size:
|
|
597
|
+
.lk-q .nn small { font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
|
|
598
598
|
.lk-sw { width: 34px; height: 20px; border-radius: 999px; background: var(--cz-well2); position: relative; flex: none; }
|
|
599
599
|
.lk-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--cz-card); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
|
|
600
600
|
.lk-sw.on { background: var(--cz-blue); } .lk-sw.on::after { left: 16px; }
|
|
@@ -612,10 +612,10 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
612
612
|
.lk-wt .o:hover { background: var(--cz-well) !important; }
|
|
613
613
|
.lk-wt .ck { width: 22px; display: inline-flex; justify-content: center; color: var(--cz-ink2); flex: none; }
|
|
614
614
|
.lk-wt .nn { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: var(--fs-3); font-weight: 700; line-height: 1.3; }
|
|
615
|
-
.lk-wt .nn small { font-size:
|
|
615
|
+
.lk-wt .nn small { font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
|
|
616
616
|
.lk-wt .k { font-size: var(--fs-2); font-weight: 700; color: var(--cz-ink3); }
|
|
617
617
|
.lk-cm { font-size: var(--fs-2); font-weight: 800; color: var(--cz-late); background: var(--cz-latebg); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
|
|
618
|
-
.lk-tile { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 5px; background: var(--cz-well2); color: var(--cz-ink2); font-size:
|
|
618
|
+
.lk-tile { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 5px; background: var(--cz-well2); color: var(--cz-ink2); font-size: 11px; font-weight: 800; font-style: normal; margin-right: 6px; vertical-align: 1px; }
|
|
619
619
|
.lk-st { display: block; font-size: var(--fs-3); font-weight: 800; padding: 4px 8px 6px; }
|
|
620
620
|
.lk-sr { display: flex; align-items: center; gap: 8px; margin: 4px 4px 2px; padding: 0 10px; height: 38px; border-radius: 10px; border: 1px solid var(--cz-hair); color: var(--cz-ink3); }
|
|
621
621
|
.lk-sr input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--fs-3); color: var(--cz-ink); }
|
|
@@ -637,7 +637,7 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
637
637
|
.ig-dz.ig-over { background: var(--cz-bluebg); }
|
|
638
638
|
.iv-tr[data-ig-drag] { cursor: grab; }
|
|
639
639
|
.iv-tr.drag { opacity: .45; }
|
|
640
|
-
.ig-key { font-family: var(--cz-mono); font-size:
|
|
640
|
+
.ig-key { font-family: var(--cz-mono); font-size: 11px; font-weight: 700; color: var(--cz-ink3); background: var(--cz-well); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
|
|
641
641
|
.ig-tk { text-align: left; }
|
|
642
642
|
/* a ticket's own key is grey mono; a task linked to a ticket keeps its key blue, as the List draws it (em.lk) */
|
|
643
643
|
.ig-tk .iv-tt em:not(.lk), .ivt-n .iv-tt em:not(.lk), .ivk-d .iv-tt em:not(.lk) { font-style: normal; font-family: var(--cz-mono); font-size: var(--fs-2); color: var(--cz-ink3); }
|
|
@@ -654,7 +654,7 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
654
654
|
.ig-emp { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 0 4px; }
|
|
655
655
|
.tkc.ivq .ig-m { min-width: 240px; max-width: calc(100vw - 16px); }
|
|
656
656
|
.tkc.ivq.vs-pop.sheet .ig-m { width: 100%; max-width: none; box-sizing: border-box; }
|
|
657
|
-
.ig-m .ig-h { margin: 0; padding: 8px 12px 4px; font-size:
|
|
657
|
+
.ig-m .ig-h { margin: 0; padding: 8px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--cz-ink3); }
|
|
658
658
|
.ig-m .ig-hr { height: 1px; background: var(--cz-hair); margin: 4px 8px; }
|
|
659
659
|
.ig-m .o { min-height: 40px; }
|
|
660
660
|
.ig-m .ck { width: 16px; display: inline-flex; color: var(--cz-blueink); }
|
|
@@ -710,7 +710,32 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
710
710
|
.iv-fd:hover { background: var(--cz-well) !important; }
|
|
711
711
|
.iv-fd b { font-size: var(--fs-3); font-weight: 700; }
|
|
712
712
|
.iv-fd small { font-size: var(--fs-2); color: var(--cz-ink3); }
|
|
713
|
+
/* Claude grilled it (canvas GrillResult): the angle's mark, the next step, the Simulated tag; the angles and the run said once above */
|
|
714
|
+
.pp-ic.gr { background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
715
|
+
.pp-ph1 .pp-next { color: var(--cz-ink); }
|
|
716
|
+
.pp-ph1 .pp-next b { font-size: inherit; }
|
|
717
|
+
.pp-ph1 .pp-src em.pp-ang, .pp-ghd .pp-ang { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-right: 4px; border-radius: 10px; background: var(--cz-well); color: var(--cz-ink2); font-style: normal; font-weight: 800; font-size: 11px; }
|
|
718
|
+
.pp-ph1 .pp-src em.pp-sim { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-right: 4px; border-radius: 10px; background: var(--cz-riskbg); color: var(--cz-risk); font-style: normal; font-weight: 800; font-size: 11px; }
|
|
719
|
+
.pp-ghd { margin: 2px 4px 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: var(--fs-2); color: var(--cz-ink3); }
|
|
720
|
+
.pp-ghd span { flex: 1 1 220px; }
|
|
721
|
+
.pp-gacts { display: inline-flex; gap: 2px; flex: none; }
|
|
722
|
+
.pp-ned input { width: 100%; box-sizing: border-box; min-height: 36px; margin-top: 2px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font: inherit; font-size: var(--fs-2); }
|
|
723
|
+
.pp-ned input:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
|
|
724
|
+
.pp-gmore { display: flex; align-items: center; gap: 8px; padding: 6px 2px 2px 40px; border-top: 1px solid var(--cz-hair); font-size: var(--fs-2); color: var(--cz-ink2); }
|
|
725
|
+
.pp-gmore span { flex: 1; }
|
|
726
|
+
.pp-gsw { display: none; }
|
|
713
727
|
@media (max-width: 760px) { .pp .pp-ib { width: 40px; height: 40px; } .pp-its { margin-left: 12px; } }
|
|
728
|
+
@media (max-width: 760px) {
|
|
729
|
+
/* a phone: one finding per screen, side by side (GrillResult, Phone); the presses sit under it at 44 px */
|
|
730
|
+
.pp-gl { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; }
|
|
731
|
+
.pp-gl::-webkit-scrollbar { display: none; }
|
|
732
|
+
.pp-gl > .pp-p.gr { flex: 0 0 100%; scroll-snap-align: start; border-top: 0; }
|
|
733
|
+
.pp-p.gr .pp-ph1 { flex-wrap: wrap; }
|
|
734
|
+
.pp-p.gr .pp-gacts { width: 100%; justify-content: flex-end; }
|
|
735
|
+
.pp-p.gr .pp-gacts .pp-ib { width: 44px; height: 44px; }
|
|
736
|
+
.pp-gsw { display: block; margin: 4px 4px 0; font-size: var(--fs-2); color: var(--cz-ink3); }
|
|
737
|
+
}
|
|
738
|
+
|
|
714
739
|
|
|
715
740
|
/* what left the ⋯ for the thing it changes (batch 16 item 5c, canvas FmI2Stage): the stage chip, the dates chip, the dashed + after the
|
|
716
741
|
* people, the ↻ beside Jira's freshness in Linked */
|
|
@@ -779,10 +804,10 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
779
804
|
.iva .iva-l { width: var(--lw); flex: none; min-width: 0; display: flex; align-items: center; gap: 8px; padding-right: 10px; box-sizing: border-box; text-align: left; }
|
|
780
805
|
.iva .iva-c { position: relative; flex: 1; min-width: 0; display: block; align-self: stretch; margin-right: 14px; }
|
|
781
806
|
.iva-ax { display: flex; height: 34px; background: var(--cz-well); }
|
|
782
|
-
.iva-ax .iva-c span { position: absolute; top: 9px; font-size:
|
|
807
|
+
.iva-ax .iva-c span { position: absolute; top: 9px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); white-space: nowrap; transform: translateX(-2px); }
|
|
783
808
|
.iva-ax .iva-c span.b { color: var(--cz-ink2); font-weight: 800; }
|
|
784
809
|
.iva-ft { display: flex; height: 34px; position: relative; }
|
|
785
|
-
.iva-tc { position: absolute; top: 6px; transform: translateX(-50%); font-style: normal; font-size:
|
|
810
|
+
.iva-tc { position: absolute; top: 6px; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; color: var(--cz-card); background: var(--cz-blue); border-radius: 999px; padding: 2px 9px; white-space: nowrap; z-index: 3; }
|
|
786
811
|
.iva-bd { position: relative; }
|
|
787
812
|
.iva-ly { position: absolute; top: 0; bottom: -10px; left: calc(var(--an) + var(--lw)); right: 14px; pointer-events: none; z-index: 2; }
|
|
788
813
|
.iva-ly i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--cz-hair); }
|
|
@@ -802,7 +827,7 @@ button.lk-mt:hover { color: var(--cz-ink) !important; }
|
|
|
802
827
|
.iva-r.k .iva-l { padding-left: 14px; }
|
|
803
828
|
.iva-r.k .iva-l .iv-tt { font-size: var(--fs-2); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
|
|
804
829
|
.iva-r.x .iva-l .iv-tt { color: var(--cz-ink3); font-weight: 600; }
|
|
805
|
-
.iva-nt { font-size:
|
|
830
|
+
.iva-nt { font-size: 11px; font-weight: 800; white-space: nowrap; flex: none; }
|
|
806
831
|
.iva-nt.lt { color: var(--cz-late); }
|
|
807
832
|
.iva-nt.you { color: var(--cz-blueink); }
|
|
808
833
|
.iva-mg { color: var(--cz-ink2); display: inline-flex; }
|
|
@@ -834,7 +859,7 @@ button.iva-tb:hover, button.iva-r.g:not(:disabled):hover { filter: brightness(.9
|
|
|
834
859
|
.iva .iva-l { padding: 0; }
|
|
835
860
|
.iva-ax .iva-c span.mo, .iva-ly i.mo { display: none; }
|
|
836
861
|
.iva-ax .iva-c span.qm { visibility: hidden; position: relative; }
|
|
837
|
-
.iva-ax .iva-c span.qm::after { content: attr(data-q); font-size:
|
|
862
|
+
.iva-ax .iva-c span.qm::after { content: attr(data-q); font-size: 11px; visibility: visible; position: absolute; left: 0; top: 0; white-space: nowrap; }
|
|
838
863
|
.iva-r.g:not(.nm) .iva-l { display: none; }
|
|
839
864
|
.iva-r.g.nm .iva-l, .iva-r.k .iva-l { position: absolute; top: 5px; width: auto; --at: max(0px, min((100% - var(--an) - 14px) * var(--tl-p, 0), 100% - var(--an) - 234px)); left: calc(var(--an) + var(--at)); max-width: calc(100% - var(--an) - var(--at) - 8px); padding: 0; z-index: 3; gap: 5px; }
|
|
840
865
|
.iva-r.g.nm .iva-l small, .iva-r.g.nm .iva-ch { display: none; }
|
|
@@ -911,7 +936,7 @@ button.iv-dtc { min-height: 28px; background: transparent !important; padding: 0
|
|
|
911
936
|
.iv-setd { display: inline-flex !important; align-items: center; gap: 6px; min-height: 40px; font-size: var(--fs-3); font-weight: 800; color: var(--cz-blueink) !important; }
|
|
912
937
|
.iv-ro { display: flex; align-items: flex-end; gap: 28px; padding-top: 2px; }
|
|
913
938
|
.iv-ro > div { display: flex; flex-direction: column; gap: 1px; }
|
|
914
|
-
.iv-ro small { font-size:
|
|
939
|
+
.iv-ro small { font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--cz-ink3); }
|
|
915
940
|
.iv-ro b { font-size: var(--fs-5); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--cz-ink); line-height: 1.15; }
|
|
916
941
|
.iv-ro b i { font-style: normal; font-size: var(--fs-2); font-weight: 700; color: var(--cz-ink3); margin-left: 3px; }
|
|
917
942
|
.iv-ro .hot b, .iv-ro .hot small { color: var(--cz-late); }
|
|
@@ -962,7 +987,7 @@ button.iv-gr:hover { background: var(--cz-well) !important; }
|
|
|
962
987
|
.iv-grk { width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
963
988
|
.iv-gr.late .iv-grk { background: var(--cz-latebg); color: var(--cz-late); }
|
|
964
989
|
.iv-grn { flex: 1; min-width: 0; font-size: var(--fs-3); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
965
|
-
.iv-gr .iv-av { width: 28px; height: 28px; font-size:
|
|
990
|
+
.iv-gr .iv-av { width: 28px; height: 28px; font-size: 11px; background: var(--cz-well2); color: var(--cz-ink2); flex: none; }
|
|
966
991
|
.iv-grw { font-size: var(--fs-2); font-weight: 800; color: var(--cz-blueink); white-space: nowrap; }
|
|
967
992
|
.iv-gr.late .iv-grw { color: var(--cz-late); }
|
|
968
993
|
.iv-gx-dn { margin: 0; padding: 8px 8px 4px; font-size: var(--fs-2); font-weight: 700; color: var(--cz-ink3); }
|
|
@@ -972,12 +997,12 @@ button.iv-gr:hover { background: var(--cz-well) !important; }
|
|
|
972
997
|
/* the meta line: 40 px presses on one line that never wraps; the program chip truncates first */
|
|
973
998
|
.iv-gx .iv-meta { flex-wrap: nowrap; gap: 4px; min-width: 0; margin: 0; }
|
|
974
999
|
.iv-mt { width: 40px; height: 40px; flex: none; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 999px !important; color: var(--cz-ink3); }
|
|
975
|
-
.iv-mt .iv-av { width: 28px; height: 28px; font-size:
|
|
1000
|
+
.iv-mt .iv-av { width: 28px; height: 28px; font-size: 11px; background: var(--cz-well2); color: var(--cz-ink2); }
|
|
976
1001
|
.iv-ring { color: var(--cz-ink3); }
|
|
977
1002
|
.iv-ring svg { width: 30px; height: 30px; padding: 6px; box-sizing: border-box; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--cz-ink3) 60%, transparent); }
|
|
978
1003
|
.iv-avs { width: auto; padding: 0 6px !important; }
|
|
979
1004
|
.iv-avs .iv-av + .iv-av { margin-left: -8px; box-shadow: 0 0 0 2px var(--cz-card); }
|
|
980
|
-
.iv-avn { min-width: 28px; height: 28px; margin-left: -8px; border-radius: 999px; background: var(--cz-well2); color: var(--cz-ink2); font-size:
|
|
1005
|
+
.iv-avn { min-width: 28px; height: 28px; margin-left: -8px; border-radius: 999px; background: var(--cz-well2); color: var(--cz-ink2); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--cz-card); }
|
|
981
1006
|
.iv-mt.iv-addp { width: 40px !important; height: 40px; border: 0 !important; margin: 0; }
|
|
982
1007
|
.iv-mt.iv-addp svg { width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--cz-ink3) 60%, transparent); }
|
|
983
1008
|
button.iv-mt.iv-wf { padding: 0 !important; margin: 0 !important; }
|
|
@@ -1012,7 +1037,7 @@ button.iv-mt.iv-wf { padding: 0 !important; margin: 0 !important; }
|
|
|
1012
1037
|
.ab-lk { display: inline-flex !important; align-items: center; gap: 6px; font-size: var(--fs-3); font-weight: 800; color: var(--cz-blueink) !important; margin: 8px 14px 0 0; padding: 0 !important; text-decoration: none; cursor: pointer; }
|
|
1013
1038
|
.ab-ml { display: flex; flex-direction: column; gap: 14px; }
|
|
1014
1039
|
.ab-mr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
|
|
1015
|
-
.ab-mk { font-size:
|
|
1040
|
+
.ab-mk { font-size: 11px; font-weight: 800; color: var(--cz-ink3); letter-spacing: .02em; }
|
|
1016
1041
|
.ab-mn { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
|
1017
1042
|
.ab-mn b { font-size: var(--fs-3); font-weight: 700; }
|
|
1018
1043
|
.ab-mn span { font-size: var(--fs-2); color: var(--cz-ink3); font-weight: 600; }
|
|
@@ -1022,7 +1047,7 @@ button.iv-mt.iv-wf { padding: 0 !important; margin: 0 !important; }
|
|
|
1022
1047
|
.ab-trk.behind .fl, .ab-trk.stale .fl, .ab-trk.short .fl { fill: var(--cz-late); }
|
|
1023
1048
|
.ab-trk.on .fl, .ab-trk.ahead .fl, .ab-trk.hit .fl { fill: var(--cz-ok); }
|
|
1024
1049
|
.ab-trk .pc { stroke: var(--cz-ink); stroke-width: 2; stroke-linecap: round; opacity: .75; }
|
|
1025
|
-
.ab-lb { display: flex; justify-content: space-between; font-size:
|
|
1050
|
+
.ab-lb { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--cz-ink3); font-variant-numeric: tabular-nums; }
|
|
1026
1051
|
.ab-pl { font-size: var(--fs-2); font-weight: 800; color: var(--cz-ink2); }
|
|
1027
1052
|
.ab-pl.on, .ab-pl.ahead, .ab-pl.hit { color: var(--cz-ok); }
|
|
1028
1053
|
/* a phone, or a narrow Viewer */
|
|
@@ -1045,9 +1070,9 @@ html.ad-still .iv-mc-top.adl, html.ad-still .iv-mc-top.adl .iv-ask .ad-svg { ani
|
|
|
1045
1070
|
.mi-mk0 { stop-color: var(--cz-ink); stop-opacity: 1; } .mi-mk1 { stop-color: var(--cz-ink); stop-opacity: 0; } .mi-mkf { fill: var(--cz-ink); }
|
|
1046
1071
|
.mi-star { fill: var(--mi-star); }
|
|
1047
1072
|
.mi-qm { fill: var(--mi-qm); font-size: var(--fs-4); font-weight: 800; }
|
|
1048
|
-
.mi-tx { font: 800
|
|
1073
|
+
.mi-tx { font: 800 11px var(--cz-sans); fill: var(--cz-ink3); letter-spacing: .02em; stroke: none; }
|
|
1049
1074
|
.mi-tx.now { fill: var(--cz-blueink); } .mi-tx.now.late { fill: var(--mi-late); }
|
|
1050
|
-
.mi-ct { font: 800
|
|
1075
|
+
.mi-ct { font: 800 11px var(--cz-sans); fill: var(--cz-ink); stroke: none; }
|
|
1051
1076
|
.mi-bl { stroke: var(--cz-ink3); stroke-opacity: .3; }
|
|
1052
1077
|
.mi-fut path { fill: none; stroke: var(--cz-ink3); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
|
|
1053
1078
|
.mi-pt { fill: none; stroke-linecap: round; stroke-width: 4.5; }
|
|
@@ -1143,7 +1168,7 @@ html.ad-still .mi-svg * { animation: none !important; }
|
|
|
1143
1168
|
.iv-edj span { color: var(--cz-ink3); font-weight: 600; }
|
|
1144
1169
|
.iv-edl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
1145
1170
|
.iv .iv-edc { height: 34px; padding: 0 12px !important; border-radius: 999px !important; background: var(--cz-card) !important; display: inline-flex !important; align-items: center; gap: 6px; color: var(--cz-ink) !important; font-size: var(--fs-2); box-shadow: 0 0 0 1px var(--cz-hair); white-space: nowrap; }
|
|
1146
|
-
.iv .iv-edc small { color: var(--cz-ink3); font-weight: 700; font-size:
|
|
1171
|
+
.iv .iv-edc small { color: var(--cz-ink3); font-weight: 700; font-size: 11px; }
|
|
1147
1172
|
.iv .iv-edc b { font-weight: 800; }
|
|
1148
1173
|
.iv .iv-edc:hover, .iv .iv-edc[aria-expanded="true"] { box-shadow: 0 0 0 1.5px var(--cz-blue); }
|
|
1149
1174
|
.iv .iv-edc.dash { background: transparent !important; box-shadow: none; border: 1.5px dashed color-mix(in srgb, var(--cz-ink3) 55%, var(--cz-card)) !important; color: var(--cz-ink2) !important; font-weight: 700; }
|
|
@@ -145,7 +145,7 @@ function telHtml(v, o, pri, mc) {
|
|
|
145
145
|
// the banner (hidden): the stage, the dates, the days left, the count, the measure, the next move
|
|
146
146
|
const left = D && D.left ? `<span class="iv-chp2${D.over ? ' late' : ''}">${esc(D.left)}</span>` : L && L.chip ? `<span class="iv-chp2">${esc(L.chip.text)}</span>` : '';
|
|
147
147
|
const count = st.nTotal ? `<span class="iv-chp2${st.nLate ? ' late' : ''}">${pipsOf(st, 'sm')}${esc(st.doneOf || st.nDone + ' of ' + st.nTotal + ' done')}</span>` : '';
|
|
148
|
-
const bn = mc ? '' : `<div class="iv-bn"><div class="iv-bt"><span class="iv-shn">${tileOf(st)}<b>${esc(st.name)}</b></span>${dt ? `<span class="s">${esc(dt)}</span>` : ''}</div><div class="iv-chips">${left}${count}${AB.chipHtml(v, o)}</div>${nextHtml(st, o, pri)}</div>`;
|
|
148
|
+
const bn = mc ? '' : `<div class="iv-bn"><div class="iv-bt"><span class="iv-shn">${tileOf(st)}<b>${esc(st.name)}</b></span>${dt ? `<span class="s">${esc(dt)}</span>` : ''}</div><div class="iv-chips">${left}${count}${AB.chipHtml(v, o)}</div>${st.before ? `<p class="iv-bf s">${esc(st.before)}</p>` : ''}${nextHtml(st, o, pri)}</div>`;
|
|
149
149
|
const tg = `<button type="button" class="iv-mctg" data-iv-mc="mc" aria-expanded="${!!mc}" aria-label="${mc ? 'Hide the mission' : 'Show the mission'}" title="${mc ? 'Hide' : 'Show'}">${SVG(CHEV, 16, 2)}</button>`;
|
|
150
150
|
return `<div class="iv-tel" data-iv-tel aria-label="${esc(st.aria || 'Stage · ' + st.name)}">`
|
|
151
151
|
+ (mc ? `<div class="iv-tj" data-iv-tj="${esc(id)}">${svg}</div>`
|
|
@@ -4,14 +4,17 @@
|
|
|
4
4
|
* kindLine(row) "Tender · KR 2.1": the workflow and the anchor over the initiative's name (HbC*; was the lane)
|
|
5
5
|
* chainText(wf) "Triage → Requirements → ◆ RFP out → …": a workflow's stages in order
|
|
6
6
|
* pickerItems(lib, row) the Change picker's rows: every workflow not archived, with its stage count, the current one picked
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* proposeBridge(from, to) Claude's proposal of where each old stage lands (scripts/workflows.js proposeBridge, the same rule)
|
|
8
|
+
* mapOf(from, to, override?) every old stage → its new stage: the PM's pick, the bridge saved with `to`, else the proposal
|
|
9
|
+
* switchTarget(stage, to, from) the stage an initiative lands on (scripts/workflows.js switchTarget, the same rule)
|
|
10
|
+
* switchPlan(row, to, landing?, override?) the switch dialog (A's bridge, canvas WmB): each new stage with the old stages that go into it,
|
|
11
|
+
* the landing stage, the stages to pick from
|
|
9
12
|
* wontdoReady(reason, note) Won't do can go: a reason, and words when the reason is Other
|
|
10
13
|
* endedLine(row) "Won't do · No budget: Moved to next year's budget." or ''
|
|
11
14
|
* usualOf(trail, row) the usual days in the row's stage, compared within its own workflow only
|
|
12
15
|
* setByPmos(row) { name, why } when PMOS set the workflow from the BRD, else null
|
|
13
16
|
* Every figure comes from a row field or the workflow library (GET /api/workflows). */
|
|
14
|
-
import { PRODUCT_FEATURE_ID, WONTDO_REASONS,
|
|
17
|
+
import { PRODUCT_FEATURE_ID, WONTDO_REASONS, wfOf } from './wf-model.js';
|
|
15
18
|
|
|
16
19
|
/** The workflow and the anchor: the kind line over an initiative's name. */
|
|
17
20
|
export function kindLine(row) {
|
|
@@ -38,38 +41,92 @@ export function pickerItems(lib, row) {
|
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
const same = (a, b) => String(a || '').toLowerCase() === String(b || '').toLowerCase();
|
|
41
|
-
/**
|
|
42
|
-
|
|
44
|
+
/** Claude's proposal (batch 20 item 3, canvas WmB): order kept; anchors are the same key or name, the same stem in the same category, the
|
|
45
|
+
* stage whose output is Jira tickets, first to first and last to last; between two anchors an old stage stays with the earlier one until a
|
|
46
|
+
* ◆ milestone closes it, and a wider gap spreads in order. The server's proposeBridge is the same function: a test holds them equal. */
|
|
47
|
+
export function proposeBridge(from, to) {
|
|
48
|
+
const F = (from && from.stages) || [], T = (to && to.stages) || [];
|
|
49
|
+
const out = {};
|
|
50
|
+
if (!T.length) return out;
|
|
51
|
+
const low = (x) => String(x || '').toLowerCase().trim();
|
|
52
|
+
const stem = (x) => { const v = low(x).replace(/[^a-z0-9]/g, ''); return v.length >= 6 ? v.slice(0, 6) : null; };
|
|
53
|
+
const anchor = F.map((s) => {
|
|
54
|
+
let j = T.findIndex((t) => t.key === s.key || low(t.name) === low(s.name));
|
|
55
|
+
if (j < 0 && stem(s.name)) j = T.findIndex((t) => t.cat === s.cat && stem(t.name) === stem(s.name));
|
|
56
|
+
return j;
|
|
57
|
+
});
|
|
58
|
+
const tj = T.findIndex((t) => t.output && t.output.kind === 'jira');
|
|
59
|
+
if (tj >= 0 && !anchor.includes(tj)) { const i = F.findIndex((s, n) => anchor[n] < 0 && s.output && s.output.kind === 'jira'); if (i >= 0) anchor[i] = tj; }
|
|
60
|
+
if (F.length && anchor[0] < 0) anchor[0] = 0;
|
|
61
|
+
if (F.length > 1 && anchor[F.length - 1] < 0) anchor[F.length - 1] = T.length - 1;
|
|
62
|
+
let hi = -1;
|
|
63
|
+
for (let i = 0; i < F.length; i++) { if (anchor[i] < 0) continue; if (anchor[i] < hi) anchor[i] = -1; else hi = anchor[i]; }
|
|
64
|
+
for (let i = 0; i < F.length;) {
|
|
65
|
+
if (anchor[i] >= 0) { out[F[i].key] = T[anchor[i]].key; i++; continue; }
|
|
66
|
+
let j = i; while (j < F.length && anchor[j] < 0) j++;
|
|
67
|
+
const a = i > 0 ? anchor[i - 1] : 0, b = j < F.length ? anchor[j] : a, n = j - i;
|
|
68
|
+
let closed = false;
|
|
69
|
+
for (let k = 0; k < n; k++) {
|
|
70
|
+
let t = a;
|
|
71
|
+
if (b - a === 1) { t = closed ? b : a; if (F[i + k].milestone) closed = true; }
|
|
72
|
+
else if (b - a > 1) t = Math.min(b, a + Math.round(((k + 1) * (b - a)) / (n + 1)));
|
|
73
|
+
out[F[i + k].key] = T[t].key;
|
|
74
|
+
}
|
|
75
|
+
i = j;
|
|
76
|
+
}
|
|
77
|
+
return out;
|
|
78
|
+
}
|
|
79
|
+
/** Every old stage and its new stage: the PM's own pick, the bridge saved with `to` (when it replaces `from`), else Claude's proposal. */
|
|
80
|
+
export function mapOf(from, to, override) {
|
|
81
|
+
const p = proposeBridge(from, to);
|
|
82
|
+
const br = to && to.bridge && from && to.bridge.from === from.id ? to.bridge.map || {} : {};
|
|
83
|
+
const ok = (k) => !!k && ((to && to.stages) || []).some((s) => s.key === k);
|
|
84
|
+
const out = {};
|
|
85
|
+
for (const s of (from && from.stages) || []) { const o = override && override[s.key]; out[s.key] = ok(o) ? o : ok(br[s.key]) ? br[s.key] : p[s.key]; }
|
|
86
|
+
return out;
|
|
87
|
+
}
|
|
88
|
+
/** The workflow a row runs now, as mapOf reads it: { id, stages } from the row's own stages (Product feature when it has none). */
|
|
89
|
+
export function fromOf(row, pf) {
|
|
90
|
+
const r = row || {};
|
|
91
|
+
if (Array.isArray(r.wfStages) && r.wfStages.length) return { id: (r.wf && r.wf.id) || PRODUCT_FEATURE_ID, stages: r.wfStages };
|
|
92
|
+
return pf || { id: PRODUCT_FEATURE_ID, stages: [] };
|
|
93
|
+
}
|
|
94
|
+
/** Switching workflow (WfAChange): the stage the bridge or the proposal sends the current stage to; no current stage, the first stage. */
|
|
95
|
+
export function switchTarget(fromStage, to, from) {
|
|
43
96
|
const st = (to && to.stages) || [];
|
|
44
97
|
if (!st.length) return null;
|
|
45
98
|
if (!fromStage) return st[0].key;
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
return (
|
|
99
|
+
const f = from && (from.stages || []).length ? from : { id: '', stages: [fromStage] };
|
|
100
|
+
const k = f.stages.find((x) => x.key === fromStage.key) ? fromStage.key : null;
|
|
101
|
+
return (k && mapOf(f, to)[k]) || st[0].key;
|
|
49
102
|
}
|
|
50
103
|
/** Why a stage lands where it does, in a few words. */
|
|
51
|
-
function landNote(fromStage, toStage) {
|
|
104
|
+
function landNote(fromStage, toStage, to, from) {
|
|
52
105
|
if (!toStage) return '';
|
|
53
106
|
if (same(fromStage.name, toStage.name)) return 'same stage, carries over';
|
|
54
|
-
if (fromStage.
|
|
55
|
-
return '
|
|
107
|
+
if (to && to.bridge && from && to.bridge.from === from.id && to.bridge.map && to.bridge.map[fromStage.key] === toStage.key) return 'saved with ' + (to.name || 'the workflow');
|
|
108
|
+
return 'goes into ' + toStage.name;
|
|
56
109
|
}
|
|
57
110
|
|
|
58
|
-
/** The switch dialog. row: a board row (wfStages with status); to: the workflow picked (with stages
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
|
|
111
|
+
/** The switch dialog (A's bridge, canvas WmB). row: a board row (wfStages with status); to: the workflow picked (with stages and its bridge);
|
|
112
|
+
* landing: the PM's own pick, a key; override: the PM's own picks per old stage ({ oldKey: newKey }).
|
|
113
|
+
* Answers { rows: [{ from, state, to, note }], groups: [{ key, name, from: [{ key, name }] }], map, land, lands, name } — nothing is deleted,
|
|
114
|
+
* so a done stage of the old workflow shows where its work sits now, and its tasks move with it. */
|
|
115
|
+
export function switchPlan(row, to, landing, override) {
|
|
116
|
+
const from = fromOf(row);
|
|
117
|
+
const map = mapOf(from, to, override);
|
|
62
118
|
const mine = ((row && row.wfStages) || []).filter((s) => s.status === 'done' || s.status === 'current');
|
|
63
119
|
const tst = (to && to.stages) || [];
|
|
64
120
|
const byKey = (k) => tst.find((s) => s.key === k) || null;
|
|
65
121
|
const rows = mine.map((s) => {
|
|
66
|
-
const t = byKey(
|
|
67
|
-
return { from: s.name, state: s.status === 'current' ? 'now' : 'done', to: t ? t.name : '', note: t ? landNote(s, t) : '' };
|
|
122
|
+
const t = byKey(map[s.key]);
|
|
123
|
+
return { from: s.name, state: s.status === 'current' ? 'now' : 'done', to: t ? t.name : '', note: t ? landNote(s, t, to, from) : '' };
|
|
68
124
|
});
|
|
125
|
+
const groups = tst.map((t) => ({ key: t.key, name: t.name, milestone: !!t.milestone, from: from.stages.filter((s) => map[s.key] === t.key).map((s) => ({ key: s.key, name: s.name })) }));
|
|
69
126
|
const cur = mine.find((s) => s.status === 'current') || (row && row.wfStage) || null;
|
|
70
|
-
const auto = switchTarget(cur, to);
|
|
127
|
+
const auto = cur && map[cur.key] ? map[cur.key] : switchTarget(cur, to, from);
|
|
71
128
|
const land = landing && byKey(landing) ? landing : auto;
|
|
72
|
-
return { rows, land, auto, lands: tst.map((s) => ({ key: s.key, name: s.name, milestone: !!s.milestone })), name: (to && to.name) || '' };
|
|
129
|
+
return { rows, groups, map, land, auto, lands: tst.map((s) => ({ key: s.key, name: s.name, milestone: !!s.milestone })), name: (to && to.name) || '' };
|
|
73
130
|
}
|
|
74
131
|
|
|
75
132
|
/** Won't do can go: a reason; Other needs at least a few words. */
|