create-pmos 0.444.0 → 0.445.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 +13 -13
- package/payload/KIT-VERSION +2 -2
- 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/payload/state/log.md +1 -1
- package/workspace/adler-moments-test.js +8 -0
- package/workspace/adler-seasons-art-test.js +3 -0
- package/workspace/board-columns-test.js +168 -0
- package/workspace/board-programs-test.js +1 -1
- package/workspace/briefing-premium-board-test.js +83 -6
- package/workspace/briefing-premium-insights-test.js +43 -0
- package/workspace/calm-timeline-test.js +3 -1
- package/workspace/changelog.json +12 -0
- package/workspace/guide/jira.md +13 -1
- package/workspace/guide/ready-made-dashboards.md +2 -2
- package/workspace/lib/board-fold.js +33 -5
- package/workspace/lib/console-state.js +5 -1
- package/workspace/lib/factory-join.js +46 -14
- package/workspace/lib/freshness.js +14 -1
- package/workspace/lib/initiative-rows.js +38 -4
- package/workspace/lib/issues.js +8 -1
- package/workspace/lib/jira-cli.js +18 -2
- package/workspace/lib/jira-moves.js +119 -0
- package/workspace/lib/jira-tickets.js +23 -4
- package/workspace/lib/notes.js +4 -2
- package/workspace/lib/offloop.js +75 -29
- package/workspace/lib/page-build.js +97 -0
- package/workspace/lib/plan-items.js +24 -3
- package/workspace/lib/plan-tree.js +62 -9
- package/workspace/lib/ready-reports.js +22 -8
- package/workspace/lib/refresh.js +14 -2
- package/workspace/lib/routes-board-premium.js +9 -1
- package/workspace/lib/routes-boards.js +74 -15
- package/workspace/lib/routes-brief-page.js +3 -1
- package/workspace/lib/routes-calendar-import.js +13 -1
- package/workspace/lib/routes-ready-reports.js +28 -5
- package/workspace/lib/task-links.js +12 -1
- package/workspace/lib/workflows-store.js +14 -3
- package/workspace/milestone-pins-test.js +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/panels-test.js +150 -6
- package/workspace/program-panel-test.js +6 -6
- package/workspace/public/pm/bd-cols.js +149 -0
- package/workspace/public/pm/bd-pane.js +41 -0
- package/workspace/public/pm/bd-span.js +29 -11
- package/workspace/public/pm/cozy-board.css +45 -0
- package/workspace/public/pm/cozy-insights.css +8 -0
- package/workspace/public/pm/cozy-live-pill.css +1 -0
- package/workspace/public/pm/cozy-live-pill.js +10 -1
- package/workspace/public/pm/cozy-panels.css +24 -3
- package/workspace/public/pm/cozy-panels.js +275 -108
- package/workspace/public/pm/cozy-viewer.js +3 -1
- package/workspace/public/pm/dash-view.js +5 -2
- package/workspace/public/pm/home-app.js +8 -8
- package/workspace/public/pm/ini-edit.js +5 -1
- package/workspace/public/pm/ini-tasks.js +134 -29
- package/workspace/public/pm/ini-view-model.js +4 -3
- package/workspace/public/pm/ini-view.css +74 -25
- package/workspace/public/pm/ini-view.js +4 -4
- package/workspace/public/pm/ini-wf-model.js +9 -0
- package/workspace/public/pm/ini-wf.js +14 -9
- package/workspace/public/pm/ins-pane.js +55 -0
- package/workspace/public/pm/jira-move.js +50 -0
- package/workspace/public/pm/live-model.js +3 -2
- package/workspace/public/pm/pn-narrow.js +76 -0
- package/workspace/public/pm/premium-board.js +77 -26
- package/workspace/public/pm/premium-insights.js +7 -1
- package/workspace/public/premium-board.html +2 -0
- package/workspace/ready-dash-ui-test.js +4 -4
- package/workspace/server.js +71 -20
- package/workspace/skills/jira-move.skill +35 -0
- package/workspace/stage-card-tasks-test.js +1 -0
- package/workspace/task-links-test.js +1 -0
- package/workspace/task-plans-test.js +1 -1
- package/workspace/task-views-test.js +161 -12
- package/workspace/test-lists/board-columns.json +5 -0
- package/workspace/test-lists/jira-moves.json +11 -0
- package/workspace/test-lists/page-speed-fold.json +5 -0
- package/workspace/test-lists/page-speed-reads.json +5 -0
- package/workspace/timeline-holds-test.js +1 -1
|
@@ -1417,3 +1417,48 @@ span.tg-ng { cursor: default; }
|
|
|
1417
1417
|
.tg-msp .o.i small { display: block; font-size: var(--fs-2); font-weight: 500; color: var(--cz-ink3); white-space: normal; }
|
|
1418
1418
|
.tg-ng-i { flex: none; width: 12px; height: 2px; background: var(--bd-done); }
|
|
1419
1419
|
.tg-sk-i { flex: none; width: 12px; display: inline-flex; color: var(--cz-ink3); }
|
|
1420
|
+
|
|
1421
|
+
/* ── the Board as the first panel (panels on Board and Intelligence, P-B; BiB2Half): the narrow form is the phone form (pm/pn-narrow.js keys
|
|
1422
|
+
* the phone rules on .cz-pn-narrow); the open row is blue there too, as on the desktop ── */
|
|
1423
|
+
.cz-pn-narrow .bd-lrow.sel, .cz-pn-narrow .bt-l.sel { background: var(--cz-bluebg); box-shadow: inset 3px 0 0 var(--cz-blue); }
|
|
1424
|
+
/* the timeline's bars and columns (batch 19 item 5, Board Track; StsA8Board, StsA9BoardDark): 20 px rounded bars, the same height as the task
|
|
1425
|
+
* bars; done grey, now blue (to the end of this week), later light; a late initiative keeps its fill and gets a 4 px orange line to Today */
|
|
1426
|
+
.tg-bar { height: 20px; margin-top: -10px; border-radius: 999px; overflow: hidden; }
|
|
1427
|
+
.tg-bar > b { border-radius: 0; }
|
|
1428
|
+
.tg-bar > i.nw { position: absolute; top: 0; bottom: 0; background: var(--cz-blue); }
|
|
1429
|
+
.tg-lgd .k.nw { background: var(--cz-blue); }
|
|
1430
|
+
.tg-fc { height: 20px; margin-top: -10px; border-radius: 999px; }
|
|
1431
|
+
.tg-late { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--cz-late); z-index: 1; pointer-events: none; }
|
|
1432
|
+
.tg-late::after { content: ''; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--cz-late); }
|
|
1433
|
+
.bd-colm { min-width: 300px; padding: 12px 14px 10px; gap: 6px; }
|
|
1434
|
+
.bd-cmh { font-size: var(--fs-1); font-weight: 800; color: var(--cz-ink3); }
|
|
1435
|
+
.bd-cmg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
|
|
1436
|
+
.bd-cmi { display: flex; align-items: center; gap: 8px; min-height: 32px; font: 600 var(--fs-2) var(--cz-sans); color: var(--cz-ink); cursor: pointer; white-space: nowrap; }
|
|
1437
|
+
.bd-cmi small { font-size: var(--fs-1); color: var(--cz-ink3); }
|
|
1438
|
+
.bd-cmi input { margin: 0; width: 16px; height: 16px; accent-color: var(--cz-blue); cursor: pointer; }
|
|
1439
|
+
.bd-cmi input:disabled { cursor: default; }
|
|
1440
|
+
@media (min-width: 721px) {
|
|
1441
|
+
.tg-cols .tg-n.ini2, .tg-cols .tg-h > .tg-n { display: grid; grid-template-columns: var(--cg); align-items: center; gap: 0; }
|
|
1442
|
+
.tg-cols .tg-h > .tg-n { padding-top: 0; padding-bottom: 0; }
|
|
1443
|
+
.tg-c0 { display: flex; align-items: center; gap: 8px; min-width: 0; padding-right: 12px; }
|
|
1444
|
+
.tg-cols .tg-h .tg-c0 { justify-content: space-between; }
|
|
1445
|
+
.tg-c { min-width: 0; padding-right: 12px; font-size: var(--fs-2); font-weight: 600; color: var(--cz-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1446
|
+
.tg-cst { display: flex; align-items: center; gap: 6px; }
|
|
1447
|
+
.tg-cst.late { color: var(--cz-late); }
|
|
1448
|
+
.tg-cst.risk { color: var(--cz-risk); }
|
|
1449
|
+
.tg-cst.q { color: var(--cz-ink3); }
|
|
1450
|
+
.tg-cms { display: flex; align-items: center; gap: 8px; }
|
|
1451
|
+
.tg-cms > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
|
|
1452
|
+
.tg-cms em { font-style: normal; font-weight: 700; color: var(--cz-ink); overflow: hidden; text-overflow: ellipsis; }
|
|
1453
|
+
.tg-cms small { font-size: var(--fs-2); color: var(--cz-ink3); font-weight: 600; }
|
|
1454
|
+
.tg-cms.late small { color: var(--cz-late); }
|
|
1455
|
+
.tg-cms .msd { flex: none; width: 10px; height: 10px; box-sizing: border-box; transform: rotate(45deg); border-radius: 2px; border: 2px solid var(--cz-ink2); }
|
|
1456
|
+
.tg-cms.late .msd { border-color: var(--cz-late); background: var(--cz-late); }
|
|
1457
|
+
.tg-cwf, .tg-cow { display: flex; align-items: center; gap: 6px; }
|
|
1458
|
+
.tg-cwf > span, .tg-cow > span { overflow: hidden; text-overflow: ellipsis; }
|
|
1459
|
+
.tg-cwf svg { flex: none; }
|
|
1460
|
+
.tg-chd { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding-right: 10px; font-size: var(--fs-2); font-weight: 800; color: var(--cz-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1461
|
+
.tg-chd:hover, .tg-chd.on { color: var(--cz-ink); }
|
|
1462
|
+
.tg-chd svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
|
|
1463
|
+
.tg-chd:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 6px; }
|
|
1464
|
+
}
|
|
@@ -864,3 +864,11 @@ textarea.ins-dri { height: auto; padding: 6px 8px; font-weight: 500; resize: ver
|
|
|
864
864
|
.ins-inr .nm small { display: block; font-weight: 700; color: var(--cz-late); margin-top: 2px; }
|
|
865
865
|
#goalTbl[hidden] { display: none !important; }
|
|
866
866
|
@media (max-width: 720px) { .ins-cards > .okr-dr { margin: -2px 0 4px 12px; } .ins-nsn { margin-left: 0; } }
|
|
867
|
+
|
|
868
|
+
/* ── Intelligence as the first panel (panels on Board and Intelligence, P-B; BiI1Split, BiI2Half): the narrow form is the phone's goal cards
|
|
869
|
+
* (pm/pn-narrow.js keys the phone rules on .cz-pn-narrow); Moved by steps aside while the table is too narrow for it, and the goal Viewer
|
|
870
|
+
* keeps it; the row or card a Viewer shows is marked blue ── */
|
|
871
|
+
.ins-nomv .ins-cols { grid-template-columns: minmax(180px, 270px) 160px minmax(190px, 230px) minmax(150px, 1fr); column-gap: 12px; }
|
|
872
|
+
.ins-nomv .ins-cols > .mv, .ins-nomv .ins-cols > .ins-mvh { display: none; }
|
|
873
|
+
.ins-row.vwo, .ins-row.vwo:hover { background: var(--cz-bluebg); box-shadow: inset 3px 0 0 var(--cz-blue); }
|
|
874
|
+
.ins-card.vwo { background: var(--cz-bluebg); box-shadow: inset 3px 0 0 var(--cz-blue); border-color: transparent; }
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
.lv-m { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box; flex: none; background: var(--cz-blue); }
|
|
21
21
|
.lv-m.run { background: transparent; border: 1.5px solid var(--cz-ink3); }
|
|
22
22
|
.lv-m.stop { background: var(--cz-dot-late); }
|
|
23
|
+
.lv-m.away { background: transparent; border: 1.5px solid var(--cz-blue); border-radius: 3px; } /* a panel put away: a hollow blue square */
|
|
23
24
|
.lv-m.rec { background: var(--cz-dot-red); }
|
|
24
25
|
.lv-m.rec.paused { background: var(--cz-dot-q); }
|
|
25
26
|
.lv-m.done { width: 14px; height: 14px; border-radius: 0; background: none; color: var(--cz-dot-ok); }
|
|
@@ -54,11 +54,19 @@ export function mountLivePill(doc = document, opts = {}) {
|
|
|
54
54
|
draw();
|
|
55
55
|
return true;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
// a panel put away (cozy-panels.js slide over, then off the edge) is the first row: a press brings it back over
|
|
58
|
+
const awayRow = () => {
|
|
59
|
+
const P = typeof window !== 'undefined' ? window.czPanels : null, id = P && typeof P.away === 'function' ? P.away() : null;
|
|
60
|
+
if (!id) return null;
|
|
61
|
+
const p = P.list().find((x) => x.id === id);
|
|
62
|
+
return { id: 'pn:' + id, kind: 'away', mark: 'away', name: (p && p.title) || 'Viewer', sub: 'Put away', time: '', at: Date.now(), href: '#', open: false };
|
|
63
|
+
};
|
|
64
|
+
const items = () => { const a = awayRow(), l = liveItems(L.sessions, { rec: L.rec, titles: L.titles, open: opts.open ? opts.open() : null }); return a ? [a, ...l] : l; };
|
|
58
65
|
function go(a, e) {
|
|
59
66
|
const x = L.shown.find((i) => i.id === a.dataset.lv);
|
|
60
67
|
// the recording: its snippet only shows; a press brings the recording tab forward (rec-tab-core.js), where the meeting is controlled
|
|
61
68
|
if (x && x.kind === 'rec' && !(e && (e.metaKey || e.ctrlKey || e.shiftKey)) && ownTab() && bring(x.href)) { if (e) e.preventDefault(); set(false); return; }
|
|
69
|
+
if (x && x.kind === 'away') { if (e) e.preventDefault(); set(false); if (window.czPanels) window.czPanels.slideOver(); return; }
|
|
62
70
|
const plain = !(e && (e.metaKey || e.ctrlKey || e.shiftKey));
|
|
63
71
|
// the panels engine (batch 18 item 15): the row's chat slides over the Viewer; the engine calls the page's own go(item) itself
|
|
64
72
|
const P = typeof window !== 'undefined' ? window.czPanels : null;
|
|
@@ -156,4 +164,5 @@ export function mountLivePill(doc = document, opts = {}) {
|
|
|
156
164
|
setInterval(read, 10000);
|
|
157
165
|
doc.addEventListener('visibilitychange', () => { if (!doc.hidden) read(); });
|
|
158
166
|
doc.addEventListener('cz:live', () => read());
|
|
167
|
+
doc.addEventListener('cz-panels', () => draw()); // a panel put away or brought back
|
|
159
168
|
}
|
|
@@ -13,14 +13,14 @@ body.cz-pn #hmList { order: -1; }
|
|
|
13
13
|
.cz-pn-in { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
|
|
14
14
|
body.cz-pn-drag, body.cz-pn-drag * { cursor: col-resize !important; user-select: none !important; }
|
|
15
15
|
/* the Viewer's own grip is the divider's job on a page with panels */
|
|
16
|
-
body.cz-pn
|
|
16
|
+
body.cz-pn [data-cz-viewer-host] .cz-vw-grip { display: none; }
|
|
17
17
|
/* the Viewer lying over the chat in a narrow window (cz-vw-over) has no divider */
|
|
18
18
|
body.cz-vw-over .cz-pn-div { display: none; }
|
|
19
19
|
|
|
20
20
|
/* laid out here: the Viewer host steps aside, so the chat and each Viewer are items of the desk, sized by their share */
|
|
21
|
-
body.cz-pn-man
|
|
21
|
+
body.cz-pn-man [data-cz-viewer-host] { display: contents; }
|
|
22
22
|
body.cz-pn-man .cz-pn-row { min-width: 0; }
|
|
23
|
-
body.cz-pn-man
|
|
23
|
+
body.cz-pn-man [data-cz-viewer-host] .cz-vw.cz-pn-row { width: auto !important; }
|
|
24
24
|
.cz-pn-away { display: none !important; }
|
|
25
25
|
.cz-pn-shut { opacity: .45; transition: opacity .12s; }
|
|
26
26
|
|
|
@@ -54,6 +54,27 @@ body.cz-pn-ctl .hm-chat > .hm-reopen { display: none; }
|
|
|
54
54
|
.cz-pn-drop[hidden] { display: none; }
|
|
55
55
|
body.cz-pn-dragrow, body.cz-pn-dragrow * { user-select: none !important; cursor: grabbing !important; }
|
|
56
56
|
|
|
57
|
+
/* the active Viewer (BiB8Active): with 2 or more Viewers open, the one a plain click replaces has a thin blue edge */
|
|
58
|
+
.cz-vw.cz-pn-active { box-shadow: var(--cz-vlift), 0 0 0 2px var(--cz-blue); }
|
|
59
|
+
.cz-vw.cz-pn-over.cz-pn-active { box-shadow: var(--cz-sheet), 0 0 0 2px var(--cz-blue); }
|
|
60
|
+
/* a drop onto a Viewer replaces it (BiB9DropOn): the zone is that Viewer's box */
|
|
61
|
+
.cz-pn-drop[data-on]:not([data-on=""]) { border-radius: 24px; }
|
|
62
|
+
|
|
63
|
+
/* a page with panels (Board, Intelligence: BiB1Split, BiI1Split): the body is the row: the page, the divider, the Viewer host. The page
|
|
64
|
+
* scrolls with the window as before; the Viewers and the dividers stay in view (sticky). A phone keeps the page as it is. */
|
|
65
|
+
@media (min-width: 761px) {
|
|
66
|
+
/* no flex gap: the page's other body children (a scrim, a noscript) would take one each; the engine sets the 22 px as a margin */
|
|
67
|
+
body.cz-pn-page { display: flex; align-items: flex-start; padding: 16px; box-sizing: border-box; min-height: 100vh; }
|
|
68
|
+
body.cz-pn-page > main.stage, body.cz-pn-page > main.cz-panel { flex: 1 1 0px; min-width: 0; margin: 0 !important; max-width: none; }
|
|
69
|
+
body.cz-pn-page:not(.cz-pn-man) .cz-pn-host { flex: none; display: flex; position: sticky; top: 16px; height: calc(100vh - 32px); min-height: 0; z-index: 45; } /* over a page's own fixed side panel (Intelligence's library, z 40), as the floating Viewer was */
|
|
70
|
+
body.cz-pn-page:not(.cz-vw-on) .cz-pn-host { display: none; }
|
|
71
|
+
body.cz-pn-page .cz-pn-host .cz-vw { height: 100%; }
|
|
72
|
+
body.cz-pn-page.cz-pn-man .cz-vw.cz-pn-row { position: sticky; top: 16px; height: calc(100vh - 32px); align-self: flex-start; z-index: 45; }
|
|
73
|
+
body.cz-pn-page .cz-pn-div { margin: 0 -11px 0 11px; position: sticky; top: 16px; height: calc(100vh - 32px); align-self: flex-start; }
|
|
74
|
+
body.cz-pn-page .cz-vw.cz-pn-over { position: fixed !important; top: 16px; right: 16px; bottom: 16px; height: auto; z-index: 70; }
|
|
75
|
+
body.cz-pn-page > main.cz-pn-away { display: none !important; }
|
|
76
|
+
}
|
|
77
|
+
|
|
57
78
|
@media (prefers-reduced-motion: reduce) { .cz-pn-over { animation: none; } .cz-pn-shut { transition: none; } }
|
|
58
79
|
/* a phone keeps today's one panel: nothing here applies */
|
|
59
80
|
@media (max-width: 760px) { .cz-pn-div, .cz-pn-ct, .cz-pn-grab { display: none !important; } }
|