create-pmos 0.362.0 → 0.363.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 (32) hide show
  1. package/package.json +18 -13
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/briefing-premium-board-test.js +3 -3
  7. package/workspace/briefing-premium-calendar-2-test.js +3 -3
  8. package/workspace/briefing-premium-calendar-3-test.js +6 -5
  9. package/workspace/briefing-premium-calendar-test.js +3 -2
  10. package/workspace/briefing-premium-initiative-test.js +3 -3
  11. package/workspace/briefing-premium-insights-test.js +1 -1
  12. package/workspace/briefing-premium-test.js +14 -10
  13. package/workspace/briefing-premium-work-test.js +1 -1
  14. package/workspace/changelog.json +17 -0
  15. package/workspace/guide/briefing-premium.md +22 -18
  16. package/workspace/package-lock.json +2 -2
  17. package/workspace/package.json +1 -1
  18. package/workspace/premium-studio-test.js +6 -6
  19. package/workspace/premium-vw-item-test.js +2 -2
  20. package/workspace/premium-vw-meet-test.js +32 -21
  21. package/workspace/premium-vw-notes-test.js +5 -5
  22. package/workspace/premium-vw-rec-test.js +1 -1
  23. package/workspace/public/pm/premium-meeting.js +28 -29
  24. package/workspace/public/pm/premium-shell.js +32 -18
  25. package/workspace/public/pm/premium-vw-meet.css +27 -7
  26. package/workspace/public/pm/premium-vw-meet.js +31 -16
  27. package/workspace/public/pm/premium.css +28 -4
  28. package/workspace/public/premium-board.html +1 -0
  29. package/workspace/public/premium-initiative.html +1 -0
  30. package/workspace/public/premium-insights.html +1 -0
  31. package/workspace/public/premium-work.html +2 -1
  32. package/workspace/public/premium.html +2 -1
