create-pmos 0.401.0 → 0.402.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 -18
- 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/board-programs-test.js +226 -0
- package/workspace/board-shot.js +54 -0
- package/workspace/briefing-premium-board-test.js +22 -15
- package/workspace/briefing-premium-calendar-test.js +6 -3
- package/workspace/briefing-premium-sources-test.js +15 -10
- package/workspace/briefing-premium-test.js +38 -16
- package/workspace/changelog.json +12 -0
- package/workspace/fixtures/board-premium-facts.js +20 -3
- package/workspace/fixtures/briefing-premium-facts.js +18 -2
- package/workspace/fixtures/program-ascent.js +101 -0
- package/workspace/guide/home.md +11 -7
- package/workspace/guide/index.md +1 -0
- package/workspace/guide/programs.md +37 -0
- package/workspace/lib/briefing-premium-products.js +4 -4
- package/workspace/lib/briefing-premium.js +2 -2
- package/workspace/lib/programs.js +129 -0
- package/workspace/lib/route-modules.js +1 -0
- package/workspace/lib/routes-briefing-premium.js +1 -1
- package/workspace/lib/routes-programs.js +122 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-board-actions-test.js +1 -1
- package/workspace/premium-vw-cal-test.js +6 -3
- package/workspace/program-panel-test.js +143 -0
- package/workspace/public/pm/bd-acts.js +23 -14
- package/workspace/public/pm/bd-asks.js +89 -23
- package/workspace/public/pm/bd-prog-panel.js +451 -0
- package/workspace/public/pm/bd-prog.js +191 -0
- package/workspace/public/pm/bd-span.js +98 -15
- package/workspace/public/pm/bd-views.js +93 -29
- package/workspace/public/pm/cozy-board.css +226 -9
- package/workspace/public/pm/cozy-home.css +26 -0
- package/workspace/public/pm/cozy-panel.css +178 -0
- package/workspace/public/pm/cozy-today.css +189 -0
- package/workspace/public/pm/home-app.js +75 -19
- package/workspace/public/pm/home-chat.js +8 -4
- package/workspace/public/pm/home-data.js +1 -1
- package/workspace/public/pm/home-list.js +98 -17
- package/workspace/public/pm/home-today.js +137 -59
- package/workspace/public/pm/premium-board.js +225 -57
- package/workspace/public/pm/program-model.js +192 -0
- package/workspace/public/premium-board.html +4 -1
- package/workspace/test-lists/board-programs.json +9 -0
- package/workspace/test-lists/program-hierarchy.json +11 -0
- package/workspace/test-lists/program-panel.json +9 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/* pm/program-model.js — what a program shows, derived from its initiatives (initiative program-hierarchy, P2, P8, P9; canvas PgModel, PgBoard,
|
|
2
|
+
* PgBoardProduct, PgProgram, PgMilestones, PgTimeline, PgKanban, PgList, PgHomePhone). PURE: no page, no fetch; a node test imports it.
|
|
3
|
+
*
|
|
4
|
+
* programState(p, rowsOf, now) { state, spread, span, products, inis, missing, milestones, next, tasks, openTasks }
|
|
5
|
+
* programOf(programs, ws, ini) the program an initiative of a workspace is in, or null
|
|
6
|
+
* milestoneTrack(st, cap) { done, shown, more, next, doneN } the panel's track: a done cluster, `cap` shown, an "N more" cluster (PgProgram)
|
|
7
|
+
* milestoneGroups(st) [{ key, label, items }] Done / Next / Later, the Milestones tab (PgMilestones)
|
|
8
|
+
* mergeClose(milestones, days) [{ first, n, items, label, range }] milestones within `days` of the first merge into one counted diamond (PgTimeline)
|
|
9
|
+
* goalsByPeriod(st, krsOf, now) { current, periods, earlier } the program's goals from its initiatives' KR anchors, per year half (PgProgram)
|
|
10
|
+
* groupRows(rows, programs, o) [group] programs first, then one group per product (Home, Board, Kanban, Timeline, List)
|
|
11
|
+
*
|
|
12
|
+
* p is one program of GET /api/programs (lib/programs.js merge): { id, title, home, owner, goal, target, milestones, members: [{ ws, initiative }], tasks }.
|
|
13
|
+
* rowsOf(ws) answers { name, rows } for a product: its name and its initiatives' rows (the Board model's rows, each with id, title, stage).
|
|
14
|
+
* A program has no stage ladder of its own (PM, 2026-10-23). Everything below comes from its initiatives' stages:
|
|
15
|
+
* · state Shaping while no initiative is past Triage, Closing once every initiative is at Monitor or later, Running otherwise
|
|
16
|
+
* · spread the first and last stage its initiatives are at
|
|
17
|
+
* · products the products its initiatives are in, in the order they first appear
|
|
18
|
+
* · a milestone is ready when every initiative it waits on is past ◆ Deliver; "n of m ready" counts them
|
|
19
|
+
* · a milestone that waits on no initiative is a program check: it is done when the PM marked it done (lib/programs.js `check` lines)
|
|
20
|
+
* · span the program's own start and target ("Sep 2026 to Jun 2028"), which can be longer than any initiative
|
|
21
|
+
* A member whose initiative no read row holds is listed as `missing`, never guessed. */
|
|
22
|
+
import { STEPS, stageKey } from './premium-initiative-head.js';
|
|
23
|
+
|
|
24
|
+
const MON = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
25
|
+
const at = (stage) => { const k = stageKey(stage); return k ? STEPS.findIndex((s) => s.key === k) : -1; };
|
|
26
|
+
const DELIVER = STEPS.findIndex((s) => s.key === 'deliver');
|
|
27
|
+
const MONITOR = STEPS.findIndex((s) => s.key === 'monitor');
|
|
28
|
+
const dayOf = (iso) => { const m = /^(\d{4})-(\d{2})-(\d{2})/.exec(String(iso || '')); return m ? new Date(+m[1], +m[2] - 1, +m[3]) : null; };
|
|
29
|
+
export const shortDay = (iso) => { const d = dayOf(iso); return d ? MON[d.getMonth()] + ' ' + d.getDate() : ''; };
|
|
30
|
+
|
|
31
|
+
export function programOf(programs, ws, ini) {
|
|
32
|
+
return (programs || []).find((p) => (p.members || []).some((m) => m.initiative === ini && (!m.ws || !ws || m.ws === ws))) || null;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function programState(p, rowsOf, now = Date.now()) {
|
|
36
|
+
const inis = [], missing = [], products = [];
|
|
37
|
+
for (const m of (p && p.members) || []) {
|
|
38
|
+
const got = rowsOf ? rowsOf(m.ws) : null;
|
|
39
|
+
const row = got && (got.rows || []).find((r) => r && r.id === m.initiative);
|
|
40
|
+
if (!row) { missing.push(m); continue; }
|
|
41
|
+
const product = (got && got.name) || '';
|
|
42
|
+
if (product && !products.includes(product)) products.push(product);
|
|
43
|
+
inis.push({ ws: m.ws, id: row.id, title: row.title || row.id, stage: row.stage || '', at: at(row.stage), product, row });
|
|
44
|
+
}
|
|
45
|
+
const idx = inis.map((i) => i.at).filter((i) => i >= 0);
|
|
46
|
+
const lo = idx.length ? Math.min(...idx) : -1, hi = idx.length ? Math.max(...idx) : -1;
|
|
47
|
+
const state = !idx.length || hi <= 0 ? 'Shaping' : lo >= MONITOR ? 'Closing' : 'Running';
|
|
48
|
+
const spread = idx.length ? { from: STEPS[lo].label, to: STEPS[hi].label, lo, hi } : null;
|
|
49
|
+
const today = new Date(now); today.setHours(0, 0, 0, 0);
|
|
50
|
+
const milestones = ((p && p.milestones) || []).map((m) => {
|
|
51
|
+
const check = !(m.waits || []).length;
|
|
52
|
+
const waits = (m.waits || []).map((id) => inis.find((i) => i.id === id)).filter(Boolean);
|
|
53
|
+
const ready = waits.filter((i) => i.at > DELIVER).length;
|
|
54
|
+
// a milestone whose initiatives are all unread is neither a check nor done: it waits on what no row says
|
|
55
|
+
const done = check ? m.done === true : waits.length > 0 && ready === waits.length && waits.length === m.waits.length;
|
|
56
|
+
const d = dayOf(m.date);
|
|
57
|
+
return { id: m.id, name: m.name, date: m.date || '', day: shortDay(m.date), waits: waits.map((i) => i.id), titles: waits.map((i) => i.title), n: waits.length, ready,
|
|
58
|
+
check, done, late: !!(d && d < today && !done) };
|
|
59
|
+
});
|
|
60
|
+
const next = milestones.filter((m) => !m.done).sort((a, b) => String(a.date || '9999').localeCompare(String(b.date || '9999')))[0] || null;
|
|
61
|
+
const tasks = ((p && p.tasks) || []);
|
|
62
|
+
return { id: p && p.id, title: (p && p.title) || '', state, spread, span: spanOf(p), products, inis, missing, milestones, next, tasks, openTasks: tasks.filter((t) => !t.done) };
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const monthYear = (iso) => { const d = dayOf(iso); return d ? MON[d.getMonth()] + ' ' + d.getFullYear() : ''; };
|
|
66
|
+
/** The program's span: { start, target, label } — "Sep 2026 to Jun 2028", "from Sep 2026", "to Jun 2028", or '' when neither is set. */
|
|
67
|
+
export function spanOf(p) {
|
|
68
|
+
const a = monthYear(p && p.start), b = monthYear(p && p.target);
|
|
69
|
+
return { start: (p && p.start) || '', target: (p && p.target) || '', label: a && b ? (a === b ? a : a + ' to ' + b) : a ? 'from ' + a : b ? 'to ' + b : '' };
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* ── milestones (PgProgram, PgMilestones, PgTimeline, PgKanban) ── */
|
|
73
|
+
const byDate = (a, b) => String(a.date || '9999').localeCompare(String(b.date || '9999'));
|
|
74
|
+
/** The panel's track (PgProgram): the last done milestone stays in view as where the program is, then the open ones from the next, `cap` in
|
|
75
|
+
* all; the earlier done ones fold into the done cluster and the later open ones into "N more". Both clusters open the Milestones tab. */
|
|
76
|
+
export function milestoneTrack(st, cap = 3) {
|
|
77
|
+
const all = ((st && st.milestones) || []).slice().sort(byDate);
|
|
78
|
+
const done = all.filter((m) => m.done), open = all.filter((m) => !m.done);
|
|
79
|
+
// with open milestones the last done one is kept in view (cap 1 shows only the next); with none open, the last `cap` done ones
|
|
80
|
+
const keep = !done.length ? 0 : open.length ? (cap > 1 ? 1 : 0) : Math.min(cap, done.length);
|
|
81
|
+
const room = Math.max(0, cap - keep);
|
|
82
|
+
const shown = done.slice(done.length - keep).concat(open.slice(0, room));
|
|
83
|
+
return { done: done.slice(0, done.length - keep), shown, more: open.slice(room), next: open[0] || null, doneN: done.length };
|
|
84
|
+
}
|
|
85
|
+
/** Done / Next / Later (PgMilestones): done newest first, the next one, the rest by date. A group with nothing in it is left out. */
|
|
86
|
+
export function milestoneGroups(st) {
|
|
87
|
+
const all = ((st && st.milestones) || []).slice().sort(byDate);
|
|
88
|
+
const done = all.filter((m) => m.done).reverse(), open = all.filter((m) => !m.done);
|
|
89
|
+
return [['done', 'Done', done], ['next', 'Next', open.slice(0, 1)], ['later', 'Later', open.slice(1)]].filter(([, , L]) => L.length).map(([key, label, items]) => ({ key, label, items }));
|
|
90
|
+
}
|
|
91
|
+
const DAY = 86400000;
|
|
92
|
+
/** A cluster's dates: "Nov 18", "Nov 18–21", "Nov 28–Dec 2". Month and day only: the time axis says the year. */
|
|
93
|
+
function rangeOf(a, b) {
|
|
94
|
+
const x = dayOf(a), y = dayOf(b);
|
|
95
|
+
if (!x) return '';
|
|
96
|
+
if (!y || +x === +y) return shortDay(a);
|
|
97
|
+
return x.getMonth() === y.getMonth() && x.getFullYear() === y.getFullYear() ? shortDay(a) + '–' + y.getDate() : shortDay(a) + '–' + shortDay(b);
|
|
98
|
+
}
|
|
99
|
+
/** Milestones that sit within `days` of a cluster's first one merge into one diamond with a count (PgTimeline "Pilot live +2 · Nov 18–21").
|
|
100
|
+
* A milestone with no date is left out: it has no place on a time axis. Each cluster: { first, n, items, label, range, date, end, done, late }. */
|
|
101
|
+
export function mergeClose(milestones, days = 7) {
|
|
102
|
+
const L = (milestones || []).filter((m) => m && dayOf(m.date)).slice().sort(byDate);
|
|
103
|
+
const out = [];
|
|
104
|
+
for (const m of L) {
|
|
105
|
+
const c = out[out.length - 1];
|
|
106
|
+
if (c && Math.round((dayOf(m.date) - dayOf(c.first.date)) / DAY) <= days) c.items.push(m); else out.push({ first: m, items: [m] });
|
|
107
|
+
}
|
|
108
|
+
return out.map((c) => {
|
|
109
|
+
const n = c.items.length, end = c.items[n - 1].date;
|
|
110
|
+
return { first: c.first, n, items: c.items, label: c.first.name + (n > 1 ? ' +' + (n - 1) : ''), range: rangeOf(c.first.date, end), date: c.first.date, end,
|
|
111
|
+
done: c.items.every((m) => m.done), late: c.items.some((m) => m.late) };
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* ── goals (PgProgram goal row) ── */
|
|
116
|
+
/** A KR anchor's period → its year half: q1/q2 → H1, q3/q4 → H2, h1/h2 as written, a bare year → H2 (it ends with the year). */
|
|
117
|
+
export function halfOf(period) {
|
|
118
|
+
const s = String(period || '').toLowerCase().trim();
|
|
119
|
+
let m = /^q([1-4])[-_ ]?(\d{4})$/.exec(s) || /^(\d{4})[-_ ]?q([1-4])$/.exec(s);
|
|
120
|
+
if (m) { const [q, y] = /^q/.test(s) ? [+m[1], +m[2]] : [+m[2], +m[1]]; return { key: y + '-h' + (q <= 2 ? 1 : 2), label: 'H' + (q <= 2 ? 1 : 2) + ' ' + y }; }
|
|
121
|
+
m = /^h([12])[-_ ]?(\d{4})$/.exec(s) || /^(\d{4})[-_ ]?h([12])$/.exec(s);
|
|
122
|
+
if (m) { const [h, y] = /^h/.test(s) ? [m[1], m[2]] : [m[2], m[1]]; return { key: y + '-h' + h, label: 'H' + h + ' ' + y }; }
|
|
123
|
+
m = /^(?:fy|y)?(\d{4})$/.exec(s);
|
|
124
|
+
if (m) return { key: m[1] + '-h2', label: 'H2 ' + m[1] };
|
|
125
|
+
return null;
|
|
126
|
+
}
|
|
127
|
+
/** "q3-2026:o2:kr1" → { period: 'q3-2026', kr: 'KR 2.1' }; any other anchor (health:<id>, a name) → null. */
|
|
128
|
+
export function krOf(anchor) {
|
|
129
|
+
const m = /^([a-z0-9-]+):([a-z0-9-]+):([a-z0-9-]+)$/i.exec(String(anchor || '').trim().split(/\s/)[0]);
|
|
130
|
+
if (!m || /^health$/i.test(m[1])) return null;
|
|
131
|
+
const o = /^o(\d+)$/i.exec(m[2]), k = /^kr-?(\w+)$/i.exec(m[3]);
|
|
132
|
+
return { period: m[1].toLowerCase(), anchor: m[1].toLowerCase() + ':' + m[2].toLowerCase() + ':' + m[3].toLowerCase(), kr: o && k ? 'KR ' + o[1] + '.' + k[1].toUpperCase() : m[3].toUpperCase() };
|
|
133
|
+
}
|
|
134
|
+
/** The program's goals: the KRs its initiatives anchor to, once each, with the products whose initiatives move them, grouped by year half.
|
|
135
|
+
* krsOf(anchor, ini) → { name?, kr?, period?, met? } | null is what the page knows of a KR (its name, and whether it is met); a KR it does not
|
|
136
|
+
* know is still listed by its id. The half holding `now` comes first, the later halves after it; the earlier halves fold into ONE chip
|
|
137
|
+
* { label (the latest earlier half), n, met, periods }. A health anchor is a budget, not a goal: it is left out. */
|
|
138
|
+
export function goalsByPeriod(st, krsOf, now = Date.now()) {
|
|
139
|
+
const by = new Map();
|
|
140
|
+
for (const i of (st && st.inis) || []) {
|
|
141
|
+
const a = i.row && (i.row.anchor || i.row.parent_kr);
|
|
142
|
+
const k = krOf(a); if (!k) continue;
|
|
143
|
+
const info = (krsOf && krsOf(k.anchor, i)) || {};
|
|
144
|
+
const half = halfOf(info.period || k.period); if (!half) continue;
|
|
145
|
+
const g = by.get(k.anchor) || { anchor: k.anchor, kr: info.kr || k.kr, name: info.name || '', met: info.met === true, products: [], inis: [], half };
|
|
146
|
+
if (i.product && !g.products.includes(i.product)) g.products.push(i.product);
|
|
147
|
+
g.inis.push(i.id);
|
|
148
|
+
by.set(k.anchor, g);
|
|
149
|
+
}
|
|
150
|
+
const d = new Date(now), cur = d.getFullYear() + '-h' + (d.getMonth() < 6 ? 1 : 2);
|
|
151
|
+
const halves = new Map();
|
|
152
|
+
for (const g of by.values()) { const h = halves.get(g.half.key) || { key: g.half.key, label: g.half.label, goals: [] }; h.goals.push(g); halves.set(g.half.key, h); }
|
|
153
|
+
const list = [...halves.values()].sort((a, b) => a.key.localeCompare(b.key));
|
|
154
|
+
for (const h of list) h.goals.sort((a, b) => String(a.products[0] || '').localeCompare(String(b.products[0] || '')) || a.kr.localeCompare(b.kr, undefined, { numeric: true }));
|
|
155
|
+
const before = list.filter((h) => h.key < cur), periods = list.filter((h) => h.key >= cur);
|
|
156
|
+
const earlier = before.length ? { label: before[before.length - 1].label, n: before.reduce((s, h) => s + h.goals.length, 0), met: before.reduce((s, h) => s + h.goals.filter((g) => g.met).length, 0), periods: before } : null;
|
|
157
|
+
return { current: periods.length && periods[0].key === cur ? periods[0].label : '', periods, earlier };
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* ── grouping (PgHomePhone, PgBoard, PgBoardProduct, PgKanban, PgTimeline, PgList) ── */
|
|
161
|
+
/** The shared grouping of initiative rows. Programs first, each with its products as sub-groups in the order their rows first appear, then one
|
|
162
|
+
* group per product with the rows no program holds. Each row appears once; there is no "Not in a program" group; a group with no row is left out.
|
|
163
|
+
* o.byProduct: product groups only, a program's row copied with { inProgram: id } (PgBoardProduct's layers icon).
|
|
164
|
+
* o.productOf(row) → the product's name (default row.product, else row.ws, else o.product); o.wsOf(row) → its workspace (default row.ws, else o.ws).
|
|
165
|
+
* Group: { kind: 'program', key: 'g:<id>', program, products: [{ name, rows }], rows } | { kind: 'product', key: 'p:<name>', name, rows }. */
|
|
166
|
+
export function groupRows(rows, programs, o = {}) {
|
|
167
|
+
const productOf = o.productOf || ((r) => r.product || r.ws || o.product || '');
|
|
168
|
+
const wsOf = o.wsOf || ((r) => r.ws || o.ws || '');
|
|
169
|
+
const live = (programs || []).filter((p) => p && !p.archived);
|
|
170
|
+
const progOf = (r) => programOf(live, wsOf(r), r.id);
|
|
171
|
+
const seen = new Set(), list = [];
|
|
172
|
+
for (const r of rows || []) { if (!r || seen.has(r)) continue; seen.add(r); list.push(r); }
|
|
173
|
+
const prods = [], prodRows = new Map();
|
|
174
|
+
const put = (name, r) => { if (!prodRows.has(name)) { prodRows.set(name, []); prods.push(name); } prodRows.get(name).push(r); };
|
|
175
|
+
if (o.byProduct) {
|
|
176
|
+
for (const r of list) { const p = progOf(r); put(productOf(r), p ? { ...r, inProgram: p.id } : r); }
|
|
177
|
+
return prods.map((name) => ({ kind: 'product', key: 'p:' + name, name, rows: prodRows.get(name) }));
|
|
178
|
+
}
|
|
179
|
+
const inProg = new Map();
|
|
180
|
+
for (const r of list) {
|
|
181
|
+
const p = progOf(r);
|
|
182
|
+
if (!p) { put(productOf(r), r); continue; }
|
|
183
|
+
const g = inProg.get(p.id) || { kind: 'program', key: 'g:' + p.id, program: p, products: [], rows: [] };
|
|
184
|
+
const name = productOf(r);
|
|
185
|
+
let sub = g.products.find((x) => x.name === name);
|
|
186
|
+
if (!sub) g.products.push((sub = { name, rows: [] }));
|
|
187
|
+
sub.rows.push(r); g.rows.push(r);
|
|
188
|
+
inProg.set(p.id, g);
|
|
189
|
+
}
|
|
190
|
+
const progs = live.map((p) => inProg.get(p.id)).filter(Boolean);
|
|
191
|
+
return progs.concat(prods.map((name) => ({ kind: 'product', key: 'p:' + name, name, rows: prodRows.get(name) })));
|
|
192
|
+
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
<link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
13
13
|
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
14
14
|
<link rel="stylesheet" href="/pm/cozy-board.css" />
|
|
15
|
+
<link rel="stylesheet" href="/pm/cozy-panel.css" />
|
|
15
16
|
</head>
|
|
16
17
|
<body class="cz bd-page">
|
|
17
18
|
<!-- The Board has no dialog, dock, toast or hero of the old shell: pm/premium-shell.js binds to a detached copy when #dlg is absent. Its panels
|
|
@@ -30,12 +31,14 @@
|
|
|
30
31
|
<button type="button" class="bd-ib" data-v="time" aria-pressed="false" aria-label="Timeline" title="Timeline"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h9M8 12h11M6 18h7"/></svg></button>
|
|
31
32
|
<button type="button" class="bd-ib" data-v="list" aria-pressed="false" aria-label="List" title="List"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01"/></svg></button>
|
|
32
33
|
</div>
|
|
34
|
+
<!-- the grouping (PgBoard, PgBoardProduct): programs first, or By product; shown only when a program holds an initiative of this board -->
|
|
35
|
+
<span class="bd-grpw2 bd-hide-s" id="bdGrpw" hidden></span>
|
|
33
36
|
<span class="bd-vr bd-hide-s"></span>
|
|
34
37
|
<button type="button" class="bd-ib" id="bdFind" aria-label="Find an initiative or work-item" title="Find an initiative or work-item" aria-haspopup="dialog"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4"/></svg></button>
|
|
35
38
|
<button type="button" class="bd-ib bd-show-s" id="bdView" aria-label="Change view" title="Change view"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z"/></svg></button>
|
|
36
39
|
<button type="button" class="bd-ib" id="bdFilter" aria-label="Filter by owner, kind or sprint" title="Filter by owner, kind or sprint" aria-haspopup="dialog"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg></button>
|
|
37
40
|
<button type="button" class="bd-ib bd-hide-s" id="bdBell" aria-label="Notifications" title="Notifications" aria-haspopup="dialog"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 16v-5a6 6 0 0 1 12 0v5l2 2H4zM10 21h4"/></svg></button>
|
|
38
|
-
<button type="button" class="bd-ib solid" id="newIni" aria-label="New initiative" title="New initiative" aria-haspopup="
|
|
41
|
+
<button type="button" class="bd-ib solid" id="newIni" aria-label="New program or initiative" title="New program or initiative" aria-haspopup="menu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
|
|
39
42
|
<div class="tools tools-top"><span class="vh" id="snap" role="status">Reading the board</span></div>
|
|
40
43
|
</div>
|
|
41
44
|
</div>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "program-hierarchy P4 P6 P8: programs on the Board's stage track, By product, Kanban, timeline and List (canvas PgBoard, PgBoardProduct, PgKanban, PgTimeline, PgList).",
|
|
3
|
+
"panels": [
|
|
4
|
+
"board-programs-test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"board-programs-test.js": 60
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "program-hierarchy: the program model (pure, node) and the O1 overlay proof that Insights, the weekly update and sprints count as before.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"program-model.test.js",
|
|
5
|
+
"program-overlay.test.js"
|
|
6
|
+
],
|
|
7
|
+
"seconds": {
|
|
8
|
+
"program-model.test.js": 1,
|
|
9
|
+
"program-overlay.test.js": 1
|
|
10
|
+
}
|
|
11
|
+
}
|