create-pmos 0.839.0 → 0.840.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.
Files changed (33) hide show
  1. package/package.json +75 -25
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/changelog.json +74 -10
  7. package/workspace/guide/cli.md +26 -0
  8. package/workspace/guide/layout.md +3 -1
  9. package/workspace/guide/programs.md +3 -0
  10. package/workspace/lib/app-versions.js +169 -0
  11. package/workspace/lib/features.json +2 -0
  12. package/workspace/lib/pmos-verbs.js +6 -0
  13. package/workspace/lib/roadmap-audiences.js +157 -0
  14. package/workspace/lib/roadmap-cli.js +68 -0
  15. package/workspace/lib/route-modules.js +2 -0
  16. package/workspace/lib/routes-app-versions.js +54 -0
  17. package/workspace/lib/routes-roadmap-audiences.js +55 -0
  18. package/workspace/lib/versions-cli.js +112 -0
  19. package/workspace/package-lock.json +2 -2
  20. package/workspace/package.json +1 -1
  21. package/workspace/public/pm/app-versions.js +97 -0
  22. package/workspace/public/pm/bd-ds.css +6 -0
  23. package/workspace/public/pm/bd-work-ds.css +26 -0
  24. package/workspace/public/pm/cozy-pop-work.js +7 -3
  25. package/workspace/public/pm/ini-detail.css +38 -0
  26. package/workspace/public/pm/ini-detail.js +117 -0
  27. package/workspace/public/pm/premium-board.js +28 -5
  28. package/workspace/public/pm/roadmap-audiences.js +72 -0
  29. package/workspace/public/pm/wk-sum.js +103 -0
  30. package/workspace/public/premium-board.html +3 -0
  31. package/workspace/test-lists/app-versions.json +9 -0
  32. package/workspace/test-lists/ini-detail.json +9 -0
  33. package/workspace/test-lists/roadmap-audiences.json +9 -0
@@ -43,6 +43,7 @@ import * as STMAP from './story-map.js'; // a new bet's story map with the Rel
43
43
  import * as TLY from './three-layouts.js'; // three layouts for a new screen, pick one (initiative three-layouts, A317)
44
44
  import * as PR from './print-pdf.js'; // Print or PDF under ⋯ (job #1911, A379)
45
45
  import * as SMAP from './stakeholder-map.js'; // the People block: who decides, must agree, needs to know (stakeholder-map, A371)
46
+ import * as ID from './ini-detail.js'; // the page in two columns: four numbers, Details with the Jira epics, a milestone's stage (job #2013, TbInitiative)
46
47
  import * as MST from './meeting-stance.js'; // before the meeting: the two questions for a contested decision, and where each stands (meeting-stance, A333)
47
48
  import * as PD from './bd-pop-ds.js'; // the popup on a computer, built from the design system's blocks (initiative work-ds-popup) // the Kind of a file and one row per kind (round 3 point 16), shared with the Library // the rename and its Undo, the same write as the old List (batch 18 item 16)
48
49
 
@@ -492,7 +493,7 @@ function dsHtml(r, v, o, W, S, C, mode) {
492
493
  toolbar: CAP.toolbarHtml(fourIds(), { picked: S.sel.size > 0, jiraPicked: epicSel }), line: S.act ? CAP.pickLineHtml(S.act, S.sel.size) : '' });
493
494
  const wbs = view === 'gantt'
494
495
  ? breakdownHtml(W, C, mode, false, S, true).replace('<h3>Work breakdown</h3>', head).replace('class="pw-sec"', 'class="pw-sec pm-block pwd-blk pwd-wbs"')
495
- : `<section class="pm-block pwd-blk pwd-wbs" aria-label="Work breakdown">${head}${PD.listHtml(stF, W, { looseN: W.looseN, epics, fix, ask, sel: S.sel, nested: st.some((x) => x.kids), drag: canDrag(), group, epicSel, capped: true })}</section>`;
496
+ : `<section class="pm-block pwd-blk pwd-wbs" aria-label="Work breakdown">${head}${PD.listHtml(ID.msLabel(stF), W, { looseN: W.looseN, epics, fix, ask, sel: S.sel, nested: st.some((x) => x.kids), drag: canDrag(), group, epicSel, capped: true })}</section>`;
496
497
  // the done test's acceptance criteria on the initiative's Jira tickets (jira-criteria-write): its ✦ above the breakdown, unless the PM said no
497
498
  const crit = S.sel.size || dropped().has('crit:' + id) ? '' : critSugHtml(CRIT.get(id));
498
499
  // Overview (Wawan, 2026-11-23): Where it stands, The case and its facts in one block across the top; folded or open is the person's choice
@@ -505,7 +506,10 @@ function dsHtml(r, v, o, W, S, C, mode) {
505
506
  const ppl = ppl0 + MST.blockFor(id, o.ws, () => { if (artRedraw) artRedraw(); });
506
507
  // the story map (A419): a new bet's journey and its Release 1 line, above the breakdown; nothing when there is no map and the bet has tasks
507
508
  const smap = STMAP.blockHtml({ id, ws: o.ws || '', title: W.title || '', tasks: stagesOf(r, v, { ...o, today: W.today, subAll: true }).filter((x) => x.kind === 'task').length });
508
- return `<div class="pw pwd">${PD.overviewHtml(W, r, { oid: id, dropped: dropped(), open: ovOpen() })}${ppl}<div class="pwd-main">${PD.stagesHtml(st, W)}${lay}${smap}${crit}${BVD.html(id, o.ws)}${wbs}</div></div>`;
509
+ // two columns (job #2013, TbInitiative on Exploring 3 page "balanced"): the four numbers, the Stages and the breakdown on the left; the
510
+ // Overview without its facts part, Details (with the Jira epics) and People on the right
511
+ const side = PD.overviewHtml({ ...W, facts: [] }, r, { oid: id, dropped: dropped(), open: ovOpen() }) + ID.detailsHtml(r, v, W, { rows: st, program: o.program }) + ppl;
512
+ return ID.pageHtml({ stats: ID.statsHtml(v, st, W.today), main: `${PD.stagesHtml(st, W)}${lay}${smap}${crit}${BVD.html(id, o.ws)}${wbs}`, side });
509
513
  }
510
514
 
511
515
  /** The grouping ✦ the PM said no to, for this initiative: 'group:<stage>'. */
