create-pmos 0.397.0 → 0.398.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 (145) hide show
  1. package/package.json +13 -13
  2. package/payload/KIT-VERSION +2 -2
  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/payload/state/log.md +1 -1
  7. package/workspace/briefing-premium-adddoc-test.js +101 -52
  8. package/workspace/briefing-premium-board-test.js +252 -128
  9. package/workspace/briefing-premium-calendar-2-test.js +135 -198
  10. package/workspace/briefing-premium-calendar-3-test.js +143 -418
  11. package/workspace/briefing-premium-calendar-test.js +86 -196
  12. package/workspace/briefing-premium-doc-edit-test.js +95 -83
  13. package/workspace/briefing-premium-initiative-test.js +159 -296
  14. package/workspace/briefing-premium-insights-test.js +337 -219
  15. package/workspace/briefing-premium-metrics-test.js +53 -97
  16. package/workspace/briefing-premium-products-test.js +40 -27
  17. package/workspace/briefing-premium-sources-test.js +66 -48
  18. package/workspace/briefing-premium-test.js +150 -647
  19. package/workspace/briefing-premium-work-test.js +88 -283
  20. package/workspace/changelog.json +12 -0
  21. package/workspace/fixtures/board-premium-trail.js +32 -0
  22. package/workspace/fixtures/premium-viewer-fixtures.js +182 -0
  23. package/workspace/guide/briefing-premium.md +3 -1
  24. package/workspace/guide/home.md +47 -0
  25. package/workspace/guide/index.md +1 -0
  26. package/workspace/lib/agent-roles.js +71 -0
  27. package/workspace/lib/board-premium.js +85 -19
  28. package/workspace/lib/board-trail.js +223 -0
  29. package/workspace/lib/home-work-item.js +58 -0
  30. package/workspace/lib/insights-goals.js +196 -0
  31. package/workspace/lib/insights-premium.js +62 -14
  32. package/workspace/lib/insights-records.js +101 -0
  33. package/workspace/lib/jira-tickets.js +1 -1
  34. package/workspace/lib/route-modules.js +4 -0
  35. package/workspace/lib/routes-board-trail.js +33 -0
  36. package/workspace/lib/routes-home-desk.js +176 -0
  37. package/workspace/lib/routes-insights-premium.js +12 -3
  38. package/workspace/lib/routes-insights-records.js +129 -0
  39. package/workspace/lib/routes-notes.js +1 -0
  40. package/workspace/lib/routes-viewer.js +108 -0
  41. package/workspace/lib/transcript-steps.js +123 -0
  42. package/workspace/lib/viewer-meeting.js +205 -0
  43. package/workspace/lib/viewer-report.js +89 -0
  44. package/workspace/package-lock.json +2 -2
  45. package/workspace/package.json +1 -1
  46. package/workspace/premium-board-actions-test.js +85 -75
  47. package/workspace/premium-briefing-depth-test.js +66 -53
  48. package/workspace/premium-chat-attach-test.js +54 -63
  49. package/workspace/premium-chat-chart-tab-test.js +35 -37
  50. package/workspace/premium-chat-context-test.js +19 -18
  51. package/workspace/premium-chat-goal-view-test.js +23 -23
  52. package/workspace/premium-chat-notes-test.js +26 -31
  53. package/workspace/premium-chat-report-tab-test.js +32 -28
  54. package/workspace/premium-chat-term-test.js +16 -16
  55. package/workspace/premium-chat-viewer-test.js +60 -59
  56. package/workspace/premium-core-doc-issue-test.js +50 -43
  57. package/workspace/premium-html-viewer-test.js +14 -17
  58. package/workspace/premium-phone-card-test.js +7 -2
  59. package/workspace/premium-phone-room-test.js +41 -35
  60. package/workspace/premium-report-read-test.js +115 -197
  61. package/workspace/premium-viewer-download-test.js +19 -22
  62. package/workspace/premium-viewer-flicker-test.js +11 -16
  63. package/workspace/premium-viewer-share-test.js +6 -9
  64. package/workspace/premium-viewer-test.js +41 -60
  65. package/workspace/premium-vw-backlog-test.js +53 -33
  66. package/workspace/premium-vw-cal-test.js +82 -128
  67. package/workspace/premium-vw-copy-test.js +17 -33
  68. package/workspace/premium-vw-doc-test.js +11 -10
  69. package/workspace/premium-vw-item-test.js +50 -49
  70. package/workspace/premium-vw-jira-test.js +53 -27
  71. package/workspace/premium-vw-meet-test.js +118 -187
  72. package/workspace/premium-vw-notes-test.js +85 -108
  73. package/workspace/premium-vw-rec-test.js +72 -194
  74. package/workspace/premium-vw-slides-test.js +46 -50
  75. package/workspace/premium-welcome-test.js +3 -2
  76. package/workspace/premium-work-depth-test.js +61 -53
  77. package/workspace/public/pm/bd-acts.js +305 -0
  78. package/workspace/public/pm/bd-span.js +186 -82
  79. package/workspace/public/pm/bd-stages.js +25 -11
  80. package/workspace/public/pm/c3-doc-sheet.js +1 -1
  81. package/workspace/public/pm/c3-md.js +3 -395
  82. package/workspace/public/pm/c3-phone-detail.js +1 -1
  83. package/workspace/public/pm/c3-phone-model.js +3 -68
  84. package/workspace/public/pm/chat-term.js +3 -3
  85. package/workspace/public/pm/cozy-board.css +497 -230
  86. package/workspace/public/pm/cozy-home.css +570 -142
  87. package/workspace/public/pm/cozy-home.js +5 -3
  88. package/workspace/public/pm/cozy-insights.css +296 -167
  89. package/workspace/public/pm/cozy-md.js +396 -0
  90. package/workspace/public/pm/cozy-nav.js +17 -6
  91. package/workspace/public/pm/cozy-placeholder.js +26 -0
  92. package/workspace/public/pm/cozy-viewer.css +3 -3
  93. package/workspace/public/pm/cozy-viewer.js +144 -0
  94. package/workspace/public/pm/cozy-vw.css +485 -0
  95. package/workspace/public/pm/cozy.css +83 -1
  96. package/workspace/public/pm/home-adddoc.js +48 -0
  97. package/workspace/public/pm/home-app.js +905 -0
  98. package/workspace/public/pm/home-around.js +515 -0
  99. package/workspace/public/pm/home-chat.js +459 -0
  100. package/workspace/public/pm/home-data.js +312 -0
  101. package/workspace/public/pm/home-draft.js +68 -0
  102. package/workspace/public/pm/home-more.js +249 -0
  103. package/workspace/public/pm/home-phone-card.js +109 -0
  104. package/workspace/public/pm/home-work.js +519 -0
  105. package/workspace/public/pm/phone-moment.js +69 -0
  106. package/workspace/public/pm/pm-work-view.js +1 -1
  107. package/workspace/public/pm/premium-attach.js +4 -0
  108. package/workspace/public/pm/premium-board.js +423 -394
  109. package/workspace/public/pm/premium-chart-tab.js +110 -62
  110. package/workspace/public/pm/premium-deck.js +3 -3
  111. package/workspace/public/pm/premium-first.js +25 -21
  112. package/workspace/public/pm/premium-insights.js +792 -568
  113. package/workspace/public/pm/premium-meeting.js +61 -549
  114. package/workspace/public/pm/premium-notes.js +1 -1
  115. package/workspace/public/pm/premium-report-frame.css +20 -0
  116. package/workspace/public/pm/premium-report-read.js +509 -480
  117. package/workspace/public/pm/premium-report-tab.js +87 -63
  118. package/workspace/public/pm/premium-shell.js +72 -119
  119. package/workspace/public/pm/premium-viewer.js +22 -1
  120. package/workspace/public/pm/premium-vw-cal.js +187 -48
  121. package/workspace/public/pm/premium-vw-doc.css +6 -0
  122. package/workspace/public/pm/premium-vw-doc.js +40 -2
  123. package/workspace/public/pm/premium-vw-file.js +2 -2
  124. package/workspace/public/pm/premium-vw-meet.js +6 -83
  125. package/workspace/public/pm/premium-vw-mtg.js +731 -0
  126. package/workspace/public/pm/premium-vw-notes.js +56 -69
  127. package/workspace/public/pm/premium-vw-open.js +35 -0
  128. package/workspace/public/pm/premium-vw-page.js +16 -0
  129. package/workspace/public/pm/premium-vw-rec.js +11 -218
  130. package/workspace/public/pm/premium-vw-slides.css +5 -0
  131. package/workspace/public/pm/premium-vw-slides.js +44 -8
  132. package/workspace/public/pm/term-view.js +22 -0
  133. package/workspace/public/premium-board.html +28 -70
  134. package/workspace/public/premium-initiative.html +8 -48
  135. package/workspace/public/premium-insights.html +22 -60
  136. package/workspace/public/premium-viewer.html +20 -0
  137. package/workspace/public/premium.html +16 -107
  138. package/workspace/server.js +18 -3
  139. package/workspace/test-files.json +1 -0
  140. package/workspace/test-lists/home-libs.json +9 -0
  141. package/workspace/test-lists/premium-report-read.json +1 -1
  142. package/workspace/test-lists/premium-vw-agreed.json +9 -0
  143. package/workspace/test-lists/premium-vw-notes.json +1 -1
  144. package/workspace/public/pm/premium-work.js +0 -729
  145. package/workspace/public/pm/premium.js +0 -1146