@@ -130,15 +130,35 @@ export function wireStage(k, el, S, ctx) { const w = STAGES[k] && STAGES[k].wire
130
130
  const ICP = { cal: '<rect x="4" y="5" width="16" height="15" rx="3"/><path d="M4 10h16M9 3v4M15 3v4"/>', lay: '<rect x="4" y="4" width="16" height="16" rx="3"/><path d="M4 10h16M10 10v10"/>', notes: '<path d="M7 3h7l4 4v14H7zM14 3v4h4M10 12h5M10 16h4"/>', prev: '<path d="M15 6l-6 6 6 6"/>', next: '<path d="M9 6l6 6-6 6"/>', check: '<path d="M5 12.5l4.5 4.5L19 7.5"/>', spark: '<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"/>', plus: '<path d="M12 5v14M5 12h14"/>', todo: '<circle cx="12" cy="12" r="8"/>' };
131
131
  const ic = (k) => `<svg class="i" viewBox="0 0 24 24">${ICP[k]}</svg>`;
132
132
 
133
- /** The Before, During and After switch. */
134
- export const phaseHtml = (on, esc) => `<div class="vm-ph" role="group" aria-label="Meeting stage">${PHASES.map(([k, l]) => `<button type="button" data-ph="${k}" aria-pressed="${on === k}">${esc(l)}</button>`).join('')}</div>`;
133
+ /** The parts as one scroll, with no Before, During and After switch (PM, 2026-10-20). The part that fits the meeting's state comes
134
+ * first and open; the others follow, folded. `html` is { before, during, after }; a part with no html is left out. `open` is
135
+ * { part: true | false } for the parts the PM opened or closed. */
136
+ export const PART_LABEL = { before: 'Prep and material', during: 'Transcript and live notes', after: 'Notes and next steps' };
137
+ export function partsHtml(first, html, open, esc) {
138
+ const order = [first, ...PHASES.map(([k]) => k).filter((k) => k !== first)];
139
+ return order.filter((k) => html[k]).map((k) => {
140
+ const on = open && typeof open[k] === 'boolean' ? open[k] : k === first;
141
+ return `<details class="vm-body vm-part" data-part="${k}" data-o="${on ? 1 : 0}"${on ? ' open' : ''}><summary class="vm-sh">${esc(PART_LABEL[k])}</summary>${html[k]}</details>`;
142
+ }).join('');
143
+ }
144
+ /** Before a redraw: a part the PM opened or folded (its state differs from how it was drawn) keeps that state. `root` holds the parts. */
145
+ export function partKeep(root, open) {
146
+ if (root) root.querySelectorAll('details.vm-part').forEach((x) => { if (x.open !== (x.dataset.o === '1')) open[x.dataset.part] = x.open; });
147
+ }
148
+ /** Keeps a part's fold open or closed across a redraw: call it from the pane's click with the event. True when the click was on a part's head. */
149
+ export function partToggle(e, open) {
150
+ const sm = e.target.closest('summary.vm-sh'), d = sm && sm.parentElement;
151
+ if (!d || !d.dataset.part) return false;
152
+ open[d.dataset.part] = !d.open;
153
+ return true;
154
+ }
135
155
 
136
- /** The series line: the meeting before, "Title · N of M", the meeting after, and Not part of this series. */
137
- export function seriesHtml(S, esc) {
156
+ /** The series line: the meeting before, "Title · N of M", the meeting after, and Not part of this series (left out with opts.noOut, when a menu holds it). */
157
+ export function seriesHtml(S, esc, opts = {}) {
138
158
  if (!S) return '';
139
159
  if (S.series) {
140
160
  const s = S.series, go = (x, k, label) => `<button type="button" class="vm-ib" data-vm="${k}"${x ? ` data-id="${esc(x.id)}" title="${esc(label + ', ' + x.day)}"` : ' disabled'} aria-label="${esc(label)}">${ic(k)}</button>`;
141
- return `<div class="vm-ser">${go(s.prev, 'prev', 'The meeting before')}<span>${ic('notes')}${esc(s.title)} · ${s.pos} of ${s.count}</span>${go(s.next, 'next', 'The meeting after')}<button type="button" class="vm-lk" data-vm="serout">Not part of this series</button></div>`;
161
+ return `<div class="vm-ser">${go(s.prev, 'prev', 'The meeting before')}<span>${ic('notes')}${esc(s.title)} · ${s.pos} of ${s.count}</span>${go(s.next, 'next', 'The meeting after')}${opts.noOut ? '' : '<button type="button" class="vm-lk" data-vm="serout">Not part of this series</button>'}</div>`;
142
162
  }
143
163
  if (S.seriesOff) return `<div class="vm-ser"><span>${ic('notes')}Taken out of its series</span><button type="button" class="vm-lk" data-vm="serback">Put it back</button></div>`;
144
164
  return '';
@@ -269,20 +289,20 @@ export const vmStyle = () => { if (typeof document !== 'undefined') vwStyle('mee
269
289
  * series line open it. deps: { pmGet, pmPost, esc, toast, task(sheet, step) → Promise<{ ok, text }>, changed?() after a write } */
270
290
  export async function openNoteTab(d, id) {
271
291
  vmStyle();
272
- const st = { id, note: null, sheet: null, error: '', phase: 'after', tasked: new Set(), say: '', about: false, choices: null };
292
+ const st = { id, note: null, sheet: null, error: '', phase: 'after', open: {}, tasked: new Set(), say: '', about: false, choices: null };
273
293
  const ctx = () => ({ esc: d.esc, tasked: st.tasked, replayBtn: false, where: 'tab', id: st.id, reread: () => read(st.id) });
274
294
  const html = () => {
275
295
  const S = st.sheet;
276
296
  if (!S) return `<article class="paper doc mtg vm"><p class="note" role="status">${st.error ? 'The note could not be read: ' + d.esc(st.error) : 'Reading the note.'}</p></article>`;
277
- const part = (k) => `<div class="vm-body" data-part="${k}"${st.phase === k ? '' : ' hidden'}>${stageHtml(k, S, ctx())}</div>`;
278
- return `<article class="paper doc mtg vm"><p class="note mtg-status" role="status"${st.say ? '' : ' hidden'}>${d.esc(st.say)}</p><div class="mh2"><div><h3 class="d1">${d.esc(S.title)}</h3><p class="mt">${d.esc([S.day, S.minutes ? S.minutes + ' min' : ''].filter(Boolean).join(' · '))}</p></div></div>${linksHtml(S, d.esc, { change: true, open: st.about })}${st.about ? aboutPickHtml(st.choices, aboutNow(st.note), d.esc) : ''}${seriesHtml(S, d.esc)}${phaseHtml(st.phase, d.esc)}${PHASES.map(([k]) => part(k)).join('')}</article>`;
297
+ const parts = Object.fromEntries(PHASES.map(([k]) => [k, stageHtml(k, S, ctx())]));
298
+ return `<article class="paper doc mtg vm"><p class="note mtg-status" role="status"${st.say ? '' : ' hidden'}>${d.esc(st.say)}</p><div class="mh2"><div><h3 class="d1">${d.esc(S.title)}</h3><p class="mt">${d.esc([S.day, S.minutes ? S.minutes + ' min' : ''].filter(Boolean).join(' · '))}</p></div></div>${linksHtml(S, d.esc, { change: true, open: st.about })}${st.about ? aboutPickHtml(st.choices, aboutNow(st.note), d.esc) : ''}${seriesHtml(S, d.esc)}${partsHtml(st.phase, parts, st.open, d.esc)}</article>`;
279
299
  };
280
300
  let el = null;
281
301
  const wireParts = () => { if (!el || !st.sheet) return; for (const [k] of PHASES) wireStage(k, el.querySelector(`.vm-body[data-part="${k}"]`), st.sheet, ctx()); };
282
- const paint = () => { if (el && el.isConnected) { el.innerHTML = html(); wireParts(); } };
302
+ const paint = () => { if (el && el.isConnected) { partKeep(el, st.open); el.innerHTML = html(); wireParts(); } };
283
303
  async function read(noteId) {
284
304
  const fresh = noteId !== st.id || !st.sheet;
285
- st.id = noteId; if (fresh) { st.sheet = null; st.tasked = new Set(); st.about = false; } st.error = ''; st.say = ''; paint();
305
+ st.id = noteId; if (fresh) { st.sheet = null; st.tasked = new Set(); st.about = false; st.open = {}; } st.error = ''; st.say = ''; paint();
286
306
  const one = await d.pmGet('/api/notes/one?id=' + encodeURIComponent(noteId));
287
307
  if (st.id !== noteId) return;
288
308
  const was = st.sheet;
@@ -303,13 +323,8 @@ export async function openNoteTab(d, id) {
303
323
  function wire(pane) {
304
324
  el = pane;
305
325
  pane.onclick = async (e) => {
326
+ if (partToggle(e, st.open)) return;
306
327
  const b = e.target.closest('button'); if (!b || !st.sheet) return;
307
- if (b.dataset.ph) {
308
- st.phase = b.dataset.ph;
309
- el.querySelectorAll('.vm-ph [data-ph]').forEach((x) => x.setAttribute('aria-pressed', String(x === b)));
310
- el.querySelectorAll('.vm-body[data-part]').forEach((x) => { x.hidden = x.dataset.part !== st.phase; });
311
- return;
312
- }
313
328
  if ((b.dataset.vm === 'prev' || b.dataset.vm === 'next') && b.dataset.id) return read(b.dataset.id);
314
329
  if (b.dataset.vm === 'nabout') {
315
330
  st.about = !st.about; paint();
@@ -396,7 +396,7 @@ a.round{color:inherit;text-decoration:none}
396
396
  @media (max-width:700px){.ch{position:relative;top:0}
397
397
  .fchip,.seg2 button,.dlg .seg button,.dx2,.seg button{min-height:44px}
398
398
  .dx2,.round,.fbtn{min-width:44px;min-height:44px}}
399
- .rail .ind{transform:translateY(calc(var(--pi,0)*72px));transition:transform .55s var(--spring)}
399
+ .rail .ind{transform:translateY(var(--py,calc(var(--pi,0)*72px)));transition:transform .55s var(--spring)}
400
400
  .stage[hidden]{display:none}
401
401
  .mv2{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:var(--fs-2);color:var(--ink-3)}
402
402
  .mv2 .seg2{margin-left:2px}
@@ -453,7 +453,7 @@ a.round{color:inherit;text-decoration:none}
453
453
  .cols2>div{display:grid;gap:24px;min-width:0}
454
454
  @media (max-width:1000px){.cols2{grid-template-columns:minmax(0,1fr)}}
455
455
  @media (max-width:999px){.rail{left:50%;top:auto;bottom:max(12px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(400px,calc(100% - 32px));display:flex;border-radius:28px;padding:6px}
456
- .rail .ind{top:6px;bottom:6px;height:auto;left:6px;width:calc((100% - 12px)/4)}
456
+ .rail .ind{top:6px;bottom:6px;height:auto;left:6px;width:calc((100% - 12px)/5)}
457
457
  .pl{flex:1;height:56px}
458
458
  .stage{padding-block-end:120px}
459
459
  .snap{display:none}
@@ -2112,8 +2112,6 @@ button.wl-row[aria-pressed="true"] .wl-tog{background:var(--solid);color:var(--o
2112
2112
  .top{flex-wrap:nowrap}
2113
2113
  .where{display:flex;align-items:center;gap:10px;min-width:0}
2114
2114
  .where .crumb{max-width:none;min-width:0}
2115
- .tbchat{flex:none;background:var(--solid);color:var(--on-solid);border:0;box-shadow:0 10px 30px -10px rgba(20,22,31,.45)}
2116
- .tbchat svg{width:19px;height:19px}
2117
2115
  #crBoard.crback{flex:none;width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--card);border:1px solid var(--hair);color:var(--ink);cursor:pointer}
2118
2116
  #crBoard.crback:hover{text-decoration:none;background:var(--well)}
2119
2117
  #crBoard.crback svg{width:20px;height:20px}
@@ -2501,3 +2499,29 @@ button.wl-row[aria-pressed="true"] .wl-tog{background:var(--solid);color:var(--o
2501
2499
  .askbar .spad-f .cta{width:auto;height:34px;min-height:34px;padding:0 14px;border-radius:var(--r-chip);display:inline-flex;font-size:var(--fs-2);background:var(--card);color:var(--ink)}
2502
2500
  .askbar .spad-f .cta:disabled{opacity:.5;cursor:not-allowed}
2503
2501
  @media (max-width:700px){.spad-h span{display:none}.askbar .spad textarea{font-size:var(--fs-4)}.padt{min-height:44px}}
2502
+ /* a compact dialog (the meeting detail) on a phone: a short head, and once the detail scrolls only the title and the tools stay (PM, 2026-10-20) */
2503
+ @media (max-width:999px){.dlg.cmp #dEye{display:none}
2504
+ .dlg.cmp .dhead{align-items:center}
2505
+ .dlg.cmp #dTitle{margin-top:0;font-size:var(--fs-4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
2506
+ .dlg.cmp .dsub{margin-top:2px;font-size:var(--fs-2);line-height:1.35}
2507
+ .dlg.cmp .dtabs{margin-top:10px}
2508
+ .dlg.cmp .dgrid{margin-top:8px}
2509
+ .dlg.cmp.shrunk .dsub,.dlg.cmp.shrunk .dtabs{display:none}
2510
+ .dlg.cmp.shrunk .dgrid{margin-top:4px}}
2511
+
2512
+ /* ── premium-chat-rail: Chat is the rail's middle place, a solid round button bigger than the others. On a phone it rises above the bar. ── */
2513
+ .pl.pchat{height:96px;color:var(--ink)}
2514
+ .pchat .orb{position:relative;width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--solid);color:var(--on-solid);box-shadow:0 12px 28px -10px rgba(20,22,31,.55),0 0 0 4px color-mix(in oklab,var(--solid) 14%,transparent);transition:transform .35s var(--spring)}
2515
+ .pchat .orb svg{width:26px;height:26px}
2516
+ .pl.pchat:hover svg{transform:none}
2517
+ .pl.pchat:hover .orb{transform:translateY(-2px)}
2518
+ .pchat .cdot{position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:var(--ember);box-shadow:0 0 0 2px var(--card-solid)}
2519
+ .pchat .cdot[hidden]{display:none}
2520
+ .pl.pchat:focus-visible{outline:none}
2521
+ .pl.pchat:focus-visible .orb{outline:2px solid var(--ink);outline-offset:3px}
2522
+ @media (max-width:999px){
2523
+ .pl.pchat{height:56px;align-content:end;padding-bottom:6px}
2524
+ .pchat .orb{position:absolute;left:50%;top:-30px;transform:translateX(-50%);width:60px;height:60px;box-shadow:0 10px 24px -8px rgba(0,0,0,.6),0 0 0 5px var(--card-solid)}
2525
+ .pl.pchat:hover .orb{transform:translateX(-50%)}
2526
+ }
2527
+ @media (prefers-reduced-motion:reduce){.pchat .orb{transition:none}}
@@ -15,6 +15,7 @@
15
15
  <i class="ind"></i>
16
16
  <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>
17
17
  <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>
18
+ <button class="pl pchat" data-go="chat" aria-haspopup="dialog" 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>
18
19
  <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>
19
20
  <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>
20
21
  </nav>
@@ -15,6 +15,7 @@
15
15
  <i class="ind"></i>
16
16
  <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>
17
17
  <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>
18
+ <button class="pl pchat" data-go="chat" aria-haspopup="dialog" 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>
18
19
  <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>
19
20
  <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>
20
21
  </nav>
@@ -16,6 +16,7 @@
16
16
  <i class="ind"></i>
17
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
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-haspopup="dialog" 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>
19
20
  <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>
20
21
  <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>
21
22
  </nav>
@@ -15,6 +15,7 @@
15
15
  <i class="ind"></i>
16
16
  <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>
17
17
  <button class="pl" data-go="work" aria-current="page"><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>
18
+ <button class="pl pchat" data-go="chat" aria-haspopup="dialog" 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>
18
19
  <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>
19
20
  <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>
20
21
  </nav>
@@ -32,7 +33,7 @@
32
33
  <div class="toast glass" id="toast" role="status"></div>
33
34
  <main class="stage" id="stage">
34
35
  <header class="top rise" style="--d:0">
35
- <h1 class="vh">My work</h1><div class="where"><span class="glass name" aria-hidden="true">My work</span><button class="round tbchat" id="pgChat" aria-haspopup="dialog" aria-label="Ask about this page" title="Ask about this page"></button></div>
36
+ <h1 class="vh">My work</h1><div class="where"><span class="glass name" aria-hidden="true">My work</span></div>
36
37
  <div class="tools tools-top"><span class="vh" id="snap">Reading your list</span></div>
37
38
  </header>
38
39
  <section class="hero">
@@ -25,6 +25,7 @@
25
25
  <i class="ind"></i>
26
26
  <button class="pl" data-go="brief" aria-current="page"><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>
27
27
  <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>
28
+ <button class="pl pchat" data-go="chat" aria-haspopup="dialog" 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>
28
29
  <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>
29
30
  <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>
30
31
  </nav>
@@ -42,7 +43,7 @@
42
43
  <div class="toast glass" id="toast" role="status"></div>
43
44
  <main class="stage" id="stage">
44
45
  <header class="top rise" style="--d:0">
45
- <h1 class="vh">Briefing</h1><div class="where"><span class="glass name" aria-hidden="true">Briefing</span><button class="round tbchat" id="pgChat" aria-haspopup="dialog" aria-label="Ask about this page" title="Ask about this page"></button></div>
46
+ <h1 class="vh">Briefing</h1><div class="where"><span class="glass name" aria-hidden="true">Briefing</span></div>
46
47
  <div class="tools tools-top"><span class="vh" id="snap">Reading the repository</span>
47
48
  <span id="pkPark" hidden><span class="pkw" id="pkw" hidden><button class="fchip" id="pick" aria-haspopup="menu" aria-expanded="false" aria-controls="pickMenu">Products<em id="pickN"></em></button><div class="crmenu pkmenu" id="pickMenu" role="menu" hidden></div></span></span></div>
48
49
  </header>