@@ -1018,7 +1022,7 @@ export function wire(body, h0, x0) {
1018
1022
  if (d.pwSprint) { sprintMenu(b, d.pwSprint, c, h, x); return; }
1019
1023
  if (d.pwPrio) { prioMenu(b, d.pwPrio, c, h, x); return; }
1020
1024
  if ('pwAddty' in d) { S.msAdd = !S.msAdd; const f = b.closest('.pw-add'), k = f && f.querySelector('[data-pw-add]') && f.querySelector('[data-pw-add]').dataset.pwAdd; redraw(); if (k != null) setTimeout(() => { const i = body.querySelector(`[data-pw-add="${window.CSS.escape(k)}"]`); if (i) i.focus(); }, 0); return; }
1021
- if (d.pwFact) { fact(d.pwFact, b, c, h); return; }
1025
+ if (d.pwFact) { if ('idtEdit' in d) noteUse('iniDetailEdit'); fact(d.pwFact, b, c, h); return; }
1022
1026
  if (d.pwStatus) { statusMenu(b, d.pwStatus, h, c); return; }
1023
1027
  if (d.pwJstat) { jiraStatusMenu(b, d.pwJstat, h, c); return; }
1024
1028
  if (d.pwDate) { dateMenu(b, d.pwDate, c, h, x); return; }
@@ -0,0 +1,38 @@
1
+ /* pm/ini-detail.css — the initiative page in two columns (factory job 2013, board TbInitiative on Exploring 3, page "balanced"). It only places the
2
+ * parts pm/ini-detail.js draws; the look is the system's tokens. */
3
+ .idt-g { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: var(--space-16); align-items: start; min-width: 0; }
4
+ .idt-m { min-width: 0; }
5
+ .idt-s { display: flex; flex-direction: column; gap: var(--space-16); min-width: 0; }
6
+ /* the Overview in the side column: its parts stack, one under the other */
7
+ .idt-s .pwd-ovg { grid-template-columns: minmax(0, 1fr); }
8
+ .idt-s .pwd-ovp + .pwd-ovp { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--space-12); }
9
+
10
+ /* the four numbers */
11
+ .idt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; overflow: hidden; }
12
+ .idt-n { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-12) var(--space-16); min-width: 0; }
13
+ .idt-n + .idt-n { border-left: 1px solid var(--line); }
14
+ .idt-n > b { font-size: var(--fs-section); font-weight: var(--fw-strong); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
15
+ .idt-n.warn > b { color: var(--alert); }
16
+ .idt-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
17
+
18
+ /* Details: a label and its value per row; a value that can change is a press */
19
+ .idt-dh { gap: var(--space-8); align-items: baseline; }
20
+ .idt-dh .pm-h-sm { margin: 0; }
21
+ .idt-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-8) var(--space-16); margin: 0; font-size: var(--fs-row); }
22
+ .idt-dl dt { color: var(--muted); }
23
+ .idt-dl dd { margin: 0; min-width: 0; }
24
+ .idt-v { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-align: left; border-radius: var(--radius-sm); }
25
+ button.idt-v { cursor: pointer; }
26
+ @media (hover: hover) { button.idt-v:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; } }
27
+ button.idt-v:focus-visible { outline: none; box-shadow: var(--glow); }
28
+ .idt-dl .warn { color: var(--alert); }
29
+ .idt-eps { display: flex; flex-wrap: wrap; gap: var(--space-4); }
30
+ .idt-ep { display: inline-flex; align-items: center; gap: var(--space-4); text-decoration: none; }
31
+
32
+ @media (max-width: 1100px) {
33
+ .idt-g { grid-template-columns: minmax(0, 1fr); }
34
+ .idt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
35
+ .idt-n + .idt-n { border-left: 0; }
36
+ .idt-n:nth-child(n + 3) { border-top: 1px solid var(--line); }
37
+ .idt-n:nth-child(2n) { border-left: 1px solid var(--line); }
38
+ }
@@ -0,0 +1,117 @@
1
+ /* pm/ini-detail.js — the initiative page in two columns (job #2013, initiative tb-initiative-detail; spec: Exploring 3 canvas, page
2
+ * "balanced", board TbInitiative). The main column holds four numbers, then the Stages and the Work breakdown; the side column holds the
3
+ * Overview and a Details card. pm/cozy-pop-work.js dsHtml draws the blocks and calls pageHtml to place them.
4
+ *
5
+ * statsHtml(v, st, today) the four numbers: days in the stage, tasks done, the next date, the end. '' when none has a value
6
+ * detailsHtml(r, v, W, o) Details: Workflow, Stage, Anchor, Program, Owner, Opened, Ends, Jira epics, then the model's other facts
7
+ * msLabel(rows) the list rows with "Milestone · ends <stage>" on each milestone row (copies; the rows are not changed)
8
+ * pageHtml({ stats, main, side }) the two columns
9
+ *
10
+ * Zero is silence: a field with no value draws no row, and a number with no value draws no cell. A value that can change is a press
11
+ * (data-pw-fact, the popup's own handler); a Jira epic opens in Jira. No inline style. */
12
+ import { dayText } from './bd-pop-ds.js';
13
+
14
+ const CSS = new URL('./ini-detail.css', import.meta.url).href;
15
+ if (typeof document !== 'undefined' && document.head && !document.querySelector(`link[href="${CSS}"]`)) {
16
+ const l = document.createElement('link'); l.rel = 'stylesheet'; l.href = CSS; document.head.appendChild(l);
17
+ }
18
+ const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[c]));
19
+ const SV = (d, w = 12) => `<svg class="pm-ic" aria-hidden="true" width="${w}" height="${w}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
20
+ const OPEN = 'M14 4h6v6M20 4l-9 9M18 14v6H4V6h6';
21
+ const plural = (n, one, many) => n + ' ' + (n === 1 ? one : many);
22
+ const day = (v) => { const m = /^(\d{4})-(\d{2})-(\d{2})/.exec(String(v || '')); return m ? m[1] + '-' + m[2] + '-' + m[3] : ''; };
23
+ const DAY = 864e5;
24
+ const between = (a, b) => Math.round((Date.parse(b) - Date.parse(a)) / DAY);
25
+
26
+ /** Every task of the initiative, from the view's sections (the list may fold a long stage; the numbers count them all). */
27
+ function allTasks(v) {
28
+ const out = [];
29
+ for (const s of ((v && v.tasks) || {}).sections || []) {
30
+ if (s.kind && s.kind !== 'stage') continue;
31
+ for (const x of (s.top || []).concat(...(s.groups || []).map((g) => g.rows || []))) out.push({ ...x, sec: s.key, secName: s.name });
32
+ }
33
+ return out;
34
+ }
35
+
36
+ /** The four numbers. st: the stage rows (stagesOf); today: 'YYYY-MM-DD'. */
37
+ export function statsHtml(v, st, today) {
38
+ const S = (v && v.stage) || {}, cells = [];
39
+ const cell = (big, label, note, warn) => cells.push(`<div class="idt-n${warn ? ' warn' : ''}"><b>${esc(big)}</b><span class="pm-meta">${esc(label)}</span>${note ? `<span class="pm-meta idt-sub">${esc(note)}</span>` : ''}</div>`);
40
+ // 1 days in the stage, and the usual days for it (ini-view-model stage.clock): "6 of ~5 days", in Plan
41
+ if (S.clock && S.name) cell(S.clock, 'in ' + S.name, S.dayOver ? 'over the usual' : '', !!S.dayOver);
42
+ // 2 tasks done, and the count of each stage that started (done or now): "Assess 2 of 2 · Plan 4 of 12"
43
+ const T = allTasks(v).filter((x) => !x.wont);
44
+ if (T.length) {
45
+ const per = (st || []).filter((x) => x.kind === 'stage' && x.key !== '' && (x.done || x.now) && x.count).map((x) => x.name + ' ' + x.count.replace(/ done$/, ''));
46
+ cell(T.filter((x) => x.closed).length + ' of ' + T.length, 'tasks done', per.join(' · '), false);
47
+ }
48
+ // 3 the next date an open task is due, and how many fall on it
49
+ const open = T.filter((x) => !x.closed && day(x.end) && day(x.end) >= today).sort((a, b) => day(a.end).localeCompare(day(b.end)));
50
+ if (open.length) {
51
+ const d = day(open[0].end), on = open.filter((x) => day(x.end) === d), ms = on.find((x) => x.ms);
52
+ cell(dayText(d, today), 'next date', ms ? ms.title : plural(on.length, 'task', 'tasks') + ' due', false);
53
+ }
54
+ // 4 the end of the plan and the days left (or over)
55
+ const D = S.dates || null;
56
+ if (D && D.end) cell(D.end, 'ends', D.left || '', !!D.over);
57
+ return cells.length ? `<section class="pm-block idt-stats" aria-label="In numbers">${cells.join('')}</section>` : '';
58
+ }
59
+
60
+ /** A Jira epic's link: its own, else the site of a Jira row on the page with its key. */
61
+ const epicUrl = (key, rows) => {
62
+ const r = (rows || []).find((x) => x && x.jurl && /\/browse\//.test(x.jurl));
63
+ return r ? r.jurl.replace(/\/browse\/[^/?#]+/, '/browse/' + encodeURIComponent(key)) : '';
64
+ };
65
+
66
+ /** Details. r: the board row; v: the view; W: the popup model (facts); o: { ro, rows (the list rows, for the Jira site), program }.
67
+ * Each row: { k, v, act? (a press: data-pw-fact), note? }. */
68
+ export function detailsRows(r, v, W, o = {}) {
69
+ const S = (v && v.stage) || {}, sum = (v && v.summary) || {}, today = (W && W.today) || '';
70
+ const R = [];
71
+ const add = (k, val, act, note) => { if (val) R.push({ k, v: String(val), act: o.ro ? '' : act || '', note: note || '' }); };
72
+ const wf = (r && r.wf && r.wf.name) || (sum.wf && sum.wf.name) || '';
73
+ add('Workflow', wf, r && r.id ? 'wf' : '');
74
+ const since = day(r && r.trail && r.trail.since);
75
+ add('Stage', S.name && S.n != null ? S.name : '', 'stage', since ? 'since ' + dayText(since, today) : '');
76
+ add('Anchor', (r && (r.kr || r.anchor)) || '', '');
77
+ const prog = o.program || sum.program || null;
78
+ add('Program', prog && prog.title, prog && prog.id ? 'program' : '');
79
+ add('Owner', r && r.owner, '');
80
+ add('Opened', r && day(r.start) ? dayText(day(r.start), today) : '', '');
81
+ add('Ends', r && day(r.end) ? dayText(day(r.end), today) : '', 'dates', S.dates && S.dates.left ? S.dates.left : '');
82
+ // the model's other facts (Status, Next milestone, Goal, Product) keep their own presses; the ones above are not repeated
83
+ const seen = new Set(['Stage', 'Start', 'Target end', 'Workflow', 'Program', 'Open']);
84
+ for (const f of (W && W.facts) || []) if (!seen.has(f.k) && f.v) R.push({ k: f.k, v: String(f.v), act: o.ro || f.read ? '' : f.act || '', note: f.note || '', warn: !!f.warn });
85
+ return R;
86
+ }
87
+ export function detailsHtml(r, v, W, o = {}) {
88
+ const R = detailsRows(r, v, W, o);
89
+ const epics = ((r && r.epics) || []).filter(Boolean);
90
+ if (!R.length && !epics.length) return '';
91
+ const val = (x) => {
92
+ const t = `<span class="${x.warn && !x.note ? 'warn' : ''}">${esc(x.v)}</span>${x.note ? ` <span class="pm-meta${x.warn ? ' warn' : ''}">${esc(x.note)}</span>` : ''}`;
93
+ return x.act ? `<button type="button" class="idt-v" data-pw-fact="${esc(x.act)}" data-idt-edit aria-label="${esc(x.k + ': ' + x.v + '. Change it')}">${t}</button>` : `<span class="idt-v ro">${t}</span>`;
94
+ };
95
+ const rows = R.map((x) => `<dt>${esc(x.k)}</dt><dd>${val(x)}</dd>`).join('');
96
+ const ep = epics.length ? `<dt>Jira epics</dt><dd class="idt-eps">${epics.map((k) => {
97
+ const u = epicUrl(k, o.rows);
98
+ return u && /^https:\/\//.test(u) ? `<a class="pm-chip code idt-ep" href="${esc(u)}" target="_blank" rel="noopener" aria-label="${esc('Open ' + k + ' in Jira')}" title="Open in Jira">${esc(k)}${SV(OPEN)}</a>` : `<span class="pm-chip code idt-ep">${esc(k)}</span>`;
99
+ }).join('')}</dd>` : '';
100
+ const sub = R.some((x) => x.act) ? '<span class="pm-meta">press a value to change it</span>' : '';
101
+ return `<section class="pm-block pwd-blk idt-det" aria-label="Details"><div class="pm-row idt-dh"><h2 class="pm-h-sm">Details</h2>${sub}</div><dl class="idt-dl">${rows}${ep}</dl></section>`;
102
+ }
103
+
104
+ /** Milestones per stage: a milestone row says "Milestone · ends <stage>" before its date and owner. Copies; the rows are not changed. */
105
+ export function msLabel(rows) {
106
+ let stage = null;
107
+ return (rows || []).map((x) => {
108
+ if (x && x.kind === 'stage') { stage = x.key === '' ? null : x; return x; }
109
+ if (x && x.kind === 'task' && x.ms && !x.depth && stage) return { ...x, priority: ['Milestone · ends ' + stage.name, x.priority || ''].filter(Boolean).join(' · ') };
110
+ return x;
111
+ });
112
+ }
113
+
114
+ /** The two columns: the numbers on top of the main column; the side column on the right (below the main one on a narrow window). */
115
+ export function pageHtml(p) {
116
+ return `<div class="pw pwd">${p.top || ''}<div class="idt-g"><div class="pwd-main idt-m">${p.stats || ''}${p.main || ''}</div>${p.side ? `<aside class="idt-s" aria-label="Overview and details">${p.side}</aside>` : ''}</div></div>`;
117
+ }
@@ -20,7 +20,7 @@
20
20
  import './fetch-share.js'; // first: identical GETs in flight are asked once (page-open-speed)
21
21
  import { noteUse as noteUseLog } from './use-log.js'; // one count a page when Work is read by objective (TbInitiatives check)
22
22
  import * as WK from './work-kind.js'; // the kind of work before each title (batch 29 item 11, KdBd)
23
- import { pmPost } from './http.js';
23
+ import { pmPost, pmGet } from './http.js';
24
24
  import * as LE from './live-edit.js'; // a task's status or days show at once (the save answers later; a failed save is put back)
25
25
  import { followDoc } from './doc-follow.js';
26
26
  import { $, $$, esc, store, chatAbout, setPageGaps } from './premium-shell.js';
@@ -59,7 +59,8 @@ import * as BI from './bd-ini-panel.js';
59
59
  import * as DL from './bd-deliveries.js';
60
60
  import * as CO from './bd-cols.js'; // the timeline's columns, their menu and their sort (batch 19 item 5, StsA8Board) // the Deliveries lane under the timeline's axis (batch 13 item 4, XcalmA6Lane)
61
61
  import { nextHtml } from './bd-next.js';
62
- import * as GL from './bd-goal.js'; // board AwH: the Track grouped By goal
62
+ import * as GL from './bd-goal.js';
63
+ import * as WS from './wk-sum.js'; // Work › Initiatives: the summary strip, the chips and the Key results column (TbInitiatives slice 2, job #2038) // board AwH: the Track grouped By goal
63
64
  import { statusOf as ivStatus } from './ini-view-model.js';
64
65
  import { initiativeRename, taskRename } from './rename-press.js';
65
66
  import * as CM from './changed-mark.js'; // bet A456: the ✦ and Undo on a row PMOS changed by itself in the last 24 h
@@ -74,10 +75,12 @@ import * as ST from './bd-stands.js'; // Where it stands, its Suggestion and t
74
75
  import * as LS from './load-shapes.js'; // the skeleton and the slow-case line while the board is read (page-open-speed, SpD) // the Board as the first panel: fit(), the rows that open beside, the open row's mark
75
76
  import * as STRAT from './bd-strategy.js'; // the product's strategy in five lines above the initiatives (bet A458)
76
77
  import * as PRIN from './bd-principles.js'; // the product's principles drafted from its decisions, below the strategy (bet A352)
78
+ import * as VERS from './app-versions.js'; // the app versions still in use and the open bugs their users hit, below the principles (idea A211)
77
79
  import * as SEG from './segments.js'; // the product's user groups and the roadmap items that serve each, below the principles (idea A327)
78
80
  import * as SWO from './switch-owners.js'; // who has which switch, per customer, below the principles (idea A263)
79
81
  import * as SKM from './skill-map.js'; // the team skill map below the principles (bet A208)
80
82
  import * as FHR from './first-hour.js'; // the first hour for a new engineer, below Team skills (bet A55)
83
+ import * as RFA from './roadmap-audiences.js'; // the roadmap for exec, team or customer, below Welcome (bet A88)
81
84
  import * as CMAP from './code-map.js'; // the product's code map, one box per main part (idea A176)
82
85
  import * as SWN from './cozy-status-when.js'; // the day a status move really happened, in the toast (round 3 point 18)
83
86
  import { pressHold } from './state-glyph.js';
@@ -717,6 +720,15 @@ const wkMany = () => !!(M && M.board.all && (M.board.products || []).length > 1)
717
720
  const wkProduct = (r) => productName(r.ws || (M && M.board && M.board.ws), r.product || (M && M.board && (M.board.product || M.board.name)) || '');
718
721
  const wkGoalOf = (r) => { if (!GOALS) return ''; const k = (GOALS.of || {})[String(r.anchor || '')], g = k && (GOALS.goals || []).find((x) => x.key === k); return g ? g.title : ''; };
719
722
  const wkProgOf = (r) => { const p = programOf(PGS, r.ws || (M && M.board.ws) || '', r.id); return p ? p.title || p.id : ''; };
723
+ /* TbInitiatives slice 2: the line (GET /api/line) says which initiatives are over time. It is read after the page is drawn, once a board,
724
+ * so the page opens no slower; until it lands there is no Over time cell or chip. WK_CHIP: the chip that is on ('' = All), for this page. */
725
+ let WK_OVER = null, WK_OVER_FOR = '', WK_CHIP = '';
726
+ function readOver() {
727
+ const ws = M.board.all ? [...new Set((M.board.products || []).map((p) => p.ws).filter(Boolean))] : [M.board.ws || ''];
728
+ const k = ws.join(','); if (k === WK_OVER_FOR) return; WK_OVER_FOR = k;
729
+ Promise.all(ws.map((w) => pmGet('/api/line' + (w ? '?ws=' + encodeURIComponent(w) : '')).catch(() => null)))
730
+ .then((got) => { if (k !== WK_OVER_FOR) return; WK_OVER = WS.overOf(got.filter((r) => r && r.ok).map((r) => ({ ws: r.ws, rows: r.rows || [] }))); if (WK_OVER && workOn()) drawInit(); });
731
+ }
720
732
  let BY_OBJ_NOTED = false; // Work read by objective: counted once a page (use-log control workByObjective)
721
733
  function drawWork(L) {
722
734
  const pk = prodKey((M.board && (M.board.product || M.board.name)) || ''), lay = SO.layout();
@@ -725,19 +737,27 @@ function drawWork(L) {
725
737
  if (BAL_KIND && !B.parts.some((p) => p.key === BAL_KIND)) BAL_KIND = '';
726
738
  const meter = LB.meterHtml(B, { on: BAL_KIND, label: 'Mix of the initiatives' });
727
739
  if (meter && BAL_KIND) L = L.filter((r) => LB.kindOf(r) === BAL_KIND);
740
+ // TbInitiatives slice 2: the strip counts every open row; a chip shows only its rows; grouped by goal, the Key results column sits on the right
741
+ if (!ROC) readOver();
742
+ const SU = WS.sumOf(L, { over: WK_OVER, goals: GOALS });
743
+ if (WK_CHIP && !WS.chipsHtml(SU, WK_CHIP).includes(`data-wkchip="${WK_CHIP}"`)) WK_CHIP = '';
744
+ const chips = ROC ? '' : WS.chipsHtml(SU, WK_CHIP), strip = WS.stripHtml(SU);
745
+ const krCol = WV.read().group === 'goal' ? WS.krColHtml(L, GOALS, { over: WK_OVER }) : '';
746
+ L = WS.chipRows(L, WK_CHIP, { over: WK_OVER });
728
747
  // WorkDS: Where it stands (a Summary block and one Suggestion), the Initiatives table, then the Next milestones date line on the table's scale
729
- const list = WV.listHtml(L, { above: meter, tpx: WK_TPX, many: wkMany(), sel: peek && peek.kind === 'ini' ? peek.key : null, rowOf, bar: wkBar,
748
+ const list0 = WV.listHtml(L, { above: chips + (meter || ''), tpx: WK_TPX, many: wkMany(), sel: peek && peek.kind === 'ini' ? peek.key : null, rowOf, bar: wkBar,
730
749
  product: wkProduct, goalOf: wkGoalOf, programOf: wkProgOf, order: (rows) => sortInis(pk, rows, lay, INI_ACC),
731
750
  // grouped by goal, the list groups by the objective each key result serves and names the key result on the row (TbInitiatives)
732
751
  goalGroups: (rows) => { const G = GOALS ? GL.objectiveGroups(rows, GOALS, (rs) => sortInis(pk, rs, lay, INI_ACC)) : null; if (G && !BY_OBJ_NOTED) BY_OBJ_NOTED = noteUseLog('workByObjective'); return G; },
733
752
  serves: (r) => (GOALS ? GL.servesOf(r, GOALS) : ''),
734
753
  canMove: (r) => !ROC && !!(r.track && r.acts && (r.acts.stages || []).length > 1) });
754
+ const list = (krCol ? `<div class="wk-tb"><div class="wk-tbm">${list0}</div>${krCol}</div>` : list0);
735
755
  const W = WV.lastWindow(), vis = WV.filterRows(L, { product: wkProduct, programOf: wkProgOf });
736
- if (!W || WV.read().tl === false) return ST.standsHtml(vis, { sug: !ROC }) + list;
756
+ if (!W || WV.read().tl === false) return strip + ST.standsHtml(vis, { sug: !ROC }) + list;
737
757
  // the Next milestones strip keeps its own window, apart from the table's (Wawan 2026-11-22): it fits the next milestones on the full width
738
758
  const NM = ST.nextMilestones(vis), DW = ST.dlineWindow(NM, new Date(), { off: DL_OFF });
739
759
  DL_W = DW;
740
- return ST.standsHtml(vis, { sug: !ROC }) + list + ST.dlineHtml(NM, DW, { sub: 'all initiatives', ro: ROC, moved: !!DL_OFF, lw: ($('#ibBody').clientWidth || innerWidth) - 90 });
760
+ return strip + ST.standsHtml(vis, { sug: !ROC }) + list + ST.dlineHtml(NM, DW, { sub: 'all initiatives', ro: ROC, moved: !!DL_OFF, lw: ($('#ibBody').clientWidth || innerWidth) - 90 });
741
761
  }
742
762
  /** How far the PM scrolled the Next milestones strip, in ms (0: it fits from today), and the window it was last drawn with. */
743
763
  let DL_OFF = 0, DL_W = null;
@@ -1026,6 +1046,7 @@ $('#ibBody').addEventListener('click', (e) => {
1026
1046
  const bk = e.target.closest('.lb-m [data-balance-kind]'); if (bk) { const k = bk.dataset.balanceKind; BAL_KIND = BAL_KIND === k ? '' : k; drawInit(); const n = $(`#ibBody .lb-m button[data-balance-kind="${k}"]`); if (n) n.focus(); return; }
