create-pmos 0.536.0 → 0.537.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 +14 -20
- 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-programs-test.js +18 -13
- package/workspace/board-publish-ui-test.js +1 -1
- package/workspace/board-shared-ui-test.js +3 -3
- package/workspace/board-workflows-test.js +26 -32
- package/workspace/briefing-premium-board-test.js +34 -29
- package/workspace/changelog.json +13 -0
- package/workspace/fixtures/board-workflows-facts.js +7 -1
- package/workspace/guide/board.md +12 -1
- package/workspace/guide/programs.md +2 -2
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-vw-jira-test.js +1 -1
- package/workspace/public/pm/bd-acts.js +16 -11
- package/workspace/public/pm/bd-publish.js +1 -1
- package/workspace/public/pm/bd-wf.js +5 -28
- package/workspace/public/pm/cozy-board.css +64 -31
- package/workspace/public/pm/premium-board.js +85 -52
- package/workspace/public/pm/readonly.js +1 -1
- package/workspace/public/premium-board.html +27 -30
|
@@ -44,7 +44,7 @@ import * as PP from './bd-prog-panel.js';
|
|
|
44
44
|
import * as PO from './prog-order.js';
|
|
45
45
|
import * as SO from './sort-order.js';
|
|
46
46
|
import { faceOr } from './cozy-adler.js'; // Adler on the Jira chip (batch 17 item 4-A, canvas AdM2 Jira freshness) // the sort button and ONE order with Home and the Timeline (batch 14 item 8, canvas SoADesk, SoABoardPhone)
|
|
47
|
-
import { sortTop, sortInis, prodKey } from './order-model.js';
|
|
47
|
+
import { sortTop, sortInis, prodKey, MODES as SORT_MODES } from './order-model.js';
|
|
48
48
|
import * as SM from './split-merge.js'; // split one initiative in two, or merge two: Claude suggests, the PM approves (batch 11 item 14)
|
|
49
49
|
import * as PM from './prog-move.js'; // move an initiative out of its program, or to another (canvas LpA1More, LpA2Other)
|
|
50
50
|
import * as Pop from './bd-pop.js'; // the order of a program's initiatives: the grip and Claude's order from the dates (canvas RoADrag, RoASuggest)
|
|
@@ -111,7 +111,9 @@ const I = {
|
|
|
111
111
|
flag: 'M5 21V4M5 4h11l-2 4 2 4H5', note: 'M4 5h16v11h-9l-5 4v-4H4z', spark: 'M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z',
|
|
112
112
|
doc: 'M6 3h9l4 4v14H6zM14 3v5h5', link: 'M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1', chev: 'M7 10l5 5 5-5', chevUp: 'M7 14l5-5 5 5',
|
|
113
113
|
move: 'M4 12h12M12 6l6 6-6 6M20 5v14', hold: 'M9 5v14M15 5v14', archive: 'M4 5h16v4H4zM6 9v10h12V9M10 13h4',
|
|
114
|
-
track: 'M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z', time: 'M4 6h9M8 12h11M6 18h7',
|
|
114
|
+
track: 'M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z', time: 'M4 6h9M8 12h11M6 18h7', list: 'M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01',
|
|
115
|
+
stages: 'M4 4h4v16H4zM10 4h4v10h-4zM16 4h4v13h-4z', ok: 'M5 12.5l4.5 4.5L19 7', group: 'M4 7h16M4 12h10M4 17h5',
|
|
116
|
+
people: 'M9 5a3 3 0 1 0 0 6a3 3 0 1 0 0-6M3 20c0-3.3 2.7-5.5 6-5.5s6 2.2 6 5.5M16 5.2a3 3 0 0 1 0 5.6M18 14.8c1.8.7 3 2.3 3 5.2', info: 'M12 3a9 9 0 1 0 0 18a9 9 0 1 0 0-18M12 11v5M12 8h.01',
|
|
115
117
|
};
|
|
116
118
|
const plural = (n, a, b) => (n === 1 ? a : b);
|
|
117
119
|
const ago = (iso, short) => { const t = Date.parse(iso || ''); if (!t) return ''; const m = Math.max(0, Math.round((Date.now() - t) / 60000)); return m < 1 ? 'just now' : m < 60 ? m + ' min' + (short ? '' : ' ago') : m < 60 * 36 ? Math.round(m / 60) + ' h' + (short ? '' : ' ago') : Math.round(m / 1440) + ' days' + (short ? '' : ' ago'); };
|
|
@@ -282,7 +284,6 @@ function drawChips() {
|
|
|
282
284
|
const J = M.jira || {}, C = M.chips || {}, sp = J.sprint, rel = J.release, phone = small();
|
|
283
285
|
const jira = J.readAt ? 'Jira · read ' + ago(J.readAt) : 'Jira · not read';
|
|
284
286
|
const sprint = [sp ? sp.name : null, rel ? rel.name + ' ships ' + rel.at.replace(/^(\d+) (\w+)$/, '$2 $1') : null].filter(Boolean).join(' · ') || ''; // no sprint and no release on record: no chip (workspace grill W4, zero is silence)
|
|
285
|
-
const thisSprint = sp && (view === 'track' || view === 'time' || phone) && sprintFilterOn() ? `<button type="button" class="bd-chip${F.chips.has('sprint') ? ' on' : ''}" data-f="sprint" aria-pressed="${F.chips.has('sprint')}" title="${F.chips.has('sprint') ? 'Shows only the initiatives with work in ' + esc(sp.name) + '. Press to show all.' : 'Press to show only the initiatives with work in ' + esc(sp.name) + '.'}">${esc(sp.name)} only</button>` : ''; // it named no sprint and read like a heading (testing fixes)
|
|
286
287
|
// All products (PgBoard): one Jira control with the oldest read of any product, and every product's new asks; the sprint stays per product
|
|
287
288
|
// AdM2: Adler's S face carries the read's mood: calm when Jira was read within a day and a half, honest when it was not, glasses on while
|
|
288
289
|
// a press reads it again. Settings > Adler > Off keeps the refresh icon. Batch 24 item 7 (BbB): the face alone, an amber pip when the read is
|
|
@@ -291,17 +292,43 @@ function drawChips() {
|
|
|
291
292
|
const jSay = jira + '. ' + (ALL ? 'Press to read Jira again for every product' : 'Press to read Jira again');
|
|
292
293
|
const jiraChip = `<button type="button" class="bd-chip bd-jf" id="chJira" title="${esc(jSay)}" aria-label="${esc(jSay)}">${faceOr(jMood, 's', SV(I.refresh), { label: false })}${jMood === 'honest' ? '<i class="bd-pip" aria-hidden="true"></i>' : ''}<span class="vh">${esc(jira)}</span></button>`;
|
|
293
294
|
const need = needHtml(C, menuOpen('bdNeedMenu'), phone);
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
295
|
+
// the tune button's dot (BhA): the Jira read is old, or a filter is on
|
|
296
|
+
{ const fb = $('#bdFilter'), pip = fb.querySelector('.bd-pip'), say = phone ? 'Group, sort and filter' : 'Filter by owner, category or sprint';
|
|
297
|
+
if (pip) pip.hidden = !(phone && (jMood === 'honest' || filtered())); fb.setAttribute('aria-label', say); fb.title = say; }
|
|
298
|
+
// one row (batch 28 item 3, canvas BhA): what needs a look sits after the view; a phone reads Jira again from the tune sheet
|
|
299
|
+
TUNE = { jira, jMood };
|
|
300
|
+
$('#bdJiraw').innerHTML = phone ? '' : jiraChip;
|
|
301
|
+
if (phone) { $('#bdChipset').innerHTML = need; return; }
|
|
302
|
+
// the timeline's legend (PgTimeline) goes behind an info icon after the pill (BbB), with a program milestone only where a program is drawn
|
|
299
303
|
// and "On hold" only where a hold is drawn (feedback batch 9 item 8: zero is silence)
|
|
300
304
|
const lo = menuOpen('bdLgdMenu');
|
|
301
305
|
const lgd = view === 'time' && span !== 'sprint' ? `<span class="bd-grpw2 bd-lgdw"><button type="button" class="bd-ib bd-lgdb" id="bdLgdBtn" aria-haspopup="true" aria-expanded="${lo}" aria-controls="bdLgdMenu" aria-label="What the bars mean" title="What the bars mean">${SV(I.info)}</button>`
|
|
302
306
|
+ `<span class="bd-grpm bd-lgdm" id="bdLgdMenu"${lo ? '' : ' hidden'}><span class="bd-mlbl">What the bars mean</span>${legendHtml(!byProduct && !!groups(visible()), hasHold(visible()), { ...planKeys(visible()), ...gapKeys(visible()), range: visible().some((r) => fcRange(r)) })}</span></span>` : '';
|
|
303
|
-
|
|
304
|
-
|
|
307
|
+
// the sprints and releases (BdSprint): one icon, its words on hover; no sprint and no release on record draws nothing
|
|
308
|
+
const spr = ALL || !sprint ? '' : `<button type="button" class="bd-ib" id="chSprint" aria-haspopup="dialog" aria-label="${esc(sprint)}. Sprints and releases" title="${esc(sprint)}">${SV(I.cal)}</button>`;
|
|
309
|
+
$('#bdChipset').innerHTML = need + lgd + spr;
|
|
310
|
+
}
|
|
311
|
+
/** What the tune sheet (a phone's #bdFilter, BhA) adds to Filter: Sort first, the Jira read last. Null on a desktop, which has their own buttons. */
|
|
312
|
+
let TUNE = { jira: '', jMood: 'honest' };
|
|
313
|
+
function tuneParts() {
|
|
314
|
+
if (!small()) return null;
|
|
315
|
+
const say = TUNE.jira.replace(/^Jira · /, 'Jira ');
|
|
316
|
+
const now = SO.layout().sort;
|
|
317
|
+
return { top: `<p class="bd-mlbl">Sort</p><div class="bd-fg" role="radiogroup" aria-label="Sort">${SORT_MODES.map(([k, n]) => `<button type="button" class="bd-chip${k === now ? ' on' : ''}" role="radio" aria-checked="${k === now}" data-so-pick="${esc(k)}">${esc(n)}</button>`).join('')}</div>`,
|
|
318
|
+
bottom: `<div class="bd-tjr">${faceOr(jiraReading ? 'thinking' : TUNE.jMood, 's', '', { label: false })}<span>${esc(say)}.${TUNE.jMood === 'honest' ? ' Read it again?' : ''}</span>`
|
|
319
|
+
+ `<button type="button" class="bd-chip bd-jread" data-jread aria-label="Read Jira again" title="Read Jira again"${jiraReading ? ' disabled' : ''}>${SV(I.refresh)}</button></div>` };
|
|
320
|
+
}
|
|
321
|
+
/** A sort picked in the tune sheet: saved as the sort menu saves it (look.order, shared with Home), then read back (pm/sort-order.js). */
|
|
322
|
+
async function sortPick(k) {
|
|
323
|
+
const L = SO.layout(); if (k === L.sort) return;
|
|
324
|
+
const r = await pmPost('/api/settings', { key: 'look.order', value: { ...L, sort: k } }).catch(() => null);
|
|
325
|
+
if (!r || !r.ok) { say((r && r.error) || 'The order was not saved.'); return; }
|
|
326
|
+
await SO.load(); if (M) drawInit();
|
|
327
|
+
}
|
|
328
|
+
/** "<sprint> only" (on by default when the board has a sprint): Filter's first sprint chip now that the chip row is gone (BhA). */
|
|
329
|
+
function sprintOnly() {
|
|
330
|
+
const sp = M && M.jira && M.jira.sprint;
|
|
331
|
+
return sp && (view === 'track' || view === 'time' || small()) && sprintFilterOn() ? { name: sp.name, on: F.chips.has('sprint') } : null;
|
|
305
332
|
}
|
|
306
333
|
const closeMenu = (id, btn) => { const m = $('#' + id); if (m && !m.hidden) { m.hidden = true; const b = $('#' + btn); if (b) b.setAttribute('aria-expanded', 'false'); return true; } return false; };
|
|
307
334
|
const toggleMenu = (id, btn) => { const m = $('#' + id), o = m.hidden; m.hidden = !o; $('#' + btn).setAttribute('aria-expanded', String(o)); if (o) { const f = m.querySelector('button'); if (f) f.focus(); } };
|
|
@@ -317,16 +344,15 @@ $('#bdChipset').addEventListener('click', (e) => {
|
|
|
317
344
|
if (F.chips.has(k)) F.chips.delete(k); else F.chips.add(k); drawChips(); drawInit(); if (inNeed) { const b = $('#chNeed') || $('#bdFilter'); b.focus(); } return;
|
|
318
345
|
}
|
|
319
346
|
const b = e.target.closest('button'); if (!b) return;
|
|
320
|
-
if (b.id === '
|
|
347
|
+
if (b.id === 'chSprint') Acts.open.sprint(b);
|
|
321
348
|
else if (b.id === 'chNoSig') { closeMenu('bdNeedMenu', 'chNeed'); refreshJira($('#chJira') || b); }
|
|
322
|
-
else if (b.id === 'chSprint') Acts.open.sprint(b);
|
|
323
349
|
else if (b.id === 'chAsks') { closeMenu('bdNeedMenu', 'chNeed'); Acts.open.asks($('#chNeed')); }
|
|
324
|
-
else if (b.id === 'chShared') setTab('shared');
|
|
325
350
|
});
|
|
326
351
|
$('#bdChipset').addEventListener('keydown', (e) => {
|
|
327
352
|
if (e.key !== 'Escape') return;
|
|
328
353
|
if (closeMenu('bdNeedMenu', 'chNeed')) { e.stopPropagation(); $('#chNeed').focus(); } else if (closeMenu('bdLgdMenu', 'bdLgdBtn')) { e.stopPropagation(); $('#bdLgdBtn').focus(); }
|
|
329
354
|
});
|
|
355
|
+
$('#bdJiraw').addEventListener('click', (e) => { const b = e.target.closest('#chJira'); if (b) refreshJira(b); });
|
|
330
356
|
document.addEventListener('click', (e) => { if (!e.target.closest('#bdNeedw')) closeMenu('bdNeedMenu', 'chNeed'); if (!e.target.closest('.bd-lgdw')) closeMenu('bdLgdMenu', 'bdLgdBtn'); });
|
|
331
357
|
/** Read Jira again: the Jira source's own refresh (POST /api/sources/refresh), the one the Sources list runs. It starts a read and changes no record. */
|
|
332
358
|
async function refreshJira(btn) {
|
|
@@ -371,11 +397,9 @@ function inSprint(r, sp) {
|
|
|
371
397
|
}
|
|
372
398
|
function visible() {
|
|
373
399
|
const sp = M.jira && M.jira.sprint;
|
|
374
|
-
const W = wfState(), only = WF.narrowed(W.list) ? W.cur.id : null;
|
|
375
400
|
return M.initiatives.list.rows.filter((r) => {
|
|
376
401
|
const t = r.track || {};
|
|
377
402
|
if (r.ended) return false; // Won't do and Archived are their own strips (pm/bd-wf.js endedRows)
|
|
378
|
-
if (only && WF.wfOf(r).id !== only) return false;
|
|
379
403
|
if (F.chips.has('late') && !r.late) return false;
|
|
380
404
|
if (F.chips.has('risk') && r.status !== 'at risk') return false;
|
|
381
405
|
if (F.chips.has('blocked') && !t.blocked) return false;
|
|
@@ -388,19 +412,16 @@ function visible() {
|
|
|
388
412
|
return true;
|
|
389
413
|
});
|
|
390
414
|
}
|
|
391
|
-
const filtered = () => [...F.chips].some((k) => k !== 'sprint') || !!F.q || F.owners.size > 0 || F.cats.size > 0 || F.sprints.size > 0
|
|
392
|
-
const clearFilters = () => { F.chips.forEach((k) => { if (k !== 'sprint') F.chips.delete(k); }); F.q = ''; F.owners.clear(); F.cats.clear(); F.sprints.clear();
|
|
393
|
-
/** The workflows on the board, the
|
|
415
|
+
const filtered = () => [...F.chips].some((k) => k !== 'sprint') || !!F.q || F.owners.size > 0 || F.cats.size > 0 || F.sprints.size > 0;
|
|
416
|
+
const clearFilters = () => { F.chips.forEach((k) => { if (k !== 'sprint') F.chips.delete(k); }); F.q = ''; F.owners.clear(); F.cats.clear(); F.sprints.clear(); };
|
|
417
|
+
/** The workflows on the board, the one whose stages are drawn (the only one, else null for All) and the rows that ended (pm/bd-wf.js). */
|
|
394
418
|
const wfState = () => { const list = WF.workflowsOf(M); return { list, cur: WF.picked(list), ended: WF.endedRows(M) }; };
|
|
395
419
|
/** The "Showing" bar (BdFilter): what Filter has on, each with its own ×, Clear all, and how many initiatives show. */
|
|
396
420
|
function showingHtml(n) {
|
|
397
421
|
const G = [['owners', 'Owner'], ['cats', 'Category'], ['sprints', 'Sprint']].filter(([k]) => F[k].size);
|
|
398
|
-
|
|
399
|
-
const W = wfState(), wfOn = WF.narrowed(W.list) && view === 'list' && !small();
|
|
400
|
-
if (!G.length && !F.q && !wfOn) return '';
|
|
422
|
+
if (!G.length && !F.q) return '';
|
|
401
423
|
const word = (k, v) => (k === 'cats' ? WF.catLabel(v) : v);
|
|
402
|
-
const chips = (
|
|
403
|
-
+ G.map(([k, n2]) => `<button type="button" class="bd-chip on" data-unf="${k}" aria-label="Remove ${n2}: ${esc([...F[k]].map((v) => word(k, v)).join(', '))}">${esc(n2)}: ${esc([...F[k]].map((v) => word(k, v)).join(', '))}${SV(I.x)}</button>`).join('')
|
|
424
|
+
const chips = G.map(([k, n2]) => `<button type="button" class="bd-chip on" data-unf="${k}" aria-label="Remove ${n2}: ${esc([...F[k]].map((v) => word(k, v)).join(', '))}">${esc(n2)}: ${esc([...F[k]].map((v) => word(k, v)).join(', '))}${SV(I.x)}</button>`).join('')
|
|
404
425
|
+ (F.q ? `<button type="button" class="bd-chip on" data-unf="q" aria-label="Remove the search">“${esc(F.q)}”${SV(I.x)}</button>` : '');
|
|
405
426
|
return `<div class="bd-showing" role="status"><span class="bd-mlbl">Showing</span>${chips}<button type="button" class="dlink" id="fClear">Clear all</button><span class="bd-sp"></span><span class="bd-amut">${n} of ${M.initiatives.list.rows.length} initiatives</span></div>`;
|
|
406
427
|
}
|
|
@@ -535,46 +556,61 @@ function drawTime(L) {
|
|
|
535
556
|
lane: (c) => DL.laneHtml(c, { span, progState }) });
|
|
536
557
|
return T.html;
|
|
537
558
|
}
|
|
538
|
-
/** A phone's view
|
|
539
|
-
const
|
|
559
|
+
/** A phone's view button (batch 28 item 3, canvas BhA): the four views, the span where it applies (the timeline), then Shared with me. */
|
|
560
|
+
const VIEW_ITEMS = [['list', 'List'], ['stages', 'By stage'], ['track', 'Track'], ['time', 'Timeline']];
|
|
561
|
+
function drawViewMenu() {
|
|
562
|
+
const v = curView(), open = menuOpen('bdViewMenu'), name = (VIEW_ITEMS.find(([k]) => k === v) || VIEW_ITEMS[0])[1];
|
|
563
|
+
const b = $('#bdView');
|
|
564
|
+
b.innerHTML = SV(I[v] || I.list) + `<svg class="bd-chv" viewBox="0 0 24 24" aria-hidden="true"><path d="${I.chev}"/></svg>`;
|
|
565
|
+
b.setAttribute('aria-label', 'View: ' + (tab === 'shared' ? 'Shared with me' : name) + '. Change view');
|
|
566
|
+
b.setAttribute('aria-expanded', String(open));
|
|
567
|
+
const sp = v === 'time' ? `<span class="bd-mlbl">Span</span><span class="bd-fg bd-vsp" role="radiogroup" aria-label="Span">${SPANS.map(([k, n]) => `<button type="button" class="bd-chip${k === span ? ' on' : ''}" role="radio" aria-checked="${k === span}" data-spick="${k}">${esc(n)}</button>`).join('')}</span>` : '';
|
|
568
|
+
$('#bdViewMenu').innerHTML = VIEW_ITEMS.map(([k, n]) => { const on = tab === 'ini' && k === v; return `<button type="button" class="bd-vmi${on ? ' on' : ''}" data-pv="${k}" aria-pressed="${on}">${SV(I[k])}<span>${n}</span>${on ? `<span class="ck">${SV(I.ok)}</span>` : ''}</button>`; }).join('')
|
|
569
|
+
+ sp + '<span class="bd-vsep" aria-hidden="true"></span>'
|
|
570
|
+
+ `<button type="button" class="bd-vmi${tab === 'shared' ? ' on' : ''}" data-vshared aria-pressed="${tab === 'shared'}">${SV(I.people)}<span>Shared with me</span>${SH_N ? `<span class="k">${SH_N}</span>` : ''}</button>`;
|
|
571
|
+
}
|
|
572
|
+
$('#bdVieww').addEventListener('click', (e) => {
|
|
573
|
+
const pv = e.target.closest('[data-pv]'); if (pv && M) { closeMenu('bdViewMenu', 'bdView'); setTab('ini'); setView(pv.dataset.pv); $('#bdView').focus(); return; }
|
|
574
|
+
const sk = e.target.closest('[data-spick]'); if (sk && M) { setSpan(sk.dataset.spick); const n = $(`#bdViewMenu [data-spick="${sk.dataset.spick}"]`); if (n) n.focus(); return; }
|
|
575
|
+
if (e.target.closest('[data-vshared]')) { closeMenu('bdViewMenu', 'bdView'); setTab(tab === 'shared' ? 'ini' : 'shared'); drawViewMenu(); $('#bdView').focus(); return; }
|
|
576
|
+
if (e.target.closest('#bdView')) { const m = $('#bdViewMenu'), o = m.hidden; if (o) { closeMenu('bdNeedMenu', 'chNeed'); drawViewMenu(); } m.hidden = !o; $('#bdView').setAttribute('aria-expanded', String(o)); if (o) (m.querySelector('[aria-pressed="true"]') || m.querySelector('button')).focus(); }
|
|
577
|
+
});
|
|
578
|
+
$('#bdVieww').addEventListener('keydown', (e) => { if (e.key === 'Escape' && closeMenu('bdViewMenu', 'bdView')) { e.stopPropagation(); $('#bdView').focus(); } });
|
|
579
|
+
document.addEventListener('click', (e) => { if (!e.target.closest('#bdVieww')) closeMenu('bdViewMenu', 'bdView'); });
|
|
540
580
|
function drawInit() {
|
|
541
|
-
$('#nIni').textContent = String(M.initiatives.open || M.initiatives.list.rows.length);
|
|
542
581
|
const phone = small(), L = visible(), v = curView();
|
|
543
582
|
const body = $('#ibBody');
|
|
544
583
|
body.dataset.view = v; body.dataset.span = v === 'time' ? span : '';
|
|
545
584
|
const html = v === 'track' ? drawTrack(L) : v === 'time' ? drawTime(L) : v === 'list' ? (phone ? V.phoneListHtml(L) : V.listHtml(L, filtered())) : V.stagesHtml(L, { phone });
|
|
546
585
|
// a phone has no ⋯ menu: Metrics and Cancelled and archived stay one press away in every view, not only the track
|
|
547
586
|
const phx = phone && v !== 'track' ? `<div class="bd-whead bd-phx"><span class="bd-phb"><button type="button" class="bd-chip" data-open="metrics" aria-haspopup="dialog">Metrics</button><button type="button" class="bd-chip" data-open="gone" aria-haspopup="dialog">Cancelled and archived</button></span></div>` : '';
|
|
548
|
-
// the workflow chips (WfABoard, WfATrack, WfAPhone): By stage and the track on a desktop, every view on a phone; the List filters in Filter
|
|
549
|
-
const W = wfState(), wfc = phone || v === 'stages' || v === 'track' ? WF.chipsHtml(W.list, W.cur, { phone }) : '';
|
|
550
587
|
if (v === 'time') TL.hold(); else TL.forget();
|
|
551
588
|
// a row with the focus keeps it when the rows are drawn again (the page panel changes form as a Viewer opens or closes beside it)
|
|
552
589
|
const fe = document.activeElement, fk = fe && body.contains(fe) && fe.matches('[data-key]') ? fe.dataset.key : null;
|
|
553
|
-
body.innerHTML =
|
|
590
|
+
body.innerHTML = html + phx;
|
|
554
591
|
if (fk) { const n = $$('#ibBody [data-key]').find((x) => x.dataset.key === fk); if (n) n.focus({ preventScroll: true }); }
|
|
555
592
|
if (v === 'time') TL.mount(body);
|
|
556
593
|
$('#bdShowing').innerHTML = showingHtml(L.length); $('#bdShowing').hidden = !$('#bdShowing').innerHTML;
|
|
557
594
|
$$('#ibTabs [data-v]').forEach((b) => b.setAttribute('aria-pressed', String(b.dataset.v === v)));
|
|
558
595
|
{ const sb = $('#bdSort'), Ls = SO.labels(); if (sb) { sb.setAttribute('aria-label', Ls.aria); sb.title = Ls.title; sb.classList.toggle('on', Ls.on); } }
|
|
559
|
-
|
|
596
|
+
drawViewMenu();
|
|
560
597
|
drawSpanPicker('desk', v === 'time' && !phone);
|
|
561
598
|
$('#bdColsw').hidden = v !== 'time' || phone; if ($('#bdColsw').hidden) closeCols();
|
|
562
|
-
drawSpanPick(phone && v === 'time');
|
|
563
599
|
document.body.dataset.bdView = v;
|
|
564
600
|
$('#stage').dataset.bdDesk = view; // what fit() measures: the desktop's view, so the narrow form never flips it back and forth
|
|
565
601
|
drawGrouping();
|
|
566
602
|
markOpen();
|
|
567
603
|
}
|
|
568
604
|
PHONE.addEventListener('change', () => { if (M) { drawChips(); drawInit(); } });
|
|
569
|
-
/** The grouping (PgBoard, PgBoardProduct): programs first
|
|
570
|
-
*
|
|
605
|
+
/** The grouping (PgBoard, PgBoardProduct): programs first (the default) or By product. A desktop has its own Group button after the Jira read
|
|
606
|
+
* (BhA), blue while By product is on; a phone has it in the tune sheet. Only when a program holds a row here (zero is silence). */
|
|
571
607
|
const groupingOn = () => !!(M && PGS.length && PG.groupsOf(PGS, M.initiatives.list.rows, M, false));
|
|
572
608
|
function setGrouping(bp) { byProduct = !!bp; store.set(GROUPING_KEY, byProduct ? 'product' : 'program'); const m = $('#bdGrpMenu'); if (m) m.hidden = true; drawChips(); drawInit(); }
|
|
573
609
|
function drawGrouping() {
|
|
574
|
-
const w = $('#bdGrpw'), on = groupingOn()
|
|
610
|
+
const w = $('#bdGrpw'), on = groupingOn();
|
|
575
611
|
w.hidden = !on; if (!on) { w.innerHTML = ''; return; }
|
|
576
|
-
const open = !!$('#bdGrpMenu') && !$('#bdGrpMenu').hidden;
|
|
577
|
-
const btn = `<button type="button" class="bd-
|
|
612
|
+
const open = !!$('#bdGrpMenu') && !$('#bdGrpMenu').hidden, now = byProduct ? 'By product' : 'Programs first';
|
|
613
|
+
const btn = `<button type="button" class="bd-ib bd-grp${byProduct ? ' on' : ''}" id="bdGroup" aria-haspopup="menu" aria-expanded="${open}" aria-label="Group: ${now}. Change grouping" title="Group · ${now}">${SV(I.group)}</button>`;
|
|
578
614
|
w.innerHTML = btn + `<span class="bd-grpm" id="bdGrpMenu" role="menu"${open ? '' : ' hidden'}>${[['program', 'Programs first'], ['product', 'By product']].map(([k, n]) => `<button type="button" role="menuitemradio" aria-checked="${(k === 'product') === byProduct}" data-grping="${k}">${n}</button>`).join('')}</span>`;
|
|
579
615
|
}
|
|
580
616
|
$('#bdGrpw').addEventListener('click', (e) => {
|
|
@@ -603,17 +639,15 @@ new ResizeObserver(() => {
|
|
|
603
639
|
}).observe($('#ibBody'));
|
|
604
640
|
function setView(v) { if (PHONE.matches) { pview = v; store.set(PVIEW_KEY, v); } else if (narrow()) nview = v; else { view = v; store.set(VIEW_KEY, view); } if (!narrow()) closePanel(); drawChips(); drawInit(); }
|
|
605
641
|
$('#ibTabs').addEventListener('click', (e) => { const b = e.target.closest('[data-v]'); if (!b || !M) return; setTab('ini'); setView(b.dataset.v); });
|
|
606
|
-
$('#bdView').addEventListener('click', () => { if (M) { const c = curView(); setView(small() ? (c === 'list' ? 'stages' : c === 'stages' ? 'track' : c === 'track' ? 'time' : 'list') : view === 'time' ? 'track' : 'time'); } });
|
|
607
642
|
$('#bdShowing').addEventListener('click', (e) => {
|
|
608
643
|
if (e.target.closest('#fClear')) { clearFilters(); drawChips(); drawInit(); return; }
|
|
609
644
|
const u = e.target.closest('[data-unf]'); if (!u) return;
|
|
610
|
-
if (u.dataset.unf === 'q') F.q = ''; else
|
|
645
|
+
if (u.dataset.unf === 'q') F.q = ''; else F[u.dataset.unf].clear(); drawChips(); drawInit();
|
|
611
646
|
});
|
|
612
647
|
function setSpan(s) { span = s; store.set(SPAN_KEY, span); drawChips(); drawInit(); }
|
|
613
|
-
/** The span picker: one chip that opens the six spans (batch 24 item 7, canvas BbB
|
|
614
|
-
*
|
|
615
|
-
|
|
616
|
-
const SPK = { desk: ['bdSpans', 'bdSpansBtn', 'bdSpansMenu', 'sp'], phone: ['bdSpanPick', 'bdSpanBtn', 'bdSpanMenu', 'spick'] };
|
|
648
|
+
/** The span picker: one chip that opens the six spans (batch 24 item 7, canvas BbB). A desktop timeline draws it after the views (#bdSpans,
|
|
649
|
+
* items data-sp); a phone has the spans in its view button (BhA, items data-spick). */
|
|
650
|
+
const SPK = { desk: ['bdSpans', 'bdSpansBtn', 'bdSpansMenu', 'sp'] };
|
|
617
651
|
function drawSpanPicker(which, on) {
|
|
618
652
|
const [wid, bid, mid, attr] = SPK[which], w = $('#' + wid);
|
|
619
653
|
w.hidden = !on; if (!on) { w.innerHTML = ''; return; }
|
|
@@ -621,7 +655,6 @@ function drawSpanPicker(which, on) {
|
|
|
621
655
|
w.innerHTML = `<button type="button" class="bd-chip bd-spk" id="${bid}" aria-haspopup="menu" aria-expanded="${open}" aria-label="Span: ${esc(name)}. Change the span">${esc(name)}${SV(I.chev)}</button>`
|
|
622
656
|
+ `<span class="bd-grpm" id="${mid}" role="menu"${open ? '' : ' hidden'}>${SPANS.map(([k, n]) => `<button type="button" role="menuitemradio" aria-checked="${k === span}" data-${attr}="${k}">${esc(n)}</button>`).join('')}</span>`;
|
|
623
657
|
}
|
|
624
|
-
function drawSpanPick(on) { document.body.classList.toggle('bd-spick', on); drawSpanPicker('phone', on); }
|
|
625
658
|
for (const which of Object.keys(SPK)) {
|
|
626
659
|
const [wid, bid, mid, attr] = SPK[which], w = $('#' + wid);
|
|
627
660
|
w.addEventListener('click', (e) => {
|
|
@@ -634,7 +667,6 @@ for (const which of Object.keys(SPK)) {
|
|
|
634
667
|
$('#ibBody').addEventListener('click', (e) => {
|
|
635
668
|
if (e.target.closest('#fold, [data-mefold]')) { foldOpen = !foldOpen; drawInit(); const f = $('#fold') || $('#ibBody [data-mefold]'); if (f) f.focus(); return; }
|
|
636
669
|
const gf = e.target.closest('[data-fold]'); if (gf) { const k = gf.dataset.fold; PG.fold(k); drawInit(); const b = $$('#ibBody [data-fold]').find((x) => x.dataset.fold === k); if (b) b.focus(); return; }
|
|
637
|
-
const wp = e.target.closest('[data-wfpick]'); if (wp) { const id = wp.dataset.wfpick; WF.setPick(wp.getAttribute('aria-pressed') === 'true' ? '' : id); drawChips(); drawInit(); const b = $$('#ibBody [data-wfpick]').find((x) => x.dataset.wfpick === (WF.picked(wfState().list) || { id: '' }).id) || $('#ibBody [data-wfpick]'); if (b) b.focus(); return; }
|
|
638
670
|
const pc = e.target.closest('[data-pcat]'); if (pc) { const k = pc.dataset.pcat; V.togglePcat(k); drawInit(); const b = $$('#ibBody [data-pcat]').find((x) => x.dataset.pcat === k); if (b) b.focus(); return; }
|
|
639
671
|
const pm = e.target.closest('[data-pmore]'); if (pm) { V.morePcat(pm.dataset.pmore); drawInit(); return; }
|
|
640
672
|
const cf = e.target.closest('[data-colfold]'); if (cf) { const k = cf.dataset.colfold; V.toggleCol(k); drawInit(); const b = $$('#ibBody [data-colfold]').find((x) => x.dataset.colfold === k); if (b) b.focus(); return; }
|
|
@@ -910,16 +942,16 @@ $('#bdPublish').addEventListener('click', (e) => { const btn = e.currentTarget;
|
|
|
910
942
|
let SH_PASTE = ''; // ?shared=<link>: Open in my PMOS on a shared board (batch 27 item 3) lands on Shared with the link in the paste field
|
|
911
943
|
function setTab(t) {
|
|
912
944
|
tab = t;
|
|
913
|
-
$('#
|
|
945
|
+
$('#tabShared').setAttribute('aria-pressed', String(t === 'shared'));
|
|
946
|
+
$$('#ibTabs [data-v]').forEach((b) => b.setAttribute('aria-pressed', String(t === 'ini' && b.dataset.v === curView())));
|
|
914
947
|
$('#cIni').hidden = t !== 'ini'; $('#cShared').hidden = t !== 'shared';
|
|
915
|
-
// Shared (initiative board-publish, slice 4): reads each joined team's host now, on opening
|
|
948
|
+
// Shared (initiative board-publish, slice 4): reads each joined team's host now, on opening it and on Refresh, and never in between
|
|
916
949
|
if (t === 'shared') { closePanel(); import('./bd-shared.js').then((S) => { SH_FULL = true; const paste = SH_PASTE; SH_PASTE = ''; S.show($('#cShared'), { onCount: setSharedCount, paste }); }); }
|
|
917
950
|
}
|
|
918
|
-
|
|
919
|
-
$('#tabShared').onclick = () => setTab('shared');
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
function setSharedCount(n) { SH_N = n; $('#nShared').textContent = n ? String(n) : ''; const c = $('#chShared'); if (c) c.textContent = 'Shared' + (n ? ' ' + n : ''); }
|
|
951
|
+
// Shared is one button in the row (BhA): pressed again, the initiatives come back
|
|
952
|
+
$('#tabShared').onclick = () => setTab(tab === 'shared' ? 'ini' : 'shared');
|
|
953
|
+
/** The number on the Shared button and in the phone's view menu: nothing when there is nothing (zero is silence). Your own open links at load, every open copy after a read. */
|
|
954
|
+
function setSharedCount(n) { SH_N = n; $('#nShared').textContent = n ? String(n) : ''; if (menuOpen('bdViewMenu')) drawViewMenu(); }
|
|
923
955
|
document.addEventListener('bd:links', (e) => { if (!SH_FULL && e.detail) setSharedCount(e.detail.n); });
|
|
924
956
|
|
|
925
957
|
/** The history of the documents (GET /api/board-docs) for the document panel of pm/bd-acts.js. Batch 24 item 7 took the Documents tab off the Board,
|
|
@@ -1198,7 +1230,8 @@ V.init({ M: () => M, wf: wfState, statusOf, usual: usualOf, trail: TI, docMeta,
|
|
|
1198
1230
|
Asks.init({ M: () => M, load, say, panel: actsPanel, close: closePanel, rowOf, openIni: openIniAny, openDoc: viewDoc, anchors, programs: () => PGS, reloadPrograms: loadPrograms });
|
|
1199
1231
|
Acts.init({ M: () => M, wf: wfState, load, say, panel: actsPanel, close: closePanel, redraw: () => { drawChips(); drawInit(); }, F, rowOf, statusOf, openIni: openIniAny,
|
|
1200
1232
|
openTicket: (ini, tk) => openTicket(ini, tk, $('#bdFind')), askHref, pageHref, trail: TI, docMeta, loadDocMeta, viewDoc,
|
|
1201
|
-
grouping: () => ({ on: groupingOn(), byProduct }), setGrouping, sprintFilter: sprintFilterOn, timeline: () => curView() === 'time'
|
|
1233
|
+
grouping: () => ({ on: groupingOn(), byProduct }), setGrouping, sprintFilter: sprintFilterOn, timeline: () => curView() === 'time',
|
|
1234
|
+
tune: tuneParts, sprintOnly, toggleSprintOnly: () => { if (F.chips.has('sprint')) F.chips.delete('sprint'); else F.chips.add('sprint'); }, sortPick, refreshJira: () => refreshJira() });
|
|
1202
1235
|
BI.mount({ M: () => M, statusOf, dayTitle, usual: usualOf, fmt, md, ago, segHtml, barHtml: V.barHtml, grill: (id) => GR[id], rowOf, pageHref, askHref, refreshJira: () => refreshJira(), viewDoc,
|
|
1203
1236
|
send: (r) => import('./tk-send.js').then((S) => S.openSend({ ws: r.ws || M.board.ws || null, board: r.boardId || M.board.id, initiative: r.id, toast: say })),
|
|
1204
1237
|
moreAct: (r, k, b) => Acts.open.more(r, k, b), hold: (r, i, b) => Acts.open.hold(r, i, b), grillOpen: (r, b) => Asks.openGrill(r.id, r.title, (r.track && r.track.label) || 'Triage', false, b), onShow: iniShown, onHide: iniHidden,
|
|
@@ -32,7 +32,7 @@ export const VIEW_CONTROLS = [
|
|
|
32
32
|
].join(',');
|
|
33
33
|
|
|
34
34
|
/** The Board's static toolbar and chips: hidden, so the page's own script keeps the elements it holds. */
|
|
35
|
-
const HIDE = ['#ibTabs [data-v="stages"]', '#ibTabs [data-v="list"]', '#
|
|
35
|
+
const HIDE = ['#ibTabs [data-v="stages"]', '#ibTabs [data-v="list"]', '#bdVieww', '#bdView', '#crumbHost', '#bdJiraw', '#bdFind', '#bdColsw', '#bdSort', '#bdFilter', '#bdBell', '#bdPublish', '#tabShared', '#newIni', '.tools-top', '#bdGrpw', '#czFab'];
|
|
36
36
|
/** Controls the code draws that write, or lead to something a share does not hold: removed. */
|
|
37
37
|
const REMOVE = [
|
|
38
38
|
'.po-grip', '.bd-nxa',
|
|
@@ -22,54 +22,51 @@
|
|
|
22
22
|
are the side panel below (initiative premium-agreed-design). -->
|
|
23
23
|
<main class="stage cz-panel bd-main" id="stage">
|
|
24
24
|
<h1 class="vh">Board</h1>
|
|
25
|
-
<!-- the toolbar
|
|
26
|
-
|
|
25
|
+
<!-- the toolbar in ONE row (batch 28 item 3, canvas BhA), the same pieces in the same order on a phone and a desktop: the product picker, the
|
|
26
|
+
view, what needs a look, then Find, the tune button and a quiet blue New. A desktop has the room, so the four views and the span stay visible
|
|
27
|
+
and Group, Sort, Filter and Shared are their own buttons; a phone puts the views, the span and Shared behind the view button, and Group, Sort,
|
|
28
|
+
Filter and the Jira read behind the tune button. No workflow chips: the Board does not pick a workflow (bd-wf.js). -->
|
|
27
29
|
<div class="bd-hd">
|
|
28
30
|
<div id="crumbHost" class="bd-pickw"></div>
|
|
29
|
-
<!-- a phone's
|
|
30
|
-
<span class="bd-grpw2 bd-
|
|
31
|
-
<
|
|
31
|
+
<!-- a phone's view button (BhA): the four views, the span on the timeline, Shared with me -->
|
|
32
|
+
<span class="bd-grpw2 bd-vieww bd-show-s" id="bdVieww"><button type="button" class="bd-chip bd-vbtn" id="bdView" aria-haspopup="true" aria-expanded="false" aria-controls="bdViewMenu" aria-label="View. Change view" title="View"><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><svg class="bd-chv" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><span class="bd-grpm bd-viewm" id="bdViewMenu" role="group" aria-label="View" hidden></span></span>
|
|
33
|
+
<div class="bd-seg bd-views" id="ibTabs" role="group" aria-label="View">
|
|
34
|
+
<button type="button" data-v="list" aria-pressed="false" title="List: every initiative, one row each">List</button>
|
|
35
|
+
<button type="button" data-v="stages" aria-pressed="false" title="By stage: a column for each stage">By stage</button>
|
|
36
|
+
<button type="button" data-v="track" aria-pressed="true" title="Stage track: each initiative on its stages">Track</button>
|
|
37
|
+
<button type="button" data-v="time" aria-pressed="false" title="Timeline: each initiative on its dates">Timeline</button>
|
|
38
|
+
</div>
|
|
39
|
+
<!-- the span picker (batch 24 item 7, canvas BbB): one chip that opens Sprint to 5 yr; a desktop timeline only (a phone has it in the view button) -->
|
|
40
|
+
<span class="bd-grpw2 bd-spw" id="bdSpans" role="group" aria-label="Span" hidden></span>
|
|
41
|
+
<!-- what needs a look: one pill of dots and numbers; on a desktop timeline the legend behind (i) and the sprints and releases -->
|
|
42
|
+
<div class="bd-chipset" id="bdChipset"></div>
|
|
32
43
|
<div class="bd-tools">
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<button type="button" class="bd-ib" data-v="time" aria-pressed="false" aria-label="Timeline: each initiative on its dates" title="Timeline: each initiative on its dates"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h9M8 12h11M6 18h7"/></svg></button>
|
|
37
|
-
<button type="button" class="bd-ib" data-v="list" aria-pressed="false" aria-label="List: every initiative, one row each" title="List: every initiative, one row each"><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>
|
|
38
|
-
</div>
|
|
44
|
+
<!-- the Jira read as Adler's face (desktop; a phone has it in the tune sheet) -->
|
|
45
|
+
<span class="bd-jiraw bd-hide-s" id="bdJiraw"></span>
|
|
46
|
+
<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>
|
|
39
47
|
<!-- the grouping (PgBoard, PgBoardProduct): programs first, or By product; shown only when a program holds an initiative of this board -->
|
|
40
48
|
<span class="bd-grpw2 bd-hide-s" id="bdGrpw" hidden></span>
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
<button type="button" class="bd-ib
|
|
49
|
+
<button type="button" class="bd-ib bd-hide-s" id="bdSort" data-so-btn aria-haspopup="menu" aria-label="Sort. Now: My order" title="Sort · My order"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 4v16M4 17l3 3 3-3M13 6h8M13 12h6M13 18h4"/></svg></button>
|
|
50
|
+
<!-- Filter on a desktop; on a phone the tune button: group, sort, filter and the Jira read, with a dot when something needs a look -->
|
|
51
|
+
<button type="button" class="bd-ib" id="bdFilter" aria-label="Filter by owner, category or sprint" title="Filter by owner, category or sprint" aria-haspopup="dialog"><svg class="bd-icf" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><svg class="bd-ict" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h9M17 7h3M4 17h3M11 17h9M15 5v4M9 15v4"/></svg><i class="bd-pip bd-tune-pip" hidden></i></button>
|
|
44
52
|
<!-- the timeline's columns (batch 19 item 5, StsA8Board): which show beside the names; a desktop timeline only -->
|
|
45
53
|
<span class="bd-grpw2" id="bdColsw" hidden><button type="button" class="bd-ib" id="bdCols" aria-haspopup="true" aria-expanded="false" aria-controls="bdColsMenu" aria-label="Columns" title="Columns"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v14H4zM10 5v14M15 5v14"/></svg></button><span class="bd-grpm bd-colm" id="bdColsMenu" role="group" aria-labelledby="bdColsH" hidden></span></span>
|
|
46
|
-
|
|
47
|
-
<button type="button" class="bd-
|
|
54
|
+
<!-- Shared (initiative board-publish): the boards shared with you; pressed again, back to the initiatives -->
|
|
55
|
+
<button type="button" class="bd-chip bd-shb bd-hide-s" id="tabShared" aria-pressed="false" aria-controls="cShared">Shared <span class="n" id="nShared"></span></button>
|
|
48
56
|
<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>
|
|
49
57
|
<button type="button" class="bd-ib bd-hide-s" id="bdPublish" aria-label="Publish a read-only copy of the board" title="Publish a read-only copy" aria-haspopup="dialog" aria-expanded="false" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 15V4M8 8l4-4 4 4M5 13v5a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-5"/></svg><span class="bpn" hidden></span></button>
|
|
50
|
-
<button type="button" class="bd-ib
|
|
58
|
+
<button type="button" class="bd-ib bd-new" 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>
|
|
51
59
|
<div class="tools tools-top"><span class="vh" id="snap" role="status">Reading the board</span></div>
|
|
52
60
|
</div>
|
|
53
61
|
</div>
|
|
54
|
-
<!-- the tabs (Initiatives, Shared; batch 24 item 7 took Documents off: an initiative's Documents fold and Search's Documents filter reach them),
|
|
55
|
-
the span picker and the chips: sprint and release, This sprint, one pill for new asks, late, at risk, blocked and idle, the legend behind (i), Jira as Adler -->
|
|
56
|
-
<div class="bd-chiprow">
|
|
57
|
-
<div class="bd-tabs" role="tablist" aria-label="Board">
|
|
58
|
-
<button type="button" role="tab" class="bd-tab" id="tabIni" aria-selected="true" aria-controls="cIni">Initiatives <span class="n" id="nIni"></span></button>
|
|
59
|
-
<button type="button" role="tab" class="bd-tab" id="tabShared" aria-selected="false" aria-controls="cShared">Shared <span class="n" id="nShared"></span></button>
|
|
60
|
-
</div>
|
|
61
|
-
<!-- the span picker (batch 24 item 7, canvas BbB): one chip that opens Sprint to 5 yr; the timeline only -->
|
|
62
|
-
<span class="bd-grpw2 bd-spw" id="bdSpans" role="group" aria-label="Span" hidden></span>
|
|
63
|
-
<div class="bd-chipset" id="bdChipset"></div>
|
|
64
|
-
</div>
|
|
65
62
|
|
|
66
|
-
<section class="bd-sec" id="cIni"
|
|
63
|
+
<section class="bd-sec" id="cIni" aria-labelledby="hIni">
|
|
67
64
|
<h2 class="vh" id="hIni">Initiatives</h2>
|
|
68
65
|
<div id="bdShowing" hidden></div>
|
|
69
66
|
<!-- the skeleton until the board is read (page-open-speed, SpD): grey rows shaped like programs and initiatives, no names, no counts -->
|
|
70
67
|
<div id="ibBody"><div class="ls-bd" aria-hidden="true"><div class="ls-bh"><i class="ls-sk ls-w40"></i><span class="ls-stg"><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i></span><i class="ls-sk ls-w30"></i></div><div class="ls-br pg"><i class="ls-sk ls-w60"></i><span></span><i class="ls-sk ls-w55"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div><div class="ls-br pg"><i class="ls-sk ls-w60"></i><span></span><i class="ls-sk ls-w55"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div><div class="ls-br pg"><i class="ls-sk ls-w60"></i><span></span><i class="ls-sk ls-w55"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div></div></div>
|
|
71
68
|
</section>
|
|
72
|
-
<section class="bd-sec" id="cShared"
|
|
69
|
+
<section class="bd-sec" id="cShared" aria-label="Shared with me" hidden></section>
|
|
73
70
|
|
|
74
71
|
<!-- the help frame: what finishes each step (the step heads open it) -->
|
|
75
72
|
<div class="bd-pop bd-pop-xw" id="popSteps" role="dialog" aria-labelledby="hSteps" hidden></div>
|