oficina / slides Public

Presenter mockup: the step count sits beside the slide number

Paul pressed advance during the talk and the slide number did not
move, with nothing to say why. The count of steps now sits next to the
number and flashes on every press.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 16c9a3db68825cc3d083dbc59f58215637e02c6a parent 22f33f1
2 files changed, +16 −8
  • docs/superpowers/specs/2026-11-17-presenter-mockup.html +12 −8
  • docs/superpowers/specs/2026-11-17-quieter-editor-design.md +4 −0
diff --git a/docs/superpowers/specs/2026-11-17-presenter-mockup.html b/docs/superpowers/specs/2026-11-17-presenter-mockup.html
index b2cc2cd..80f8bdc 100644
--- a/docs/superpowers/specs/2026-11-17-presenter-mockup.html
+++ b/docs/superpowers/specs/2026-11-17-presenter-mockup.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Slides: the presenter window (mockup 6)</title>
+<title>Slides: the presenter window (mockup 7)</title>
<style>
/* The palette and the proportions are the HalfStack deck's presenter view. */
:root {
@@ -71,9 +71,9 @@
/* ---- left: now and next ---- */
/* The two slides share the column's height: the next one is half the size of
- the current one, and 104px is the step track, the label and their gaps. */
+ the current one, and 104px is the label and the gaps. */
#pleft { grid-row: 3; min-inline-size: 0; min-block-size: 0; container-type: size; display: flex; flex-direction: column; gap: 14px; }
- #pleft > * { --now: min(100cqw, calc((100cqh - 104px) / 1.5 * 16 / 9)); }
+ #pleft > * { --now: min(100cqw, calc((100cqh - 72px) / 1.5 * 16 / 9)); }
.pframe { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); color: var(--paper-ink); border-radius: 4px; box-shadow: 0 8px 16px rgb(0 0 0 / 0.45); flex: none; display: grid; align-content: center; gap: 6%; padding: 6% 8%; }
.pframe.blacked { background: #000; }
.pframe.blacked > * { visibility: hidden; }
@@ -84,11 +84,14 @@
#pcur { inline-size: var(--now); font-size: calc(var(--now) / 34); }
#pnext { inline-size: calc(var(--now) / 2); font-size: calc(var(--now) / 68); opacity: 0.92; }
#psteps { display: flex; align-items: center; gap: 14px; }
- #ptrack { flex: 1; display: flex; gap: 6px; max-inline-size: 320px; }
+ #pstepnow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 8px; background: var(--raised); }
+ #pstepnow.moved { animation: pressed 0.5s var(--ease); }
+ @keyframes pressed { from { background: rgb(255 180 84 / 0.28); } to { background: var(--raised); } }
+ #ptrack { display: flex; gap: 5px; inline-size: 96px; }
#ptrack i { flex: 1; block-size: 6px; border-radius: 3px; background: #2c2c36; overflow: hidden; position: relative; }
#ptrack i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--ease); }
#ptrack i.done::after { transform: scaleX(1); }
- #pstepstext { font: 16px/1.5 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
+ #pstepstext { font: 18px/1.3 var(--mono); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
#pstepstext b { color: var(--ink); font-weight: 600; }
#pnext-label { display: flex; align-items: center; gap: 8px; margin-block-start: 6px; font: 16px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
@@ -123,6 +126,7 @@
<div id="presenter">
<div id="phead">
<button type="button" id="ppos" aria-expanded="false" aria-controls="pjump" title="Go to a slide"><span id="pposn">31</span><small>/ 105</small><svg viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
+ <span id="pstepnow" role="status"><span id="ptrack" aria-hidden="true"><i></i><i></i><i></i><i></i></span><span id="pstepstext"></span></span>
<span id="pmode">core</span>
<span id="pblack" hidden>BLACK</span>
<button type="button" id="pelapsed" title="Click to reset">12:41</button>
@@ -152,7 +156,6 @@
<div id="pleft">
<div class="pframe" id="pcur"><h2 id="curh">Three reasons it worked</h2>
<ul id="curl"><li>The deck was data, so it could change overnight</li><li>Every slide was rehearsed where it was written</li><li>Nothing needed the network</li></ul></div>
- <div id="psteps"><div id="ptrack" aria-hidden="true"><i></i><i></i><i></i></div><span id="pstepstext" role="status"></span></div>
<div id="pnext-label"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14"/><path d="m13 6 6 6-6 6"/></svg><span id="pnexttext">Next step</span></div>
<div class="pframe" id="pnext"><h2 id="nxth">Three reasons it worked</h2>
<ul id="nxtl"><li>The deck was data, so it could change overnight</li><li>Every slide was rehearsed where it was written</li><li>Nothing needed the network</li></ul></div>
@@ -188,8 +191,9 @@
$('nxth').textContent = last ? 'Links' : 'Three reasons it worked';
$('nxtl').hidden = last;
nxt.forEach((li, i) => li.classList.toggle('off', i > step));
- track.forEach((d, i) => d.classList.toggle('done', i < step));
- $('pstepstext').innerHTML = step === 0 ? 'before the first press' : '<b>' + step + '</b> of 3 presses';
+ track.forEach((d, i) => d.classList.toggle('done', i <= step));
+ $('pstepstext').innerHTML = 'step <b>' + (step + 1) + '</b> of 4';
+ const now = $('pstepnow'); now.classList.remove('moved'); void now.offsetWidth; now.classList.add('moved');
secs.forEach((s, i) => { s.classList.toggle('past', i < step); s.classList.toggle('now', i === step); s.classList.toggle('later', i > step); });
$('pcur').classList.toggle('blacked', black);
$('pblack').hidden = !black;
diff --git a/docs/superpowers/specs/2026-11-17-quieter-editor-design.md b/docs/superpowers/specs/2026-11-17-quieter-editor-design.md
index 12db64e..db3acd6 100644
--- a/docs/superpowers/specs/2026-11-17-quieter-editor-design.md
+++ b/docs/superpowers/specs/2026-11-17-quieter-editor-design.md
@@ -389,6 +389,10 @@ The order of work, as it stands on 17 November:
panel fits the window at any size, and the slides scale to the
room. Only two things scroll, inside themselves: the notes when
the presenter chooses Scroll, and the slide picker.
+ - **Where you are in a slide's steps sits beside the slide number**
+ (Paul, 18 November: "I was pressing advance, and the slide number
+ wasn't going up ... I wasn't sure why"). Every press visibly moves
+ something next to the number.
- **Proposed, not yet answered by Paul:** the notes follow the
steps, with the part for the current press bright and the rest
dimmed. The mockup draws it.