1027
1047
  // the strip's +N marks and Fit move only the strip, never the table
1028
1048
  const dl = e.target.closest('[data-wkdl]'); if (dl && dl.dataset.wkdl !== 'add') { DL_OFF = dl.dataset.wkdl === 'fit' || !DL_W ? 0 : DL_OFF + (+dl.dataset.at - +DL_W.from); drawInit(); const n = $(`#ibBody [data-wkdl="${dl.dataset.wkdl}"]`) || $('#ibBody .wk-next .pm-more') || $('#ibBody [data-wknav="today"]'); if (n) n.focus(); return; }
1049
+ const ch = e.target.closest('[data-wkchip]'); if (ch) { const k = ch.dataset.wkchip; WK_CHIP = WK_CHIP === k ? '' : k; if (k) noteUseLog('workChip'); drawInit(); const n = $(`#ibBody [data-wkchip="${WK_CHIP === k ? k : ''}"]`); if (n) n.focus(); return; }
1029
1050
  if (workPress(e)) return;
1030
1051
  }
1031
1052
  if (e.target.closest('#fold, [data-mefold]')) { foldOpen = !foldOpen; drawInit(); const f = $('#fold') || $('#ibBody [data-mefold]'); if (f) f.focus(); return; }
@@ -1533,10 +1554,12 @@ async function load() {
1533
1554
  LE.loaded({ since, stale: !!r.stale }); // a change still saving stays on the new read; open views (the big Work breakdown) follow it
1534
1555
  STRAT.refresh($('#cStrat'), { ws: M.board.ws || null, board: M.board.id || null, single: !ALL, say });
1535
1556
  PRIN.refresh($('#cPrin'), { ws: M.board.ws || null, single: !ALL, say });
1557
+ VERS.refresh($('#cVers'), { ws: M.board.ws || null, single: !ALL, say });
1536
1558
  SEG.refresh($('#cSeg'), { ws: M.board.ws || null, single: !ALL, say });
1537
1559
  SWO.refresh($('#cSw'), { ws: M.board.ws || null, single: !ALL, say });
1538
1560
  SKM.refresh($('#cSkills'), { ws: M.board.ws || null, single: !ALL, say });
1539
1561
  FHR.refresh($('#cWelcome'), { ws: M.board.ws || null, single: !ALL, say });
1562
+ RFA.refresh($('#cRoadFor'), { ws: M.board.ws || null, single: !ALL, say });
1540
1563
  CMAP.mount($('#cCode'), { ws: M.board.ws || null, single: !ALL });
1541
1564
  focusOnce(); taskOnce(); programOnce(); newOnce(); loadOthers(); loadWorkflows();
1542
1565
  if (r.stale) setTimeout(load, 2000); // a press is still being derived: ask again
@@ -0,0 +1,72 @@
1
+ /* pm/roadmap-audiences.js — Roadmap for others on Work: the ranked roadmap written for leadership, the team or customers (bet A88,
2
+ * initiative roadmap-audiences).
3
+ *
4
+ * mount(host, { ws, single, say }) → draws the block into `host`; a Work page that shows several products at once shows none
5
+ *
6
+ * Built only from Komorebi parts: a block (pm-block, its head with pm-tabs Exec · Team · Customer), the chosen version as plain text in a
7
+ * pm-said line, an icon-only copy button, and on Customer up to five pm-li rows of items not yet marked, each with an icon-only ✓
8
+ * ("Mark for customers"). It reads GET /api/roadmap-for and writes POST /api/roadmap-for/share (lib/routes-roadmap-audiences.js)
9
+ * and nothing else. Copy puts the text on this computer's clipboard; nothing is sent.
10
+ * · A product with no live roadmap item gets no block (zero is silence). A published page (?pack=) never draws it.
11
+ * Each tab press notes roadmapFor in the local use log (the bet's kill line). */
12
+ import { pmGet, pmPost } from './http.js';
13
+ import { noteUse } from './use-log.js';
14
+
15
+ const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' })[c]);
16
+ const SV = (d) => `<svg class="pm-ic" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="${d}"/></svg>`;
17
+ const I = { copy: 'M9 9h10v10H9zM5 15V5h10', ok: 'M5 12.5l4.5 4.5L19 7.5' };
18
+ const TABS = [['exec', 'Exec'], ['team', 'Team'], ['customer', 'Customer']];
19
+
20
+ /** The block's markup. v = { audience, markdown, offer } for the chosen tab, or null when none is chosen yet. Pure, so the test reads it. */
21
+ export function blockHtml(v) {
22
+ const on = v && v.audience ? v.audience : '';
23
+ const tabs = TABS.map(([k, n]) => `<button type="button" class="pm-tab" role="tab" name="roadmapFor" value="${k}" aria-selected="${k === on}">${n}</button>`).join('');
24
+ let body = '';
25
+ if (on) {
26
+ body += `<p class="pm-said" data-roadmap-for="${esc(on)}"><span class="ra-md">${esc(v.markdown || '').replace(/\n/g, '<br>')}</span>`
27
+ + `<button type="button" class="pm-btn outline" name="roadmapCopy" value="${esc(on)}" aria-label="Copy this version" title="Copy this version">${SV(I.copy)}</button></p>`;
28
+ const offer = Array.isArray(v.offer) ? v.offer : [];
29
+ if (on === 'customer' && offer.length) {
30
+ body += `<div class="rows">${offer.map((o) => `<div class="pm-li" data-ask="initiative:${esc(o.id)}"><span class="txt"><span class="t">${esc(o.title)}</span></span>`
31
+ + `<button type="button" class="pm-btn outline" name="roadmapShare" value="${esc(o.id)}" aria-label="Mark for customers" title="Mark for customers">${SV(I.ok)}</button></div>`).join('')}</div>`;
32
+ }
33
+ }
34
+ return `<section class="pm-block" aria-label="Roadmap for others"><div class="head"><h3 class="pm-h-sm">Roadmap for others</h3><span class="sp"></span>`
35
+ + `<div class="pm-tabs" role="tablist" aria-label="Who the roadmap is for">${tabs}</div></div>${body}</section>`;
36
+ }
37
+
38
+ const published = () => typeof location !== 'undefined' && /[?&]pack=/.test(location.search || '');
39
+ const url = (ws, who) => `/api/roadmap-for?for=${encodeURIComponent(who)}${ws ? '&ws=' + encodeURIComponent(ws) : ''}`;
40
+
41
+ /** Draw the block into `host` and wire its presses. The block shows only when the exec version has a live item. */
42
+ export async function mount(host, opts = {}) {
43
+ if (!host) return;
44
+ const { ws = null, single = true, say = null } = opts;
45
+ if (!single || published()) { host.hidden = true; host.innerHTML = ''; return; }
46
+ const who = host._who || '';
47
+ const r = await pmGet(url(ws, who || 'exec')).catch(() => null);
48
+ if (r && r.pending) { host._wait = setTimeout(() => mount(host, opts), 1500); return; }
49
+ if (!r || !r.ok || (!who && !(r.lines || []).length)) { host.hidden = true; host.innerHTML = ''; return; } // an extra: zero is silence
50
+ host.hidden = false; host.innerHTML = blockHtml(who ? r : null);
51
+ host._md = who ? r.markdown : '';
52
+ host.onclick = async (e) => {
53
+ const b = e.target.closest('button[name^="roadmap"]'); if (!b) return;
54
+ noteUse(b.name);
55
+ if (b.name === 'roadmapFor') { host._who = b.value; return mount(host, opts); }
56
+ if (b.name === 'roadmapCopy') {
57
+ try { await navigator.clipboard.writeText(host._md || ''); if (say) say('Copied.'); } catch { if (say) say('Not copied: the browser did not allow it.'); }
58
+ return;
59
+ }
60
+ if (b.name === 'roadmapShare') {
61
+ b.disabled = true;
62
+ const id = b.value;
63
+ const res = await pmPost('/api/roadmap-for/share', { ws, id, on: true }).catch(() => null);
64
+ if (!res || !res.ok) { b.disabled = false; if (say) say((res && res.error) || 'Not saved.'); return; }
65
+ if (say) say('Marked for customers.', async () => { await pmPost('/api/roadmap-for/share', { ws, id, on: false }).catch(() => null); mount(host, opts); });
66
+ mount(host, opts);
67
+ }
68
+ };
69
+ }
70
+
71
+ /** Draw the block again after a read of Work. */
72
+ export const refresh = (host, opts) => mount(host, opts);
@@ -0,0 +1,103 @@
1
+ /* pm/wk-sum.js — Work › Initiatives: the summary strip, the chips and the Key results column (board TbInitiatives, Exploring 3 page
2
+ * balanced; job #2038, slice 2 after #2030's objective groups). Pure: Node imports it (work-view.test.js).
3
+ *
4
+ * overOf(lines) → Map('<ws>|<id>' and '<id>' → days over) | null from GET /api/line answers; null when none came back
5
+ * sumOf(rows, o) → { n, objectives, krs, over, tasks: { done, n, pct, most }, noOwner: [titles], you, noEpic }
6
+ * stripHtml(S) → the strip: up to four cells; a cell that would read zero is not drawn (zero is silence)
7
+ * chipsHtml(S, on) → All, Over time, Waits on you, No epic, each with its count; a zero chip is not drawn unless it is on
8
+ * chipRows(rows, chip, o) → the rows a chip lets through ('' lets every row through)
9
+ * krColHtml(rows, R, o) → the Key results column: each key result the rows serve, in the OKR file's order, with how its rows stand
10
+ *
11
+ * o: { over: overOf(...) | null, goals: R ({ goals, of } from GET /api/artefacts/goals) }. A row is open when it is not ended and not closed.
12
+ * "Over time" is the line's word (pm/line-view.js): a live row past its stage's expected days. The UI says PMOS. Text goes through esc(). */
13
+ import { esc, tasksOf, epicOf, isClosed } from './bd-work.js';
14
+
15
+ const plural = (n, a, b) => n + ' ' + (n === 1 ? a : b);
16
+ const open = (rows) => (rows || []).filter((r) => r && !r.ended && !isClosed(r));
17
+
18
+ /** Days over each live row's expected days, by '<ws>|<id>' and by id. A row the line cannot read (no days in the stage, no number of
19
+ * expected days) is not in the map. lines: [{ ws, rows }]. null when no answer came back, so "Over time" is not drawn at all. */
20
+ export function overOf(lines) {
21
+ const got = (lines || []).filter((l) => l && Array.isArray(l.rows));
22
+ if (!got.length) return null;
23
+ const m = new Map();
24
+ for (const l of got) for (const x of l.rows) {
25
+ if (!x || !x.id || !x.live || x.daysThere == null || typeof x.limit !== 'number' || !(x.limit > 0)) continue;
26
+ const d = x.daysThere - x.limit;
27
+ m.set((x.ws || l.ws || '') + '|' + x.id, d); if (!m.has(x.id)) m.set(x.id, d);
28
+ }
29
+ return m;
30
+ }
31
+ /** Days over for a row, or null when the line does not say. */
32
+ export function overDays(r, over) {
33
+ if (!over || !r) return null;
34
+ const k = (r.ws || '') + '|' + r.id;
35
+ return over.has(k) ? over.get(k) : over.has(r.id) ? over.get(r.id) : null;
36
+ }
37
+ const isOver = (r, over) => { const d = overDays(r, over); return d != null && d > 0; };
38
+ const krOf = (r, R) => { const k = R && R.of ? R.of[String((r && r.anchor) || '')] : null; const g = k && (R.goals || []).find((x) => x.key === k); return g && g.kind === 'kr' ? g : null; };
39
+
40
+ export function sumOf(rows, o = {}) {
41
+ const L = open(rows), R = o.goals || null;
42
+ const krs = new Map(); for (const r of L) { const g = krOf(r, R); if (g) krs.set(g.key, g); }
43
+ const objectives = new Set([...krs.values()].map((g) => g.objective).filter(Boolean));
44
+ let done = 0, n = 0, most = null;
45
+ for (const r of L) {
46
+ const t = tasksOf(r); done += t.done; n += t.n;
47
+ const left = t.n - t.done; if (left > 0 && (!most || left > most.left)) most = { title: r.title, left };
48
+ }
49
+ return {
50
+ n: L.length, objectives: objectives.size, krs: krs.size,
51
+ over: o.over ? L.filter((r) => isOver(r, o.over)).length : null,
52
+ tasks: { done, n, pct: n ? Math.min(100, Math.round((done / n) * 100)) : 0, most: most ? most.title : '' },
53
+ noOwner: L.filter((r) => !r.owner).map((r) => r.title),
54
+ you: L.filter((r) => r.track && r.track.you).length,
55
+ noEpic: L.filter((r) => !epicOf(r)).length,
56
+ };
57
+ }
58
+
59
+ const cell = (big, name, sub, tone) => `<div class="wk-sc${tone ? ' ' + tone : ''}"><b>${esc(big)}</b><span class="nm">${esc(name)}</span>${sub ? `<span class="pm-meta">${esc(sub)}</span>` : ''}</div>`;
60
+ const names = (xs) => (xs.length <= 2 ? xs.join(' and ') : xs.slice(0, 2).join(', ') + ' and ' + (xs.length - 2) + ' more');
61
+ export function stripHtml(S) {
62
+ if (!S || !S.n) return '';
63
+ const c = [cell(S.n, plural(S.n, 'Initiative', 'Initiatives').replace(/^\d+ /, ''), S.krs ? plural(S.objectives, 'objective', 'objectives') + ', ' + plural(S.krs, 'key result', 'key results') : '')];
64
+ if (S.over) c.push(cell(S.over, 'Over time', 'past their stage’s expected days', 'warn'));
65
+ if (S.tasks.n) c.push(cell(S.tasks.done + ' of ' + S.tasks.n, 'Tasks done', S.tasks.pct + '%' + (S.tasks.most ? ' · ' + S.tasks.most + ' has the most open' : '')));
66
+ if (S.noOwner.length) c.push(cell(S.noOwner.length, 'No owner', names(S.noOwner)));
67
+ return `<div class="wk-strip" role="group" aria-label="Initiatives at a glance">${c.join('')}</div>`;
68
+ }
69
+
70
+ export const CHIPS = [['', 'All'], ['over', 'Over time'], ['you', 'Waits on you'], ['noepic', 'No epic']];
71
+ export function chipsHtml(S, on = '') {
72
+ if (!S || !S.n) return '';
73
+ const n = { '': S.n, over: S.over, you: S.you, noepic: S.noEpic };
74
+ const cs = CHIPS.filter(([k]) => k === '' || k === on || (n[k] != null && n[k] > 0));
75
+ if (cs.length < 2) return ''; // All alone says nothing
76
+ return `<div class="wk-chips" role="group" aria-label="Show only">${cs.map(([k, w]) => `<button type="button" class="pm-chip wk-chip${k === on ? ' on' : ''}" data-wkchip="${k}" aria-pressed="${k === on}">${esc(w)}<span class="k">${n[k] == null ? 0 : n[k]}</span></button>`).join('')}</div>`;
77
+ }
78
+ export function chipRows(rows, chip, o = {}) {
79
+ if (!chip) return rows;
80
+ if (chip === 'over') return rows.filter((r) => isOver(r, o.over));
81
+ if (chip === 'you') return rows.filter((r) => r.track && r.track.you);
82
+ if (chip === 'noepic') return rows.filter((r) => !epicOf(r));
83
+ return rows;
84
+ }
85
+
86
+ /** How a key result's rows stand, in one line: who waits on you first, then over time, else nothing. */
87
+ function standWord(L, over) {
88
+ const you = L.filter((r) => r.track && r.track.you);
89
+ if (you.length) return you.length === 1 ? you[0].title + ' waits on you' : you.length + ' wait on you';
90
+ const ov = over ? L.filter((r) => isOver(r, over)).length : 0;
91
+ if (!ov) return '';
92
+ if (ov === L.length) return L.length === 1 ? 'over time' : L.length === 2 ? 'both over time' : 'all over time';
93
+ return ov + ' over time';
94
+ }
95
+ export function krColHtml(rows, R, o = {}) {
96
+ if (!R || !(R.goals || []).length) return '';
97
+ const L = open(rows), by = new Map();
98
+ for (const r of L) { const g = krOf(r, R); if (g) { if (!by.has(g.key)) by.set(g.key, []); by.get(g.key).push(r); } }
99
+ const ks = (R.goals || []).filter((g) => g.kind === 'kr' && by.has(g.key)).sort((a, b) => String(a.key).localeCompare(String(b.key), undefined, { numeric: true })); // the OKR file's order: o1::kr1-1 before o1::kr1-2 before o2::
100
+ if (!ks.length) return '';
101
+ const item = (g) => { const rs = by.get(g.key), w = standWord(rs, o.over); return `<li class="wk-kr"><b>${esc(g.token || '')}</b> <span class="t">${esc(g.title)}</span><span class="pm-meta">${esc(plural(rs.length, 'initiative', 'initiatives') + (w ? ' · ' + w : ''))}</span></li>`; };
102
+ return `<aside class="pm-block wk-krs" aria-label="Key results"><h2 class="pm-h-sm">Key results</h2><ul>${ks.map(item).join('')}</ul></aside>`;
103
+ }
@@ -65,6 +65,8 @@
65
65
  <section class="bd-sec" id="cStrat" aria-label="Strategy" hidden></section>
66
66
  <!-- the product's principles drafted from its decisions (pm/bd-principles.js, bet A352): below the strategy, one product only -->
67
67
  <section class="bd-sec" id="cPrin" aria-label="Principles" hidden></section>
68
+ <!-- the app versions still in use and the open bugs their users hit (pm/app-versions.js, idea A211): below the principles, one product only -->
69
+ <section class="bd-sec" id="cVers" aria-label="Versions" hidden></section>
68
70
  <!-- the product's user groups and the roadmap items that serve each (pm/segments.js, idea A327): below the principles, one product only -->
69
71
  <section class="bd-sec" id="cSeg" aria-label="Segments" hidden></section>
70
72
  <!-- who has which switch, per customer (pm/switch-owners.js, idea A263): below the principles, one product only -->
@@ -72,6 +74,7 @@
72
74
  <!-- the team skill map (pm/skill-map.js, bet A208): below the principles, one product only, for the person and their lead -->
73
75
  <section class="bd-sec" id="cSkills" aria-label="Team skills" hidden></section>
74
76
  <section class="bd-sec" id="cWelcome" aria-label="Welcome" hidden></section>
77
+ <section class="bd-sec" id="cRoadFor" aria-label="Roadmap for others" hidden></section>
75
78
  <!-- the product's code map (pm/code-map.js, idea A176): one box per main part of its repository, one product only -->
76
79
  <section class="bd-sec" id="cCode" aria-label="Code" hidden></section>
77
80
  <section class="bd-sec" id="cIni" aria-labelledby="hIni">
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "Old app versions (initiative app-versions, job #1907, idea A211, done test V1-V6, N1-N3): the store's rows and ✦ proposal, pmos versions on a scratch root, the routes in process and the Work block's pure markup. No server, browser, model or network.",
3
+ "modules": [
4
+ "app-versions.test.js"
5
+ ],
6
+ "seconds": {
7
+ "app-versions.test.js": 1
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "The initiative page in two columns (job #2013, initiative tb-initiative-detail, done test S1, V1-V5, N1-N3): the numbers, Details and the milestone label from pm/ini-detail.js and its wiring in pm/cozy-pop-work.js dsHtml. No browser, model or network.",
3
+ "modules": [
4
+ "ini-detail.test.js"
5
+ ],
6
+ "seconds": {
7
+ "ini-detail.test.js": 1
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "The roadmap for exec, team or customer (initiative roadmap-audiences, job #2052, idea A88; done test R1-R6, S1, N1-N2): the live roadmap in rank order, the three versions, the share ledger, pmos roadmap, the route and the Work block's markup. No server, browser, model or network.",
3
+ "modules": [
4
+ "roadmap-audiences.test.js"
5
+ ],
6
+ "seconds": {
7
+ "roadmap-audiences.test.js": 1
8
+ }
9
+ }