@@ -112,8 +112,8 @@ export function present(deck, ws, start, opt = {}) {
112
112
  if (!w || w.closed) { toast('The browser blocked the audience window. Allow pop-ups for PMOS, then press Audience window again.'); return; }
113
113
  const d = w.document;
114
114
  d.title = 'Audience · ' + deck.title;
115
- if (!d.querySelector('link[data-sl]')) for (const h of ['/pm/premium.css', '/pm/premium-vw-slides.css']) { const l = d.createElement('link'); l.rel = 'stylesheet'; l.href = location.origin + h; l.dataset.sl = ''; d.head.append(l); }
116
- d.documentElement.dataset.theme = 'dark'; d.body.className = 'sl-audw';
115
+ if (!d.querySelector('link[data-sl]')) for (const h of ['/pm/cozy.css', '/pm/premium-vw-slides.css']) { const l = d.createElement('link'); l.rel = 'stylesheet'; l.href = location.origin + h; l.dataset.sl = ''; d.head.append(l); }
116
+ d.documentElement.dataset.theme = 'dark'; d.body.className = 'cz sl-audw';
117
117
  w.onkeydown = (e) => key(e); w.onresize = drawWin; w.onclick = () => go(1);
118
118
  P.win = w; drawWin(); o.focus();
119
119
  };
