create-pmos 0.396.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.
- package/package.json +25 -25
- package/payload/KIT-VERSION +2 -2
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/scripts/nine-stages.js +49 -20
- package/payload/state/discoveries.md +1 -1
- package/payload/state/log.md +1 -1
- package/workspace/briefing-premium-adddoc-test.js +103 -74
- package/workspace/briefing-premium-board-test.js +316 -154
- package/workspace/briefing-premium-calendar-2-test.js +135 -195
- package/workspace/briefing-premium-calendar-3-test.js +143 -413
- package/workspace/briefing-premium-calendar-test.js +86 -185
- package/workspace/briefing-premium-doc-edit-test.js +95 -83
- package/workspace/briefing-premium-initiative-test.js +166 -294
- package/workspace/briefing-premium-insights-test.js +351 -214
- package/workspace/briefing-premium-metrics-test.js +53 -118
- package/workspace/briefing-premium-products-test.js +40 -27
- package/workspace/briefing-premium-sources-test.js +91 -52
- package/workspace/briefing-premium-test.js +150 -633
- package/workspace/briefing-premium-work-test.js +88 -269
- package/workspace/changelog.json +24 -0
- package/workspace/fixtures/board-premium-facts.js +2 -1
- package/workspace/fixtures/board-premium-jira.js +28 -0
- package/workspace/fixtures/board-premium-trail.js +32 -0
- package/workspace/fixtures/initiative-premium-facts.js +2 -1
- package/workspace/fixtures/initiatives-api/list.json +30 -42
- package/workspace/fixtures/initiatives-api/roadmap.json +40 -56
- package/workspace/fixtures/initiatives-api/sheet.json +10 -14
- package/workspace/fixtures/insights-premium-facts.js +11 -2
- package/workspace/fixtures/premium-viewer-fixtures.js +182 -0
- package/workspace/guide/briefing-premium.md +3 -1
- package/workspace/guide/home.md +47 -0
- package/workspace/guide/index.md +2 -0
- package/workspace/guide/lifecycle.md +51 -0
- package/workspace/home-shot.js +38 -0
- package/workspace/lib/agent-roles.js +71 -0
- package/workspace/lib/board-premium.js +160 -3
- package/workspace/lib/board-trail.js +223 -0
- package/workspace/lib/engine/boards.js +15 -14
- package/workspace/lib/engine/nine-stages.js +49 -20
- package/workspace/lib/engine/signals/detectors.js +13 -11
- package/workspace/lib/home-work-item.js +58 -0
- package/workspace/lib/insights-goals.js +196 -0
- package/workspace/lib/insights-premium.js +126 -1
- package/workspace/lib/insights-records.js +101 -0
- package/workspace/lib/jira-tickets.js +1 -1
- package/workspace/lib/route-modules.js +4 -0
- package/workspace/lib/routes-board-premium.js +3 -2
- package/workspace/lib/routes-board-trail.js +33 -0
- package/workspace/lib/routes-home-desk.js +176 -0
- package/workspace/lib/routes-initiatives.js +1 -1
- package/workspace/lib/routes-insights-premium.js +19 -3
- package/workspace/lib/routes-insights-records.js +129 -0
- package/workspace/lib/routes-notes.js +1 -0
- package/workspace/lib/routes-viewer.js +108 -0
- package/workspace/lib/transcript-steps.js +123 -0
- package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
- package/workspace/lib/viewer-meeting.js +205 -0
- package/workspace/lib/viewer-report.js +89 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-agreed-viewer-shots.js +76 -0
- package/workspace/premium-board-actions-test.js +85 -73
- package/workspace/premium-briefing-depth-test.js +66 -53
- package/workspace/premium-chat-attach-test.js +54 -63
- package/workspace/premium-chat-chart-tab-test.js +35 -36
- package/workspace/premium-chat-context-test.js +22 -19
- package/workspace/premium-chat-goal-view-test.js +28 -26
- package/workspace/premium-chat-notes-test.js +29 -33
- package/workspace/premium-chat-report-tab-test.js +35 -25
- package/workspace/premium-chat-term-test.js +16 -14
- package/workspace/premium-chat-viewer-test.js +60 -53
- package/workspace/premium-core-doc-issue-test.js +50 -41
- package/workspace/premium-html-viewer-test.js +17 -18
- package/workspace/premium-phone-card-test.js +8 -2
- package/workspace/premium-phone-room-test.js +42 -31
- package/workspace/premium-report-read-test.js +115 -197
- package/workspace/premium-viewer-download-test.js +19 -22
- package/workspace/premium-viewer-flicker-test.js +11 -16
- package/workspace/premium-viewer-share-test.js +6 -9
- package/workspace/premium-viewer-test.js +41 -60
- package/workspace/premium-vw-backlog-test.js +53 -31
- package/workspace/premium-vw-cal-test.js +82 -123
- package/workspace/premium-vw-copy-test.js +17 -33
- package/workspace/premium-vw-doc-test.js +12 -11
- package/workspace/premium-vw-item-test.js +50 -48
- package/workspace/premium-vw-jira-test.js +55 -26
- package/workspace/premium-vw-meet-test.js +118 -187
- package/workspace/premium-vw-notes-test.js +85 -107
- package/workspace/premium-vw-rec-test.js +72 -193
- package/workspace/premium-vw-slides-test.js +46 -50
- package/workspace/premium-welcome-test.js +3 -2
- package/workspace/premium-work-depth-test.js +63 -51
- package/workspace/public/pm/bd-acts.js +305 -0
- package/workspace/public/pm/bd-span.js +224 -0
- package/workspace/public/pm/bd-stages.js +47 -0
- package/workspace/public/pm/c3-doc-sheet.js +1 -1
- package/workspace/public/pm/c3-md.js +3 -395
- package/workspace/public/pm/c3-phone-detail.js +1 -1
- package/workspace/public/pm/c3-phone-model.js +3 -68
- package/workspace/public/pm/chat-term.js +3 -3
- package/workspace/public/pm/cozy-board.css +640 -0
- package/workspace/public/pm/cozy-home.css +580 -0
- package/workspace/public/pm/cozy-home.js +172 -0
- package/workspace/public/pm/cozy-initiative.css +138 -0
- package/workspace/public/pm/cozy-insights.css +421 -0
- package/workspace/public/pm/cozy-md.js +396 -0
- package/workspace/public/pm/cozy-nav.js +65 -0
- package/workspace/public/pm/cozy-placeholder.js +26 -0
- package/workspace/public/pm/cozy-viewer.css +143 -0
- package/workspace/public/pm/cozy-viewer.js +144 -0
- package/workspace/public/pm/cozy-vw.css +485 -0
- package/workspace/public/pm/cozy.css +254 -0
- package/workspace/public/pm/home-adddoc.js +48 -0
- package/workspace/public/pm/home-app.js +905 -0
- package/workspace/public/pm/home-around.js +515 -0
- package/workspace/public/pm/home-chat.js +459 -0
- package/workspace/public/pm/home-data.js +312 -0
- package/workspace/public/pm/home-draft.js +68 -0
- package/workspace/public/pm/home-more.js +249 -0
- package/workspace/public/pm/home-phone-card.js +109 -0
- package/workspace/public/pm/home-work.js +519 -0
- package/workspace/public/pm/lifecycle-lens-model.js +45 -27
- package/workspace/public/pm/lifecycle-lens.js +22 -11
- package/workspace/public/pm/phone-moment.js +69 -0
- package/workspace/public/pm/pm-work-view.js +1 -1
- package/workspace/public/pm/premium-attach.js +4 -0
- package/workspace/public/pm/premium-board.js +544 -253
- package/workspace/public/pm/premium-brief.js +1 -1
- package/workspace/public/pm/premium-chart-tab.js +110 -62
- package/workspace/public/pm/premium-chat.js +17 -10
- package/workspace/public/pm/premium-deck.js +3 -3
- package/workspace/public/pm/premium-first.js +25 -21
- package/workspace/public/pm/premium-initiative-head.js +138 -0
- package/workspace/public/pm/premium-initiative.js +28 -4
- package/workspace/public/pm/premium-insights.js +950 -440
- package/workspace/public/pm/premium-meeting.js +61 -549
- package/workspace/public/pm/premium-notes.js +1 -1
- package/workspace/public/pm/premium-report-frame.css +20 -0
- package/workspace/public/pm/premium-report-read.js +509 -480
- package/workspace/public/pm/premium-report-tab.js +87 -63
- package/workspace/public/pm/premium-shell.js +107 -124
- package/workspace/public/pm/premium-viewer.js +27 -1
- package/workspace/public/pm/premium-vw-cal.js +187 -48
- package/workspace/public/pm/premium-vw-doc.css +6 -0
- package/workspace/public/pm/premium-vw-doc.js +40 -2
- package/workspace/public/pm/premium-vw-file.js +2 -2
- package/workspace/public/pm/premium-vw-jira-model.js +22 -5
- package/workspace/public/pm/premium-vw-jira.css +11 -0
- package/workspace/public/pm/premium-vw-jira.js +11 -4
- package/workspace/public/pm/premium-vw-meet.js +6 -83
- package/workspace/public/pm/premium-vw-mtg.js +731 -0
- package/workspace/public/pm/premium-vw-notes.js +56 -69
- package/workspace/public/pm/premium-vw-open.js +35 -0
- package/workspace/public/pm/premium-vw-page.js +16 -0
- package/workspace/public/pm/premium-vw-rec.js +11 -215
- package/workspace/public/pm/premium-vw-slides.css +5 -0
- package/workspace/public/pm/premium-vw-slides.js +44 -8
- package/workspace/public/pm/term-view.js +22 -0
- package/workspace/public/premium-board.html +57 -64
- package/workspace/public/premium-chat.html +7 -33
- package/workspace/public/premium-initiative.html +8 -41
- package/workspace/public/premium-insights.html +63 -62
- package/workspace/public/premium-viewer.html +20 -0
- package/workspace/public/premium-work.html +6 -72
- package/workspace/public/premium.html +21 -66
- package/workspace/public/vendor/nunito-var.woff2 +0 -0
- package/workspace/server.js +25 -3
- package/workspace/test-files.json +1 -0
- package/workspace/test-lists/home-libs.json +9 -0
- package/workspace/test-lists/premium-agreed-viewer.json +9 -0
- package/workspace/test-lists/premium-report-read.json +1 -1
- package/workspace/test-lists/premium-vw-agreed.json +9 -0
- package/workspace/test-lists/premium-vw-notes.json +1 -1
- package/workspace/third-party/README.md +1 -0
- package/workspace/public/pm/premium-work.js +0 -719
- package/workspace/public/pm/premium.js +0 -1133
|
@@ -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/
|
|
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 =
|
|
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
|
+
}
|
|
@@ -5,75 +5,68 @@
|
|
|
5
5
|
<meta name="pmos-nonce" content="" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
7
7
|
<title>PMOS · Board</title>
|
|
8
|
-
<!-- The premium Board (initiative
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
<!-- The premium Board in the Agreed design (initiative premium-agreed-design, B1 B2 B3 N1 N2). One toolbar and no page header; each initiative is a row
|
|
9
|
+
across the six stages and two milestones, with progress toward its current output from Jira. It reads GET /api/board-premium. The floating place menu
|
|
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
|
+
sends the question to Home. -->
|
|
12
|
+
<link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
13
|
+
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
14
|
+
<link rel="stylesheet" href="/pm/cozy-board.css" />
|
|
12
15
|
</head>
|
|
13
|
-
<body>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
</
|
|
23
|
-
|
|
24
|
-
<div class="
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<p class="ilead" id="metLead" hidden></p>
|
|
45
|
-
<div class="ifold" id="metFold" hidden><p class="mhint" id="metHint"></p><p class="note" id="metNote"></p></div>
|
|
46
|
-
<div class="bt2 ibt" id="metBody"></div>
|
|
47
|
-
</section>
|
|
48
|
-
<div class="bcols">
|
|
49
|
-
<div>
|
|
50
|
-
<section class="card rise" style="--d:5" id="cIni" aria-labelledby="hIni">
|
|
51
|
-
<div class="ch"><span class="ic"><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></span><h2 id="hIni">Initiatives</h2><small id="iniCap"></small><span class="lfw"><button type="button" class="lfchip" id="ibF" aria-haspopup="true" aria-expanded="false" aria-controls="ibTabs" aria-label="View: List">List<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="m7 10 5 5 5-5"/></svg></button><span class="lfmenu glass" id="ibTabs" role="group" aria-label="Initiatives view" hidden><button type="button" data-v="list" aria-pressed="true">List</button><button type="button" data-v="stages" aria-pressed="false">By stage</button><button type="button" data-v="time" aria-pressed="false">Timeline</button></span></span><button class="fold alt dmadd2" id="newIni" type="button" hidden>New initiative</button></div>
|
|
52
|
-
<div class="mprog" id="iniBar" role="progressbar" aria-label="Open initiatives on track" aria-valuemin="0" hidden><b></b></div>
|
|
53
|
-
<div id="ibBody"></div>
|
|
54
|
-
<p class="note" id="iniNote" style="margin-top:12px"></p>
|
|
55
|
-
</section>
|
|
16
|
+
<body class="cz bd-page">
|
|
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). -->
|
|
19
|
+
<main class="stage cz-panel bd-main" id="stage">
|
|
20
|
+
<h1 class="vh">Board</h1>
|
|
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. -->
|
|
23
|
+
<div class="bd-hd">
|
|
24
|
+
<div id="crumbHost" class="bd-pickw"></div>
|
|
25
|
+
<span class="bd-title" aria-hidden="true">Board</span>
|
|
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>
|
|
32
|
+
</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>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
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>
|
|
56
47
|
</div>
|
|
57
|
-
<div>
|
|
58
|
-
<
|
|
59
|
-
<section class="card rise" style="--d:6" id="cSpr" aria-labelledby="hSpr">
|
|
60
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span><h2 id="hSpr">Sprint</h2><small id="sprCap"></small></div>
|
|
61
|
-
<div id="sprBody"></div>
|
|
62
|
-
</section>
|
|
63
|
-
<section class="card rise" style="--d:7" id="cRel" aria-labelledby="hRel">
|
|
64
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="5" width="18" height="16" rx="3"/><path d="M3 10h18M8 3v4M16 3v4"/></svg></span><h2 id="hRel">Next release</h2><small id="relCap"></small></div>
|
|
65
|
-
<div id="relBody"></div>
|
|
66
|
-
</section>
|
|
48
|
+
<div class="bd-seg bd-spans" id="bdSpans" role="group" aria-label="Span" hidden>
|
|
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>
|
|
67
50
|
</div>
|
|
51
|
+
<div class="bd-chipset" id="bdChipset"></div>
|
|
68
52
|
</div>
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
<
|
|
72
|
-
<div
|
|
73
|
-
|
|
53
|
+
|
|
54
|
+
<section class="bd-sec" id="cIni" role="tabpanel" aria-labelledby="tabIni">
|
|
55
|
+
<h2 class="vh" id="hIni">Initiatives</h2>
|
|
56
|
+
<div id="ibBody"></div>
|
|
57
|
+
</section>
|
|
58
|
+
<section class="bd-sec" id="cDocs" role="tabpanel" aria-labelledby="tabDocs" hidden>
|
|
59
|
+
<h2 class="vh" id="hDocs">Documents</h2>
|
|
60
|
+
<div id="docBody"></div>
|
|
74
61
|
</section>
|
|
75
|
-
|
|
76
|
-
|
|
62
|
+
|
|
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) -->
|
|
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>
|
|
66
|
+
|
|
67
|
+
<!-- the initiative panel and the Jira ticket panel (a bottom sheet on a phone) -->
|
|
68
|
+
<aside class="bd-peek" id="peek" aria-labelledby="pkTitle" hidden></aside>
|
|
69
|
+
<div class="bd-toast" id="bdToast" role="status" hidden></div>
|
|
77
70
|
</main>
|
|
78
71
|
<noscript>This page needs JavaScript.</noscript>
|
|
79
72
|
<script type="module" src="/pm/premium-board.js"></script>
|
|
@@ -2,39 +2,13 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<meta name="
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
the conversation of the page the PM came from; without it, the PM's own chat (chat:main). -->
|
|
11
|
-
<link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
12
|
-
<link rel="stylesheet" href="/pm/premium.css" />
|
|
13
|
-
<link rel="stylesheet" href="/pm/premium-wide.css" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>PMOS · Home</title>
|
|
7
|
+
<!-- premium-agreed-design H3: Home replaced this page. The server answers this address with a redirect to /premium.html and the same query;
|
|
8
|
+
this file only covers a copy served without that server. -->
|
|
9
|
+
<meta http-equiv="refresh" content="0; url=/premium.html" />
|
|
14
10
|
</head>
|
|
15
|
-
<body
|
|
16
|
-
<
|
|
17
|
-
<nav class="rail glass" aria-label="Places">
|
|
18
|
-
<i class="ind"></i>
|
|
19
|
-
<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>
|
|
20
|
-
<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>
|
|
21
|
-
<button class="pl pchat" data-go="chat" aria-current="page" 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>
|
|
22
|
-
<button class="pl" data-go="init"><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>
|
|
23
|
-
<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>
|
|
24
|
-
</nav>
|
|
25
|
-
|
|
26
|
-
<h1 class="vh">Chat</h1>
|
|
27
|
-
<div class="veil" id="veil"></div>
|
|
28
|
-
<div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
|
|
29
|
-
<div class="grab"></div>
|
|
30
|
-
<div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
|
|
31
|
-
<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>
|
|
32
|
-
<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>
|
|
33
|
-
<div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
|
|
34
|
-
<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>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="toast glass" id="toast" role="status"></div>
|
|
37
|
-
<noscript>This page needs JavaScript.</noscript>
|
|
38
|
-
<script type="module" src="/pm/premium-chat.js"></script>
|
|
11
|
+
<body>
|
|
12
|
+
<p>This page moved to <a href="/premium.html">Home</a>.</p>
|
|
39
13
|
</body>
|
|
40
14
|
</html>
|
|
@@ -3,46 +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
|
|
7
|
-
<title>PMOS ·
|
|
8
|
-
<!-- The
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
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>
|
|
12
13
|
</head>
|
|
13
|
-
<body>
|
|
14
|
-
<div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
|
|
15
|
-
<nav class="rail glass" aria-label="Places">
|
|
16
|
-
<i class="ind"></i>
|
|
17
|
-
<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>
|
|
18
|
-
<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>
|
|
19
|
-
<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>
|
|
20
|
-
<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>
|
|
21
|
-
<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>
|
|
22
|
-
</nav>
|
|
23
|
-
|
|
24
|
-
<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>
|
|
25
|
-
<div class="veil" id="veil"></div>
|
|
26
|
-
<div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
|
|
27
|
-
<div class="grab"></div>
|
|
28
|
-
<div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
|
|
29
|
-
<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>
|
|
30
|
-
<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>
|
|
31
|
-
<div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
|
|
32
|
-
<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>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="toast glass" id="toast" role="status"></div>
|
|
35
|
-
<main class="stage" id="stage">
|
|
36
|
-
<header class="top rise" style="--d:0">
|
|
37
|
-
<h1 class="vh" id="iH1">Initiative</h1><div id="crumbHost"></div>
|
|
38
|
-
<div class="tools tools-top"><span class="vh" id="snap">Reading the initiative</span></div>
|
|
39
|
-
</header>
|
|
40
|
-
<section class="hero hero-slim"><p class="brief rise" style="--d:2" id="brief" aria-live="polite"></p></section>
|
|
41
|
-
<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>
|
|
42
|
-
<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>
|
|
43
|
-
<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>
|
|
44
|
-
</main>
|
|
45
|
-
<noscript>This page needs JavaScript.</noscript>
|
|
46
|
-
<script type="module" src="/pm/premium-initiative.js"></script>
|
|
47
|
-
</body>
|
|
14
|
+
<body></body>
|
|
48
15
|
</html>
|