@@ -147,10 +147,10 @@ export function present(deck, ws, start, opt = {}) {
147
147
  /* ── the editor ── */
148
148
  const OPEN = new Map(); // path -> editor state, so the test hook can read it
149
149
 
150
- export async function openSlides({ ws, path, title, readOnly, onSaved, host, onClose } = {}) {
150
+ export async function openSlides({ ws, path, title, readOnly, onSaved, host, onClose, onState } = {}) {
151
151
  if (!path) return null;
152
152
  vwStyle('slides');
153
- const S = { ws: ws || '', path, title: title || String(path).split('/').pop(), ro: !!readOnly, onSaved, onClose: host ? onClose : null, text: null, deck: null, i: 0, sel: null, editing: null, drag: null, hist: [], fut: [], dirty: false, msg: '', busy: false, pop: null, root: null };
153
+ const S = { ws: ws || '', path, title: title || String(path).split('/').pop(), ro: !!readOnly, onSaved, onClose: host ? onClose : null, cozy: !!host, onState: host ? onState : null, note: '', text: null, deck: null, i: 0, sel: null, editing: null, drag: null, hist: [], fut: [], dirty: false, msg: '', busy: false, pop: null, root: null };
154
154
  OPEN.set(path, S);
155
155
  const el = host || vwOpen({ id: 'slides:' + path, title: S.title + ' slides', icon: 'doc', html: '<p class="note">Reading the slides.</p>' });
156
156
  if (host) host.innerHTML = '<p class="note">Reading the slides.</p>';
@@ -171,11 +171,28 @@ function load(S, text) {
171
171
  S.deck = d; S.i = Math.min(S.i, d.slides.length - 1); S.sel = null; S.editing = null; S.hist = []; S.fut = []; S.dirty = false;
172
172
  const ch = d.slides.map((s, k) => (s.changed ? k + 1 : 0)).filter(Boolean);
173
173
  S.msg = ch.length ? `The text of slide ${ch.join(', ')} was changed in the file outside the editor, so it now shows the file's text. Its layout is kept.` : (!d.blocks && !S.ro ? 'This document has no slide layout yet. It is shown as a title slide and one slide for each section. Saving adds the layout to the file.' : '');
174
+ S.note = !ch.length && !d.blocks && !S.ro ? 'nolayout' : ''; // the report panel's edit mode does not show this note (ReportPanel.dc.html draws none)
174
175
  }
175
176
 
177
+ /* The report panel's edit mode (ReportPanel.dc.html, pane "edit"): the slide with a dashed outline, "Slides ‹ n of N ›" and a strip of
178
+ * thumbnails, five to a row. The panel's own toolbar drives the editor (the editor's toolbar is in the DOM but not shown). The slide tools,
179
+ * the selected item's tools and the speaker notes are not in the design: they stay usable, marked "Waiting for design". */
180
+ function cozySkeleton(S) {
181
+ const ro = S.ro, W8 = (f) => `<span class="vz-wait" data-cz-placeholder="${esc(f)}">Waiting for design</span>`;
182
+ return `<div class="sl sl-cz${ro ? ' ro' : ''}" data-sl>`
183
+ + `<div class="sl-tb" role="toolbar" aria-label="Slides">${ro ? '' : `${tb('undo', 'Undo', 'undo', ' disabled')}${tb('redo', 'Redo', 'redo', ' disabled')}${tbl('text', 'Text', 'txt')}${tbl('img', 'Image', 'img')}${tbl('chart', 'Chart', 'chart')}${tbl('table', 'Table', 'tbl')}${tbl('shape', 'Shape', 'shape')}${tbl('layout', 'Layout', 'lay', ' aria-haspopup="menu"')}${tbl('theme', 'Theme', 'pal', ' aria-haspopup="menu"')}`}`
184
+ + `${S.onClose ? '<button type="button" class="sl-b sl-bl" data-c="close"><span>Cancel</span></button>' : ''}${ro ? '' : `<button type="button" class="sl-b sl-pri" data-c="save">${I('save')}<span>Save</span></button>`}</div>`
185
+ + `<p class="sl-msg" role="status"></p>`
186
+ + `<div class="sl-body"><div class="sl-main"><div class="sl-stage" tabindex="0" aria-label="Slide"></div></div>`
187
+ + `<div class="sl-snav"><b>Slides</b><span class="sl-gap"></span><button type="button" class="sl-b sl-nv" data-rel="-1" aria-label="Previous slide" title="Previous slide">${I('lt')}</button><span class="sl-cnt" aria-live="polite"></span><button type="button" class="sl-b sl-nv" data-rel="1" aria-label="Next slide" title="Next slide">${I('rt')}</button></div>`
188
+ + `<nav class="sl-rail" aria-label="Slides"></nav>`
189
+ + (ro ? '' : '<div class="sl-ctx" role="toolbar" aria-label="Change the selected item"></div><div class="sl-tools" role="toolbar" aria-label="This slide"></div>')
190
+ + `<details class="sl-notes"><summary>Speaker notes ${W8('Speaker notes')}</summary><textarea rows="3" aria-label="Speaker notes" placeholder="${ro ? 'No notes' : 'What you will say on this slide. Only you see it.'}"${ro ? ' readonly' : ''}></textarea></details></div></div>`;
191
+ }
176
192
  function build(S) {
177
193
  const el = S.root, ro = S.ro;
178
- el.innerHTML = `<div class="sl${ro ? ' ro' : ''}" data-sl>`
194
+ if (S.cozy) el.innerHTML = cozySkeleton(S);
195
+ else el.innerHTML = `<div class="sl${ro ? ' ro' : ''}" data-sl>`
179
196
  + `<div class="sl-tb" role="toolbar" aria-label="Slides">`
180
197
  + (ro ? '' : `${tb('undo', 'Undo', 'undo', ' disabled')}${tb('redo', 'Redo', 'redo', ' disabled')}<span class="sl-sep"></span>${tbl('text', 'Text', 'txt')}${tbl('img', 'Image', 'img')}${tbl('chart', 'Chart', 'chart')}${tbl('table', 'Table', 'tbl')}${tbl('shape', 'Shape', 'shape')}<span class="sl-sep"></span>${tbl('layout', 'Layout', 'lay', ' aria-haspopup="menu"')}${tbl('theme', 'Theme', 'pal', ' aria-haspopup="menu"')}`)
181
198
  + `<span class="sl-gap"></span>${tbl('present', 'Present', 'play')}${S.onClose ? `<button type="button" class="sl-b sl-bl" data-c="close"><span>Cancel</span></button>` : ''}${ro ? '' : `<button type="button" class="sl-b sl-pri" data-c="save">${I('save')}<span>Save</span></button>`}</div>`
@@ -195,6 +212,7 @@ function build(S) {
195
212
  top.onclick = (e) => { const b = e.target.closest('[data-c]'); if (b && !b.disabled) onTop(S, b.dataset.c, b); };
196
213
  if (ctx) { ctx.onmousedown = (e) => { if (e.target.closest('button')) e.preventDefault(); }; ctx.onclick = (e) => { const b = e.target.closest('[data-c]'); if (b) onCtx(S, b.dataset.c, b.dataset.v, b); }; }
197
214
  rail.onclick = (e) => onRail(S, e);
215
+ for (const x of [$('.sl-snav'), $('.sl-tools')]) if (x) x.onclick = (e) => onRail(S, e);
198
216
  if (!ro) {
199
217
  stage.onpointerdown = (e) => onDown(S, e);
200
218
  stage.onpointermove = (e) => onMove(S, e);
@@ -226,10 +244,24 @@ function drawBar(S) {
226
244
  const u = S.$('[data-c="undo"]'), r = S.$('[data-c="redo"]'), m = S.$('.sl-msg'), sv = S.$('[data-c="save"]');
227
245
  if (u) u.disabled = !S.hist.length; if (r) r.disabled = !S.fut.length;
228
246
  if (sv) { sv.disabled = S.busy; sv.classList.toggle('on', S.dirty); }
229
- if (m) { m.textContent = S.ro ? 'This report is issued, so its slides are read-only.' + (S.msg ? ' ' + S.msg : '') : S.msg; m.hidden = !m.textContent; }
247
+ if (m) { m.textContent = S.ro ? 'This report is issued, so its slides are read-only.' + (S.msg ? ' ' + S.msg : '') : S.cozy && S.note === 'nolayout' ? '' : S.msg; m.hidden = !m.textContent; }
248
+ if (S.onState) { try { S.onState(S); } catch (x) { console.error(x); } }
230
249
  }
231
250
  function drawRail(S) {
232
251
  const rail = S.$('.sl-rail'), n = S.deck.slides.length;
252
+ if (S.cozy) {
253
+ rail.innerHTML = S.deck.slides.map((s, k) => `<div class="sl-th" draggable="${!S.ro}" data-k="${k}" aria-current="${k === S.i}">`
254
+ + `<button type="button" class="sl-mini" data-go="${k}" aria-label="Slide ${k + 1}: ${esc(railName(s, k))}">${slideHtml(s, S.deck.theme, S.ws, false)}</button><span class="sl-cap" data-go="${k}" aria-hidden="true">${k + 1} · ${esc(railName(s, k))}</span></div>`).join('');
255
+ rail.querySelectorAll('.sl-mini').forEach((m) => { fit(m); place(m); });
256
+ const c = S.$('.sl-cnt'); if (c) c.textContent = (S.i + 1) + ' of ' + n;
257
+ S.root.querySelectorAll('.sl-snav [data-rel]').forEach((b) => { b.disabled = b.dataset.rel === '-1' ? S.i === 0 : S.i === n - 1; });
258
+ const t = S.$('.sl-tools'), k = S.i;
259
+ if (t) t.innerHTML = `<span class="vz-wait" data-cz-placeholder="Slide tools">Waiting for design</span><span class="sl-tl">Slide ${k + 1}</span>`
260
+ + `<button type="button" class="sl-b sl-bl" data-up="${k}" aria-label="Move slide ${k + 1} earlier"${k === 0 ? ' disabled' : ''}><span>Earlier</span></button><button type="button" class="sl-b sl-bl" data-dn="${k}" aria-label="Move slide ${k + 1} later"${k === n - 1 ? ' disabled' : ''}><span>Later</span></button>`
261
+ + `<button type="button" class="sl-b sl-bl" data-dup="${k}" aria-label="Duplicate slide ${k + 1}"><span>Duplicate</span></button><button type="button" class="sl-b sl-bl" data-del="${k}" aria-label="Delete slide ${k + 1}"${n < 2 ? ' disabled' : ''}><span>Delete</span></button>`
262
+ + `<button type="button" class="sl-b sl-bl" data-add aria-haspopup="menu">${I('plus')}<span>Slide</span></button><button type="button" class="sl-b sl-bl" data-c="present" title="The slide, the next one, your notes and a timer">${I('play')}<span>Presenter view</span></button>`;
263
+ return;
264
+ }
233
265
  rail.innerHTML = S.deck.slides.map((s, k) => `<div class="sl-th" draggable="${!S.ro}" data-k="${k}" aria-current="${k === S.i}"><i class="sl-num">${k + 1}</i>`
234
266
  + `<button type="button" class="sl-mini" data-go="${k}" aria-label="Slide ${k + 1}: ${esc(railName(s, k))}">${slideHtml(s, S.deck.theme, S.ws, false)}</button>`
235
267
  + (S.ro ? '' : `<span class="sl-tha"><button type="button" class="sl-b" data-up="${k}" aria-label="Move slide ${k + 1} up" title="Move up"${k === 0 ? ' disabled' : ''}>${I('up')}</button><button type="button" class="sl-b" data-dn="${k}" aria-label="Move slide ${k + 1} down" title="Move down"${k === n - 1 ? ' disabled' : ''}>${I('down')}</button><button type="button" class="sl-b" data-dup="${k}" aria-label="Duplicate slide ${k + 1}" title="Duplicate">${I('dup')}</button><button type="button" class="sl-b" data-del="${k}" aria-label="Delete slide ${k + 1}" title="Delete"${n < 2 ? ' disabled' : ''}>${I('trash')}</button></span>`)
@@ -248,7 +280,7 @@ const ROLE_NAME = (r) => (D.ROLES.find((x) => x[0] === r) || D.ROLES[2])[1];
248
280
  function drawCtx(S) {
249
281
  const ctx = S.$('.sl-ctx'); if (!ctx) return;
250
282
  const it = S.sel && find(S, S.sel); let h = '';
251
- if (!it) h = `<span class="sl-hint">Slide ${S.i + 1} of ${S.deck.slides.length}. Click an item to change it. Double-click text to type.</span>`;
283
+ if (!it) h = S.cozy ? '' : `<span class="sl-hint">Slide ${S.i + 1} of ${S.deck.slides.length}. Click an item to change it. Double-click text to type.</span>`;
252
284
  else if (it.t === 'text') h = `<button type="button" class="sl-b sl-bl" data-c="role" aria-haspopup="menu"><span>${esc(ROLE_NAME(it.role))}</span></button><span class="sl-sep"></span>`
253
285
  + `<button type="button" class="sl-b" data-c="bold" aria-label="Bold" title="Bold"><b>B</b></button><button type="button" class="sl-b" data-c="italic" aria-label="Italic" title="Italic"><i>I</i></button><button type="button" class="sl-b" data-c="underline" aria-label="Underline" title="Underline"><u>U</u></button>${tb('list', 'Bulleted list', 'ul')}<span class="sl-sep"></span>`
254
286
  + ['left', 'center', 'right'].map((a) => tb('al', 'Align ' + a, 'a' + a[0], ` data-v="${a}" aria-pressed="${(it.align || 'left') === a}"`)).join('') + '<span class="sl-sep"></span>'
@@ -258,6 +290,7 @@ function drawCtx(S) {
258
290
  else if (it.t === 'img') h = tbl('pick', it.src ? 'Change image' : 'Choose image', 'img');
259
291
  else h = D.FILLS.map((c) => `<button type="button" class="sl-sw f-${c[0]}" data-c="fill" data-v="${c[0]}" aria-label="${c[1]}" title="${c[1]}" aria-pressed="${(it.fill || 'acc') === c[0]}"></button>`).join('') + `<button type="button" class="sl-b sl-bl" data-c="round" aria-pressed="${!!it.round}">Round</button>`;
260
292
  if (it) h += `<span class="sl-gap"></span>${tb('front', 'Bring to front', 'front')}${tb('back', 'Send to back', 'back')}${tb('dup', 'Duplicate', 'dup')}${tb('del', 'Delete', 'trash')}`;
293
+ if (it && S.cozy) h = '<span class="vz-wait" data-cz-placeholder="Item tools">Waiting for design</span>' + h;
261
294
  ctx.innerHTML = h;
262
295
  }
263
296
  function go(S, k) { commitEdit(S); closePop(S); S.i = Math.max(0, Math.min(S.deck.slides.length - 1, k)); S.sel = null; drawAll(S); }
@@ -299,10 +332,11 @@ function closePop(S) { if (S.pop) { S.pop.remove(); S.pop = null; } }
299
332
  function pop(S, anchor, html) {
300
333
  closePop(S);
301
334
  const p = document.createElement('div'); p.className = 'sl-pop'; p.dataset.escLayer = ''; p.innerHTML = html;
335
+ if (!anchor.getClientRects().length) anchor = S.$('.sl-stage') || anchor; // a press forwarded from the report panel: the menu opens over the slide
302
336
  const root = S.root.querySelector('.sl'), a = anchor.getBoundingClientRect(), r = root.getBoundingClientRect();
303
337
  root.append(p);
304
338
  const left = Math.max(0, Math.min(a.left - r.left, r.width - p.offsetWidth));
305
- p.style.setProperty('--bd-px', left + 'px'); p.style.setProperty('--bd-py', (a.bottom - r.top + 6) + 'px');
339
+ p.style.setProperty('--bd-px', left + 'px'); p.style.setProperty('--bd-py', ((anchor.classList.contains('sl-stage') ? a.top : a.bottom) - r.top + 6) + 'px');
306
340
  S.pop = p;
307
341
  const f = p.querySelector('input,button'); if (f) f.focus();
308
342
  p.onkeydown = (e) => { if (e.key === 'Escape') { e.stopPropagation(); closePop(S); anchor.focus(); } };
@@ -384,6 +418,8 @@ function redrawSel(S) { drawStage(S); drawThumb(S, S.i); drawCtx(S); drawBar(S);
384
418
  function onRail(S, e) {
385
419
  const t = (s) => e.target.closest(s);
386
420
  if (t('[data-go]')) return go(S, +t('[data-go]').dataset.go);
421
+ if (t('[data-rel]')) return go(S, S.i + +t('[data-rel]').dataset.rel);
422
+ if (t('[data-c="present"]')) return onTop(S, 'present');
387
423
  if (S.ro) return;
388
424
  if (t('[data-up]')) return move(S, +t('[data-up]').dataset.up, +t('[data-up]').dataset.up - 1);
389
425
  if (t('[data-dn]')) return move(S, +t('[data-dn]').dataset.dn, +t('[data-dn]').dataset.dn + 1);
@@ -0,0 +1,22 @@
1
+ /* pm/term-view.js — a running session's terminal, read only, in the Viewer card (initiative premium-agreed-design: nothing links to the console).
2
+ * openTermView(sid, { title }) → the Viewer body. It reads GET /api/sessions/transcript?id=<sid> (what the session printed, ANSI taken out)
3
+ * every 2 s while the card shows it, and keeps the view at the end unless the PM scrolled up. It writes nothing. */
4
+ import { open, current } from './cozy-viewer.js';
5
+ import { pmGet } from './http.js';
6
+
7
+ export function openTermView(sid, o = {}) {
8
+ if (!/^sess-\d+$/.test(String(sid || ''))) return null;
9
+ const id = 'term:' + sid;
10
+ const body = open({ id, kind: 'Terminal · read only', title: o.title || sid, icon: 'M4 5h16v14H4zM7 9l3 3-3 3M12 15h5', html: '<pre class="hv-term" role="log" aria-live="off">Reading the terminal.</pre>' });
11
+ const tick = async () => {
12
+ const c = current(); if (!c || c.id !== id) return;
13
+ const r = await pmGet('/api/sessions/transcript?id=' + encodeURIComponent(sid) + '&max=12000');
14
+ const pre = body.querySelector('.hv-term'); if (!pre) return;
15
+ const end = pre.scrollHeight - pre.scrollTop - pre.clientHeight < 40;
16
+ pre.textContent = r && r.ok ? r.text || '(nothing printed yet)' : (r && r.error) || 'The terminal could not be read.';
17
+ if (end) pre.scrollTop = pre.scrollHeight;
18
+ setTimeout(tick, 2000);
19
+ };
20
+ tick();
21
+ return body;
22
+ }
@@ -10,105 +10,63 @@
10
10
  (pm/cozy-nav.js) replaces the rail on screen; the rail stays in the markup so premium-shell.js keeps its wiring. The Board has no chat: "Ask about this"
11
11
  sends the question to Home. -->
12
12
  <link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
13
- <link rel="stylesheet" href="/pm/premium.css" />
14
- <link rel="stylesheet" href="/pm/premium-wide.css" />
15
13
  <link rel="stylesheet" href="/pm/cozy.css" />
16
14
  <link rel="stylesheet" href="/pm/cozy-board.css" />
17
15
  </head>
18
16
  <body class="cz bd-page">
19
- <nav class="rail glass" aria-label="Places" hidden>
20
- <i class="ind"></i>
21
- <button class="pl" data-go="brief">Briefing</button>
22
- <button class="pl" data-go="work">My work</button>
23
- <button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><i class="cdot" hidden></i></span>Chat</button>
24
- <button class="pl" data-go="init" aria-current="page">Board</button>
25
- <button class="pl" data-go="rep">Insights</button>
26
- </nav>
27
-
28
- <div class="dock glass" id="dock" inert hidden><span class="nm">Board</span><span class="cnt"><b id="dN">·</b><span id="dLab">need a look</span></span><span class="pl2" id="dNext"></span><button class="round" id="theme2" aria-label="Switch light or dark"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
29
- <div class="veil" id="veil"></div>
30
- <div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
31
- <div class="grab"></div>
32
- <div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
33
- <div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
34
- <div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
35
- <div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
36
- <section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
37
- </div>
38
- <div class="toast glass" id="toast" role="status"></div>
39
-
17
+ <!-- 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
18
+ are the side panel below (initiative premium-agreed-design). -->
40
19
  <main class="stage cz-panel bd-main" id="stage">
41
20
  <h1 class="vh">Board</h1>
42
- <!-- one toolbar: the product picker, the view toggle and the icon tools (no page header, N2) -->
21
+ <!-- the toolbar (AgBoard): the product picker; the view toggle, Find, Filter, the bell, New initiative and ⋯. On a phone (AgBoardPhone):
22
+ the picker, "Board", Find, one view button and New initiative. -->
43
23
  <div class="bd-hd">
44
24
  <div id="crumbHost" class="bd-pickw"></div>
45
25
  <span class="bd-title" aria-hidden="true">Board</span>
46
- <div class="cz-tools bd-tools">
47
- <div class="cz-seg bd-views" id="ibTabs" role="group" aria-label="View">
48
- <button type="button" data-v="stages" aria-pressed="false" aria-label="By stage" title="By stage"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 4h4v16H4zM10 4h4v10h-4zM16 4h4v13h-4z"/></svg></button>
49
- <button type="button" data-v="track" aria-pressed="true" aria-label="Stage track" title="Stage track"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z"/></svg></button>
50
- <button type="button" 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>
51
- <button type="button" 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>
26
+ <div class="bd-tools">
27
+ <div class="bd-seg bd-views" id="ibTabs" role="group" aria-label="View">
28
+ <button type="button" class="bd-ib" data-v="stages" aria-pressed="false" aria-label="By stage" title="By stage"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 4h4v16H4zM10 4h4v10h-4zM16 4h4v13h-4z"/></svg></button>
29
+ <button type="button" class="bd-ib" data-v="track" aria-pressed="true" aria-label="Stage track" title="Stage track"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z"/></svg></button>
30
+ <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
+ <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>
52
32
  </div>
53
- <span class="cz-vr bd-hide-s"></span>
54
- <button type="button" class="cz-ib" id="bdFind" aria-label="Find an initiative" title="Find an initiative" aria-expanded="false" aria-controls="bdFindRow"><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>
55
- <button type="button" class="cz-ib bd-hide-s" id="bdFilter" aria-label="Filter by owner or lane" title="Filter by owner or lane" aria-haspopup="true" aria-expanded="false" aria-controls="popFilter"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><i class="bd-fdot" hidden></i></button>
56
- <button type="button" class="cz-ib solid" id="newIni" aria-label="New initiative" title="New initiative" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
57
- <div class="tools tools-top"><span class="vh" id="snap" role="status">Reading the board</span>
58
- <span id="modePark" hidden><span class="seg modeseg" id="modeSeg" role="group" aria-label="How an initiative opens"><i class="pill"></i><button data-m="page" aria-pressed="true">Page</button><button data-m="popup" aria-pressed="false">Popup</button></span></span></div>
33
+ <span class="bd-vr bd-hide-s"></span>
34
+ <button type="button" class="bd-ib" id="bdFind" aria-label="Find an initiative" title="Find an initiative" 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
+ <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
+ <button type="button" class="bd-ib bd-hide-s" id="bdFilter" aria-label="Filter by owner, lane or sprint" title="Filter by owner, lane 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
+ <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="dialog"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
39
+ <div class="tools tools-top"><span class="vh" id="snap" role="status">Reading the board</span></div>
59
40
  </div>
60
41
  </div>
61
- <div class="bd-find" id="bdFindRow" hidden><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><input id="bdQ" type="search" placeholder="Find an initiative or a Jira ticket" aria-label="Find an initiative or a Jira ticket" autocomplete="off" /></div>
62
- <!-- the tabs, the timeline spans and the chips: Jira read time, sprint and fix version, new asks, late, at risk, blocked, idle -->
63
- <div class="cz-bar bd-chiprow">
64
- <div class="cz-tabs" role="tablist" aria-label="Board">
65
- <button type="button" role="tab" class="cz-tab" id="tabIni" aria-selected="true" aria-controls="cIni">Initiatives <span class="n" id="nIni"></span></button>
66
- <button type="button" role="tab" class="cz-tab" id="tabDocs" aria-selected="false" aria-controls="cDocs">Documents <span class="n" id="docCap"></span></button>
42
+ <!-- the tabs, the timeline spans and the chips: Jira read time, sprint and release, new asks, late, at risk, blocked, idle, This sprint -->
43
+ <div class="bd-chiprow">
44
+ <div class="bd-tabs" role="tablist" aria-label="Board">
45
+ <button type="button" role="tab" class="bd-tab" id="tabIni" aria-selected="true" aria-controls="cIni">Initiatives <span class="n" id="nIni"></span></button>
46
+ <button type="button" role="tab" class="bd-tab" id="tabDocs" aria-selected="false" aria-controls="cDocs">Documents <span class="n" id="docCap"></span></button>
67
47
  </div>
68
- <div class="cz-seg bd-spans" id="bdSpans" role="group" aria-label="Span" hidden>
48
+ <div class="bd-seg bd-spans" id="bdSpans" role="group" aria-label="Span" hidden>
69
49
  <button type="button" data-sp="sprint" aria-pressed="false">Sprint</button><button type="button" data-sp="quarter" aria-pressed="true">Quarter</button><button type="button" data-sp="half" aria-pressed="false">Half</button><button type="button" data-sp="year" aria-pressed="false">Year</button><button type="button" data-sp="y2" aria-pressed="false">2 yr</button><button type="button" data-sp="y5" aria-pressed="false">5 yr</button>
70
50
  </div>
71
51
  <div class="bd-chipset" id="bdChipset"></div>
72
52
  </div>
73
- <section class="hero hero-slim bd-hero"><p class="brief" id="brief" aria-live="polite"></p></section>
74
53
 
75
54
  <section class="bd-sec" id="cIni" role="tabpanel" aria-labelledby="tabIni">
76
55
  <h2 class="vh" id="hIni">Initiatives</h2>
77
56
  <div id="ibBody"></div>
78
- <div class="bd-foot">
79
- <span class="bd-cap"><span id="iniCap"></span><span class="mprog bd-bar2" id="iniBar" role="progressbar" aria-label="Open initiatives on track" aria-valuemin="0" hidden><b></b></span></span>
80
- <p class="note" id="iniNote"></p>
81
- <button type="button" class="infob" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i></button>
82
- </div>
83
- <div class="ifold" id="footFold" hidden><p class="foot" id="foot">This page reads the board's own records, the same ones the Initiatives page reads, and the stored Jira readings. Each row runs across the six stages and two milestones; the right column shows progress toward the output that finishes the current step, from Jira tickets in Build and Deliver and from the record's own progress elsewhere. Its presses are Draft it on a core document, Add a document, and the board's own presses: accept or decline a new ask, New initiative, and move, hold, cancel or archive an initiative, each through the console's route and each with Undo. The Board has no chat: Ask about this sends the question to Home.</p></div>
84
57
  </section>
85
-
86
58
  <section class="bd-sec" id="cDocs" role="tabpanel" aria-labelledby="tabDocs" hidden>
87
- <div class="bd-dochd"><h2 id="hDocs">Core documents</h2><button class="cz-chip" id="addDoc" type="button" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>Add a document</button></div>
88
- <div id="docTop"></div>
89
- <div class="dmg two" id="docBody" role="list"></div>
90
- <p class="note" id="docNote"></p>
59
+ <h2 class="vh" id="hDocs">Documents</h2>
60
+ <div id="docBody"></div>
91
61
  </section>
92
62
 
93
- <!-- popovers under the toolbar: new asks, the sprint and the next release, the metrics, the filter and what finishes each step -->
94
- <div class="bd-pop" id="popAsks" role="dialog" aria-label="New asks" hidden><div id="asksHost"></div></div>
95
- <div class="bd-pop bd-pop-w" id="popSpr" role="dialog" aria-label="Sprint and release" hidden>
96
- <section class="card" id="cSpr" aria-labelledby="hSpr"><div class="ch"><h2 id="hSpr">Sprint</h2><small id="sprCap"></small></div><div id="sprBody"></div></section>
97
- <section class="card" id="cRel" aria-labelledby="hRel"><div class="ch"><h2 id="hRel">Next release</h2><small id="relCap"></small></div><div id="relBody"></div></section>
98
- </div>
99
- <div class="bd-pop bd-pop-xw" id="popMet" role="dialog" aria-label="Metrics" hidden>
100
- <section class="card" id="cMet" aria-labelledby="hMet" hidden>
101
- <div class="ch"><h2 id="hMet">Metrics</h2><button type="button" class="infob" aria-controls="metFold" aria-expanded="false" aria-label="About the metrics" title="About the metrics"><i aria-hidden="true">i</i></button><small id="metCap"></small><div class="seg mper" id="perTabs" role="group" aria-label="Period"><i class="pill"></i><button data-per="day" aria-pressed="false" aria-disabled="true" title="PMOS counts runs and merges by week only">Day</button><button data-per="week" aria-pressed="true">Week</button><button data-per="month" aria-pressed="false" aria-disabled="true" title="PMOS counts runs and merges by week only">Month</button></div></div>
102
- <p class="ilead" id="metLead" hidden></p>
103
- <div class="ifold" id="metFold" hidden><p class="mhint" id="metHint"></p><p class="note" id="metNote"></p></div>
104
- <div class="bt2 ibt" id="metBody"></div>
105
- </section>
106
- </div>
107
- <div class="bd-pop" id="popFilter" role="dialog" aria-label="Filter" hidden></div>
63
+ <!-- the two help frames: what finishes each step (the step heads open it) and the timeline's spans (the timeline's first head opens it) -->
108
64
  <div class="bd-pop bd-pop-xw" id="popSteps" role="dialog" aria-labelledby="hSteps" hidden></div>
65
+ <div class="bd-pop bd-pop-xw" id="popRules" role="dialog" aria-labelledby="hRules" hidden></div>
109
66
 
110
67
  <!-- the initiative panel and the Jira ticket panel (a bottom sheet on a phone) -->
111
68
  <aside class="bd-peek" id="peek" aria-labelledby="pkTitle" hidden></aside>
69
+ <div class="bd-toast" id="bdToast" role="status" hidden></div>
112
70
  </main>
113
71
  <noscript>This page needs JavaScript.</noscript>
114
72
  <script type="module" src="/pm/premium-board.js"></script>
@@ -3,53 +3,13 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="pmos-nonce" content="" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
- <title>PMOS · Initiative</title>
8
- <!-- The premium initiative page (initiative briefing-premium-initiative, slice 6). Opened from a Board click. It reads GET /api/initiative-premium, built from the routes the production Initiatives sheet reads. The only press is Draft it on a core document; a document row opens the read-only document sheet. -->
9
- <!-- The Agreed design (initiative premium-agreed-design, I1): the cozy layer, a header card with the eight-step ladder, and the floating place menu. -->
10
- <link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
11
- <link rel="stylesheet" href="/pm/premium.css" />
12
- <link rel="stylesheet" href="/pm/premium-wide.css" />
13
- <link rel="stylesheet" href="/pm/cozy.css" />
14
- <link rel="stylesheet" href="/pm/cozy-viewer.css" />
15
- <link rel="stylesheet" href="/pm/cozy-initiative.css" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <title>PMOS · Home</title>
8
+ <!-- The initiative is a layout of Home now (initiative premium-agreed-design, Home): the server answers /premium-initiative.html?id=<id> with a
9
+ redirect to /premium.html?ini=<id>. This page is only reached without the server's redirect, and it goes to the same place. -->
10
+ <script>
11
+ (function () { var q = new URLSearchParams(location.search); if (q.has('id')) { q.set('ini', q.get('id')); q.delete('id'); } var s = q.toString(); location.replace('/premium.html' + (s ? '?' + s : '')); })();
12
+ </script>
16
13
  </head>
17
- <body class="cz">
18
- <div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
19
- <nav class="rail glass" aria-label="Places">
20
- <i class="ind"></i>
21
- <button class="pl" data-go="brief"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>Briefing</button>
22
- <button class="pl" data-go="work"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg>My work</button>
23
- <button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/><path d="M12 7.6l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z"/></svg><i class="cdot" hidden></i></span>Chat</button>
24
- <button class="pl" data-go="init" aria-current="page"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>Board</button>
25
- <button class="pl" data-go="rep"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
26
- </nav>
27
-
28
- <div class="dock glass" id="dock" inert><span class="nm">Initiative</span><span class="sep"></span><span class="cnt"><b id="dN">·</b><span id="dLab">need a look</span></span><span class="sep hide-s"></span><span class="pl2 hide-s" id="dNext"></span><span class="sp"></span><button class="round" id="theme2" aria-label="Switch light or dark" style="width:44px;height:44px"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
29
- <div class="veil" id="veil"></div>
30
- <div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
31
- <div class="grab"></div>
32
- <div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
33
- <div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
34
- <div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
35
- <div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
36
- <section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
37
- </div>
38
- <div class="toast glass" id="toast" role="status"></div>
39
- <main class="stage czi czi-tok" id="stage">
40
- <section class="czi-card" id="czHead" aria-labelledby="iH1">
41
- <header class="top czi-top">
42
- <h1 class="vh" id="iH1">Initiative</h1><span class="czi-flag" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 21V4M5 4h12l-2 4 2 4H5"/></svg></span><div class="czi-where"><span class="czi-kind" id="czKind"></span><div id="crumbHost"></div></div>
43
- <div class="tools tools-top"><span class="vh" id="snap">Reading the initiative</span></div>
44
- </header>
45
- <div id="czBox"></div>
46
- </section>
47
- <section class="hero hero-slim"><p class="brief" id="brief" aria-live="polite"></p></section>
48
- <div id="iMain"><p class="empty3 plain" id="iRead">The initiative is read from its records. This page shows nothing until it has read, rather than guess.</p></div>
49
- <div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
50
- <div class="ifold" id="footFold" hidden><p class="foot" id="foot">This page reads the initiative's own records, the same ones the Initiatives sheet reads. Its presses are Draft it on a core document, which starts the existing read-only run that writes a draft and sends nothing, Add a task, Add a document, which saves a document on the initiative's record, and the bar under the stages: move it, put it on hold, cancel or archive it, each through the console's route and each with Undo. Opening a document only reads it. Issue and Drop are not built on this page.</p></div>
51
- </main>
52
- <noscript>This page needs JavaScript.</noscript>
53
- <script type="module" src="/pm/premium-initiative.js"></script>
54
- </body>
14
+ <body></body>
55
15
  </html>
@@ -10,39 +10,18 @@
10
10
  (pm/cozy-nav.js) replaces the rail. It reads GET /api/insights-premium (the KR metric records, the board's initiatives, the report files and setups)
11
11
  and GET /api/board-metrics-premium for the Delivery trends tiles, whose one press sets a target (POST /api/board-metric-targets/save). -->
12
12
  <link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
13
- <link rel="stylesheet" href="/pm/premium.css" />
14
- <link rel="stylesheet" href="/pm/premium-wide.css" />
15
- <link rel="stylesheet" href="/pm/premium-insights.css" />
16
13
  <link rel="stylesheet" href="/pm/cozy.css" />
17
14
  <link rel="stylesheet" href="/pm/cozy-insights.css" />
18
15
  </head>
19
16
  <body class="cz">
20
- <div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
21
- <nav class="rail glass" aria-label="Places" hidden>
22
- <i class="ind"></i>
23
- <button class="pl" data-go="brief"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/></svg>Home</button>
24
- <button class="pl" data-go="work"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/></svg>My work</button>
25
- <button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/></svg><i class="cdot" hidden></i></span>Chat</button>
26
- <button class="pl" data-go="init"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/></svg>Board</button>
27
- <button class="pl" data-go="rep" aria-current="page"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
28
- </nav>
29
- <div class="dock glass" id="dock" inert hidden><span class="nm">Insights</span><span class="cnt"><b id="dN">·</b><span id="dLab">need a look</span></span><span class="pl2" id="dNext"></span><button class="round" id="theme2" aria-label="Switch light or dark"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
30
- <div class="hero ins-ghost" aria-hidden="true"><p class="brief"></p></div>
31
- <div class="veil" id="veil"></div>
32
- <div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
33
- <div class="grab"></div>
34
- <div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
35
- <div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
36
- <div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
37
- <div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
38
- <section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
39
- </div>
40
- <div class="toast glass" id="toast" role="status"></div>
17
+ <!-- Insights has no dialog, dock or veil of the old shell: pm/premium-shell.js binds to a detached copy when #dlg is absent, and a report opens in
18
+ the Viewer card (pm/cozy-viewer.js). The floating place menu (pm/cozy-nav.js) is the page's navigation; there is no rail. The toast is the shell's. -->
19
+ <div class="ins-toast" id="toast" role="status" aria-live="polite"></div>
41
20
 
42
21
  <main class="cz-panel ins stage" id="stage">
43
22
  <h1 class="vh">Insights</h1>
44
23
  <div class="ins-bar" id="insBar">
45
- <span class="ins-mw ins-pkw"><button type="button" class="cz-pick" id="prodPick" aria-haspopup="menu" aria-expanded="false" aria-controls="prodMenu" aria-label="Switch product"><span id="prodName">·</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="prodMenu" role="menu" aria-label="Products" hidden></div></span>
24
+ <span class="ins-mw ins-pkw"><button type="button" class="cz-pick" id="prodPick" aria-haspopup="menu" aria-expanded="false" aria-controls="prodMenu" aria-label="Switch product"><span id="prodName">pmos</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="prodMenu" role="menu" aria-label="Products" hidden></div></span>
46
25
  <span class="ins-ttl" aria-hidden="true">Insights</span>
47
26
  <div class="cz-tabs ins-tabs" role="tablist" aria-label="Insights">
48
27
  <button type="button" role="tab" class="cz-tab" id="tabGoals" data-tab="goals" aria-controls="pGoals" aria-selected="true">Goals <span class="n" id="nGoals"></span></button>
@@ -52,66 +31,49 @@
52
31
  <span class="cz-vr ins-vw"></span>
53
32
  <span class="ins-mw ins-vw"><button type="button" class="cz-chip gh" id="viewChip" aria-haspopup="menu" aria-expanded="false" aria-controls="viewMenu">View: <b id="viewName">All goals</b><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="viewMenu" role="menu" aria-label="Views" hidden></div></span>
54
33
  <div class="cz-tools ins-tools">
55
- <span class="ins-mw ins-perw"><button type="button" class="cz-chip" id="perChip" aria-haspopup="menu" aria-expanded="false" aria-controls="perMenu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h16v14H4zM4 10h16M9 3v4M15 3v4"/></svg><b id="perName">·</b><span class="ins-perd" id="perSub"></span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu ins-permenu" id="perMenu" role="menu" aria-label="Period" hidden></div></span>
34
+ <span class="ins-mw ins-perw"><button type="button" class="cz-chip" id="perChip" aria-haspopup="menu" aria-expanded="false" aria-controls="perMenu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h16v14H4zM4 10h16M9 3v4M15 3v4"/></svg><b id="perName">Q4</b><span class="ins-perd" id="perSub"></span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu ins-permenu" id="perMenu" role="menu" aria-label="Period" hidden></div></span>
56
35
  <span class="cz-vr ins-dk"></span>
57
36
  <button type="button" class="cz-ib" id="findB" aria-expanded="false" aria-controls="findRow" aria-label="Find a goal, initiative or report" title="Find a goal, initiative or report"><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>
58
- <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="filtB" aria-haspopup="menu" aria-expanded="false" aria-controls="filtMenu" aria-label="Filter by objective or type" title="Filter by objective or type"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><i class="ins-fdot" id="filtDot" hidden></i></button><div class="ins-menu" id="filtMenu" role="menu" aria-label="Filter" hidden></div></span>
59
- <span class="ins-mw"><button type="button" class="cz-ib solid" id="newB" aria-haspopup="menu" aria-expanded="false" aria-controls="newMenu" aria-label="New goal, dashboard, chart or report" title="New goal, dashboard, chart or report"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button><div class="ins-menu ins-right" id="newMenu" role="menu" aria-label="New" hidden>
60
- <button type="button" role="menuitem" data-new="goal">New goal<small>A KR metric with a target and a date</small></button>
61
- <button type="button" role="menuitem" data-new="dash" id="pdNew">New dashboard<small>Select goals, then save them as a view</small></button>
37
+ <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="filtB" aria-haspopup="menu" aria-expanded="false" aria-controls="filtMenu" aria-label="Filter by objective, owner, type or lane" title="Filter by objective, owner, type or lane"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><i class="ins-fdot" id="filtDot" hidden></i></button><div class="ins-menu ins-right" id="filtMenu" role="menu" aria-label="Filter" hidden></div></span>
38
+ <span class="ins-mw"><button type="button" class="cz-ib solid" id="newB" aria-haspopup="menu" aria-expanded="false" aria-controls="newMenu" aria-label="New goal, dashboard or chart" title="New goal, dashboard or chart"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button><div class="ins-menu ins-right" id="newMenu" role="menu" aria-label="New" hidden>
39
+ <button type="button" role="menuitem" data-new="goal">New goal<small>A number PMOS reads, with a target and a date</small></button>
40
+ <button type="button" role="menuitem" data-new="dash">New dashboard<small>Pick goals in the table, then save them as a view</small></button>
62
41
  <button type="button" role="menuitem" data-new="chart">New chart<small>One goal drawn one way, on a dashboard</small></button>
63
- <button type="button" role="menuitem" data-new="report" id="repNew">New report<small>Reports are made in Home</small></button>
64
42
  </div></span>
65
- <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="helpB" aria-expanded="false" aria-controls="helpPop" aria-label="About goals, charts, dashboards and reports" title="About goals, charts, dashboards and reports"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3a9 9 0 1 0 0 18a9 9 0 1 0 0-18M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01"/></svg></button></span>
66
- <span class="tools-top ins-shell"><span class="vh" id="snap">Reading the records</span></span>
43
+ <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: sources, export, about these numbers" title="More: sources, export, about these numbers"><svg viewBox="0 0 24 24" aria-hidden="true" stroke-width="3"><path d="M5 12h.01M12 12h.01M19 12h.01"/></svg></button><div class="ins-menu ins-right" id="moreMenu" role="menu" aria-label="More" hidden>
44
+ <button type="button" role="menuitem" data-more="sources">Sources<small>What this page reads, and what it could not read</small></button>
45
+ <button type="button" role="menuitem" data-more="export">Export<small>The goals as a CSV file</small></button>
46
+ <button type="button" role="menuitem" data-more="about">About these numbers<small>Where each number comes from</small></button>
47
+ </div></span>
67
48
  </div>
68
49
  </div>
69
50
  <div class="ins-find" id="findRow" hidden><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><input id="findIn" maxlength="120" autocomplete="off" placeholder="Find a goal, initiative or report" aria-label="Find a goal, initiative or report"><button type="button" class="cz-ib" id="findX" aria-label="Clear and close the search" title="Clear and close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
70
51
 
71
- <!-- Goals: the default tab (G1) -->
52
+ <!-- Goals (AgInsGoals; the cards on a phone are AgInsPhone) -->
72
53
  <section class="ins-pane" id="pGoals" role="tabpanel" aria-labelledby="tabGoals">
73
- <div class="ins-strip" id="insHero"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="insText" aria-live="polite"><b id="insEye"></b> <span id="brief">Reading the records.</span> <span id="insWhy"></span></p><ul class="ins-more" id="insMore"></ul><a class="cz-chip gh" id="askWhy" href="/premium.html?ask=insights"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z"/></svg>Ask why</a></div>
54
+ <div class="ins-strip" id="insHero"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="insText" aria-live="polite"><b id="insEye"></b> <span id="brief">Reading the records.</span> <span id="insWhy"></span></p><a class="cz-chip gh" id="askWhy" href="/premium.html?ask=insights"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z"/></svg>Ask why</a></div>
74
55
  <div class="ins-tbl" id="goalTbl" role="table" aria-label="Goals"></div>
75
- <div class="ins-sel" id="selBar" hidden><b id="selN"></b><span class="note" id="selNote">Select goals in the table, then save them as a dashboard.</span><button type="button" class="cz-chip" id="selCancel">Cancel</button></div>
76
- <section class="ins-dash" id="cDash" aria-labelledby="hDash">
77
- <div class="ins-sec"><h2 id="hDash">Charts</h2><span class="cz-pill q" id="dashTag"></span><small id="dashCap"></small><button type="button" class="infob" id="dashAboutB" aria-controls="dashAbout" aria-expanded="false" aria-label="About this dashboard" title="About this dashboard"><i aria-hidden="true">i</i></button>
78
- <span class="ins-mw ins-r"><button type="button" class="cz-ib" id="dashMore" aria-haspopup="true" aria-expanded="false" aria-controls="dashBar" aria-label="More for this dashboard" title="More" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h.01M12 12h.01M19 12h.01" stroke-width="3"/></svg></button><div class="ins-menu ins-right pdbar dmenu" id="dashBar" role="group" aria-label="Dashboard actions" hidden></div></span></div>
79
- <div class="ifold" id="dashAbout" hidden><p class="note pdp" id="dashPurpose"></p></div>
80
- <div id="dashBody"></div>
81
- </section>
56
+ <div class="ins-cards" id="goalCards" role="list" aria-label="Goals"></div>
82
57
  </section>
83
58
 
84
- <!-- Outcomes (G2): shipped work against what it promised -->
59
+ <!-- Outcomes (AgInsOutcomes): shipped work against what it promised -->
85
60
  <section class="ins-pane" id="pOutcomes" role="tabpanel" aria-labelledby="tabOutcomes" hidden>
86
61
  <div class="ins-strip"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="outText"></p></div>
87
62
  <div class="ins-tbl" id="outTbl" role="table" aria-label="Outcomes"></div>
88
63
  </section>
89
64
 
90
- <!-- Library (G2): reports, then dashboards. Reports are made in Home. -->
65
+ <!-- Library (AgInsLibrary): reports, then dashboards. Reports are made in Home. -->
91
66
  <section class="ins-pane" id="pLibrary" role="tabpanel" aria-labelledby="tabLibrary" hidden>
92
- <div class="ins-lbar"><button type="button" class="lfchip" id="listF" aria-haspopup="true" aria-expanded="false" aria-controls="listSeg" hidden></button><span class="ins-chips" id="listSeg" role="group" aria-label="Show"></span><span class="cz-vr"></span><button type="button" class="cz-chip gh" id="sugB" aria-expanded="false" aria-controls="repFound" hidden></button><span class="note ins-lnote">Reports are made in Home. This list opens them in the reader. <button type="button" class="infob" aria-controls="repFold" aria-expanded="false" aria-label="About reports and the pin" title="About reports and the pin"><i aria-hidden="true">i</i></button></span></div>
93
- <div class="ifold" id="repFold" hidden><p class="mhint">Ask starts a background run that only proposes a report. A report is a file in the repository. PMOS drafts it, you read it. <b>Nothing is sent from here.</b> The pin puts one dashboard first on Goals. Open a report to read it, edit its words or issue a draft.</p></div>
67
+ <div class="ins-lbar"><span class="ins-chips" id="listSeg" role="group" aria-label="Show"></span><span class="cz-vr"></span><button type="button" class="cz-chip gh" id="sugB" hidden></button><span class="note ins-lnote">Reports are made in Home, in Product. This list opens them in the reader.</span></div>
94
68
  <div id="repBody"></div>
95
- <div class="lpager" id="listPager"></div>
96
- <form class="ins-ask" id="repAsk">
97
- <span class="newm"><button class="cz-ib" type="button" id="listNew" aria-haspopup="menu" aria-expanded="false" aria-controls="listMenu" aria-label="New dashboard or report" title="New"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
98
- <span class="ins-menu ins-up" id="listMenu" role="menu" hidden><button type="button" role="menuitem" id="lmDash">Dashboard</button><button type="button" role="menuitem" id="lmRep">Report</button></span></span>
99
- <input id="repAskIn" maxlength="500" autocomplete="off" placeholder="Ask PMOS to set up a report" aria-label="Ask PMOS to set up a report">
100
- <button class="cz-ib solid" id="repAskGo" type="submit" aria-label="Ask" title="Ask"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 19V5M6 11l6-6 6 6"/></svg></button>
101
- </form>
102
- <p class="note ins-asknote">Only proposes. Nothing is set up until you press Set it up.</p>
103
69
  </section>
104
-
105
- <div class="ins-foot"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About these numbers</span></button></div>
106
- <div class="ifold" id="footFold" hidden><p class="foot" id="foot">Every goal is a KR metric record of this workspace, and every number on this page is a reading of it, its target or its date. A pace is a straight line through the last four readings, carried to the goal's date, and it is said, not drawn as a fact. What moves a goal is every initiative whose anchor names it. A press here records only what it says: a goal in the KR metric records, a dashboard in the workspace's state folder, a report setup, request or dismissal in the report ledger, or a Delivery trends target. A verdict, an Ask why and a report are made in Home. Nothing is sent from this page.</p></div>
107
70
  </main>
108
71
 
109
- <aside class="ins-side" id="side" role="dialog" aria-modal="false" aria-labelledby="sideTitle" hidden>
72
+ <aside class="ins-side" id="side" role="dialog" aria-modal="false" aria-labelledby="sideTitle" tabindex="-1" hidden>
110
73
  <div class="ins-sh"><div><p class="ins-eye" id="sideEye"></p><h2 id="sideTitle"></h2></div><span class="ins-st" id="sideTools"></span><button type="button" class="cz-ib" id="sideX" aria-label="Close" title="Close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
111
74
  <div class="ins-sb" id="sideBody"></div>
112
- <div class="ins-sf"><p class="note" id="sideNote"></p><p class="note ins-sm" id="sideMsg" role="status"></p><span id="sideAct"></span></div>
75
+ <div class="ins-sf"><p class="note" id="sideNote"></p><p class="note ins-sm" id="sideMsg" role="status"></p><span class="ins-sa" id="sideAct"></span></div>
113
76
  </aside>
114
- <div class="ins-help" id="helpPop" role="dialog" aria-label="About goals, charts, dashboards and reports" hidden></div>
115
77
  <noscript>This page needs JavaScript.</noscript>
116
78
  <script type="module" src="/pm/premium-insights.js"></script>
117
79
  </body>