oficina / mapa Public

Build notes: the in-page title is note 78, after New team page's 77

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev c765efeb8bfe972adbfe0c3507cd64e74f03a65f parent 67503c1
10 files changed, +23 −20
  • AGENTS.md +1 −1
  • docs/superpowers/specs/2026-11-14-mapa-level-up.md +14 −11
  • editor/title.mjs +1 −1
  • editor/title.test.mjs +1 −1
  • internal/mapa/handlers_title.go +1 −1
  • internal/mapa/static/mapa.css +1 −1
  • internal/mapa/templates/partials.html +1 −1
  • internal/mapatest/title_browser_test.go +1 −1
  • internal/mapatest/title_quality_browser_test.go +1 −1
  • internal/mapatest/title_test.go +1 −1

CI passed — run details

CI log
=== editor ===
cd editor && npm ci --no-audit --no-fund --loglevel=error

added 16 packages in 339ms
cd editor && node build-bundles.mjs
wrote internal/mapa/static/editor.ac16df7e5105d46b.js (311875 bytes, 97.2KB gzipped; L12 budget 120KB)
cd editor && node --test
✔ L1: mounting then serialising gives cleanBody(body), byte for byte (42.385931ms)
ℹ 760 bodies
✔ L1: mounting a stored body adds nothing, and saving it writes nothing new (60.914842ms)
✔ L2: one edited block changes only that block's bytes; undo gives the body back (103.716034ms)
ℹ 748 single-block edits
✔ L2: inserting or deleting a block changes bytes only at the new seams, by Join (114.201865ms)
ℹ 755 inserts, 715 deletes
✔ L3: seeded edits keep the document and its Markdown saying the same thing (3569.874429ms)
ℹ 18240 edits over 760 bodies
✔ linear: trailing spaces (22.5257ms)
✔ linear: trailing whitespace (17.427667ms)
✔ linear: unclosed web links (17.507464ms)
✔ linear: web links with no address (20.474502ms)
✔ linear: unclosed wiki links (26.471763ms)
✔ linear: unclosed embeds (23.014047ms)
✔ linear: closes only (7.590147ms)
✔ golden file has bodies (0.643043ms)
✔ markup.mjs parses every body into Go's blocks, byte offsets and all (18.955884ms)
✔ markup.mjs strips and spans every block as Go does (25.127588ms)
✔ the schema's toDOM draws every body as Go renders it (49.810863ms)
✔ emphasis draws the four pinned outputs (19.589939ms)
✔ a body ends in the editor's empty paragraph (0.323761ms)
✔ a POST that never answers is aborted after the timeout (20.538631ms)
✔ a keepalive POST carries no signal, and an answer clears the timer (1.196952ms)
✔ autosave sends only what differs, and the tab owns the draft it wrote (8.75999ms)
✔ an offered draft never commits by itself; Save commits it (0.998543ms)
✔ reload, then close: sessionStorage says the draft is this tab's own (0.470333ms)
✔ closing carries text not yet sent, and the cap leaves it out (24.366635ms)
✔ clean rebase: applied, the caret survives, the base moves by the rebase POST (6.887184ms)
✔ the block under the caret is the teammate's too, and undo brings back yours (5.747607ms)
✔ typing mid-flight: the merge is not applied and the base does not move (1.06688ms)
✔ a merge the editor cannot represent stops after three tries (3.3884ms)
✔ a conflict is shown, locks the editor's own commits, and Resolve settles it (1.279154ms)
✔ leaving: a conflict stays with the choice; a failed flush offers Leave anyway; a stored draft leaves (1.436145ms)
✔ a stale tab shows the newer draft, offered, and never overwrites it (0.85708ms)
✔ the first scratch commit: empty creates nothing, then one page, then drafts on it (0.923043ms)
✔ noBase and gone lead to the existing choices (0.731107ms)
✔ a commit that merged is applied when nothing was typed since (0.978947ms)
✔ back from the cache: nothing unsaved reloads, unsaved text autosaves at once (6.162217ms)
✔ an own draft committed meanwhile goes on as a new draft (1.129827ms)
✔ a reload keeps a stored draft; unsent text still commits (0.437201ms)
✔ a page deleted mid-edit: what is typed is still stored as the draft, and nothing commits (H1) (0.83557ms)
✔ an offered draft committed in another tab: typing goes on as a new draft (H1) (2.239016ms)
✔ a commit reply without a revision is not a commit; an emptied day starts afresh (H2) (1.117264ms)
✔ Resolve stores what was typed first, and takes no typing until its answer is applied (M1) (3.692364ms)
✔ closing with a choice open, or commits held, still writes the text, never commits (M2) (0.959281ms)
✔ closing inside the settling window sends the loaded version with settling=1 (M3) (0.29629ms)
✔ a clean merge not applied because of typing still ends the choice on show (M4) (0.827966ms)
✔ settling finds the draft committed with a teammate's text: a close still writes (M-A) (0.461427ms)
✔ settling finds another tab's newer draft: the tab shows it before any typing (0.667118ms)
✔ a page deleted before the first autosave: the text is offered as a scratch page, and a close makes one (M-B) (0.507752ms)
✔ an autosave that never answered but landed: its 409 keeps the typing since (L3) (0.534973ms)
✔ marks: em outside strong, bold reopened around italics, edges outside (5.498595ms)
✔ marks close before code, links and atoms, and reopen after (0.335152ms)
✔ untouched blocks and atoms re-emit their source; edited atoms are written from attributes (5.232363ms)
✔ empty blocks are written as nothing (2.121598ms)
✔ an unclosed fence that is no longer last gets its closing fence (1.39034ms)
✔ the structure check puts Join's seam where a kept one would merge two blocks (1.908642ms)
✔ prepareSave adopts the parse when no seam or rewrite can save the document (3.082652ms)
✔ reparse: typed emphasis becomes a mark, "- " after a break becomes an item (2.020922ms)
✔ a trailing hard break stays on screen and is written as nothing (1.12096ms)
✔ the reparse waits while an IME is composing (0.798492ms)
✔ copied blocks paste with their bytes and seams; a cut and paste gives the body back (4.041831ms)
✔ a forged x-mapa slice is refused, and text from outside is read as Markdown (0.892496ms)
✔ rebuild changes origins only, outside undo history (2.077806ms)
✔ applyBody takes a teammate's block, keeps the caret, and ends untouched (1.56728ms)
✔ a block whose context changed is written again: a task toggled, a bullet, a quote (2.526179ms)
✔ a duplicate ^id typed above its holder never takes the id from it (0.563646ms)
✔ a copy-dragged block is reparsed, and says what its Markdown says (0.783314ms)
✔ a history command that throws is refused, never thrown (2.487286ms)
✔ one rename at a time, from either field (1.806713ms)
✔ an empty or unchanged title sends nothing (0.169986ms)
✔ a refusal keeps what was typed, and the title (0.245315ms)
✔ the pending state holds for the busy rule (5.133298ms)
✔ a failed POST says so and keeps the title (0.417214ms)
✔ Update links posts the confirm page's POST (0.326786ms)
✔ clean is CleanTitle's whitespace rule (0.149307ms)
✔ the saver's base follows a rename made over it, and only that (0.362142ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3998.147672
=== vet ===
go vet ./...
go vet -tags browser ./internal/mapatest/
=== fmt ===
=== code ===
go tool rastrillo budget code
The base has no .rastrillo/code.txt: skipping the check that records only go down.
budget code: within the limits.
=== test ===
CGO_ENABLED=0 go test ./...
?   	amadan.net/oficina/mapa/cmd/mapa	[no test files]
ok  	amadan.net/oficina/mapa/internal/mapa	0.530s
?   	amadan.net/oficina/mapa/internal/mapa/icons	[no test files]
ok  	amadan.net/oficina/mapa/internal/mapa/markup	(cached)
ok  	amadan.net/oficina/mapa/internal/mapa/seal	(cached)
ok  	amadan.net/oficina/mapa/internal/mapatest	10.943s
?   	amadan.net/oficina/mapa/scripts/mutate	[no test files]
?   	amadan.net/oficina/mapa/scripts/preview	[no test files]
=== migration-check ===
go tool rastrillo migration check
rastrillo migration check: models and migrations agree
=== credits-check ===
python3 scripts/credits.py --check
credits: checked
diff --git a/AGENTS.md b/AGENTS.md
index 1c67215..45b68c9 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -82,7 +82,7 @@ Makefile, estilo's files served straight from the module).
`maketeam.mjs` Make team page from a selection; `accessory.mjs` the
phone's row; `notices.mjs` the bars and the lead's save status;
`title.mjs` the title renamed in place, shared with the header's
- field (build note 77).
+ field (build note 78).
`saver.test.mjs` is L9's client half; in `internal/mapatest/`,
`editor_browser_test.go` holds L5 and L9 end to end,
`editor_typing_browser_test.go` the typing, and
diff --git a/docs/superpowers/specs/2026-11-14-mapa-level-up.md b/docs/superpowers/specs/2026-11-14-mapa-level-up.md
index 975259b..6182898 100644
--- a/docs/superpowers/specs/2026-11-14-mapa-level-up.md
+++ b/docs/superpowers/specs/2026-11-14-mapa-level-up.md
@@ -1049,7 +1049,7 @@ Phase 1's choices where this spec was silent, or where the build chose different
10. **The fold is two submit buttons,** one per state, and CSS shows the one that fits the screen. So it works with scripts off and with no cookie. `POST /view/sidebar` and `/view/links` set cookies, write no row and log no event; gate 8 drives them as view-only routes. Their `return` must be a local path.
11. **Recently edited leaves out bulk edits by transaction:** any transaction whose events share one actor and one `at` and hold more than one `edited` (§3.2). It reads at most the person's last 200 qualifying events.
12. **Pins** are sealed in `members.sealed_pins` (migration 0003): at most 12 page ids, newest first. The plaintext is always 12 eight-byte slots, empty ones zero (review L11), so the ciphertext's length does not say how many pages anyone pinned. The event is `pins` on the member.
-13. **Rename still lands on the existing Update links confirm page** (`/p/{id}/links`), not an in-page notice. It was already a confirm page with the honest count, and gate 1 compares it as one. *Amended by note 77:* with script, the in-page notice; without it, still this confirm page.
+13. **Rename still lands on the existing Update links confirm page** (`/p/{id}/links`), not an in-page notice. It was already a confirm page with the honest count, and gate 1 compares it as one. *Amended by note 78:* with script, the in-page notice; without it, still this confirm page.
14. **The kicker's "Edited by"** reads the current revision's plaintext row, and names a teammate by their address's local part. History and presence do the same.
15. **The Links panel's foot fallback stays on phones,** beside the sheet. The sheet is a script enhancement (`links.js`), not a modal `<dialog>`, so the lists are reachable with scripts off.
16. **The map** is a 284×200 viewBox with the ring at 104×66, starting at −150°. Its labels are clamped inside the box. Edges between neighbours are drawn once per pair.
@@ -1141,16 +1141,6 @@ Phase 1's choices where this spec was silent, or where the build chose different
74. **A page deleted before the tab stored any draft on it** (M-B; corrects note 58). `mayDraft` refuses it (404): the person has no draft for the store to keep. The saver takes a 404 from the drafts route as that state: it sends nothing more there, the status says "Not saved", and the bar offers Save as a scratch page, which posts the text to the existing `POST /scratch`. Leaving inside Mapa shows the offer again beside Leave anyway; a close makes the scratch page with one keepalive `POST /scratch`, so what was typed is never only in a closed tab.
75. **A bar's action does not go on a failed flush; a hung POST times out** (L2, L3). Save as a scratch page and Discard are not sent when the flush before them failed, and the bar says so; Show the saved version offers Leave anyway instead of going. `post.mjs` aborts a request after 10 seconds (never a keepalive one), and the saver retries. An aborted request may have landed; every draft write is version-checked, so the retry meets a 409 whose body is the text that request sent, and the saver takes that as its own: its version, and the typing since autosaved, never replaced.
76. **The first scratch commit's tokens are held per person** (L4; amends notes 31 and 66): at most 256 each, refused past that, so one person's tabs never use up anyone else's.
-77. **The in-page title renames, as §4.1 asked** (Paul: "Why can't I click a title to edit it?"; amends note 13).
- - **The field.** On a team page the editor mounts on (`/p/{id}`, not History, not `?saved=1`, not the Markdown editor), the server marks the H1 `mapa-rename` and wraps its text in `<span mapa-title-text>`; without script that is the plain heading it was. `editor/title.mjs` makes the span `contenteditable`, `role="textbox"`, named "Title, renames the page". The heading keeps the title as its own name, read from the textbox's value, so heading navigation is unchanged. An input styled as the H1 was not chosen: a title wraps and an input does not, so a long title would shift the page, and a click on its second line could not place the caret. It is `contenteditable="true"`, not `plaintext-only`, which Chromium forces to `pre-wrap` (a line's end space kept and measured, so a wrapped title's box changed at mount); breaks and formatting are refused on `beforeinput`, and paste inserts text only, one line. CSS gives the span the heading's own `white-space`, `overflow-wrap` and `line-break`, so nothing moves when it becomes editable; the focus ring is an outline on the H1.
- - **Keys.** Click, tap or Tab to it; Enter, ⌘S or blur renames; Esc puts the title back and writes nothing; an empty or unchanged title sends nothing (blur restores the title). Enter is never acted on while composing (`isComposing`, keyCode 229). A refused title left by blur is not sent again until it changes.
- - **One pending state.** The header's title field, on that page, goes through the same `Renamer`: its submit is taken over (the busy shim leaves a cancelled submit alone). While one rename is out, both show the title on its way, the header field is read-only, the H1 refuses typing, and a second rename is not sent. The state holds at least 650ms (the busy rule), with estilo's spinner and "Renaming…" in the note under the H1, and on the header's Rename button when it sent.
- - **The POST.** `POST /p/{id}/rename` answers JSON when asked, as Make team page and Resolve do: `{title, href, from, to, links, count, aliases}`, where `from` and `to` are the revisions the rename was made over and minted (`"0"` both for an unchanged title) and `links`/`count` the confirm page's own scoped count (`AliasLinkers`, gate 1 compares it). A refusal (empty, too long, link syntax, date-shaped, taken by a title or an alias) is 422 `{error, taken}`, the form's sentence and the page holding the title. `POST /p/{id}/links` answers `{changed, notice}`. Without script both redirect as before.
- - **When it lands,** with no reload: the H1, the header field (value, `defaultValue` for estilo's Esc, refitted), `document.title`, the sidebar's entry, the kicker's "Also called", the editor's name ("Page text, …") and the Links panel and foot (refetched, as after a commit). The kicker's "Edited by" is not redrawn until the next load.
- - **Update links in the page.** With links to update, the note under the H1 says "Renamed. N pages you can edit link here by an old title." with Update links (the existing POST, held by the busy rule) and Not now; with none, "Renamed. The old title still leads here." Without script, rename still lands on the confirm page (note 13).
- - **Refusals** are said in the note, `role="alert"`, with "Open the page with that title" when one holds it. The field it was typed in keeps the text (`aria-invalid`); the other shows the page's title.
- - **The draft follows the rename.** A rename mints a revision holding exactly the body of the one before (base §3.2), so the store moves every draft on the page based on that revision to the new one, in the rename's transaction (`carryDrafts`; only the base, never the text, the version or the time written). The tab's saver moves its own base the same way (`Saver.renamed`). Before, a draft open across a rename committed as `Merged`, "merged with a teammate's changes", against a revision that changed only the title, and the editor rebased for it.
- - **Gates.** `internal/mapatest/title_test.go` (JSON answers, refusals, Update links, the draft carried, which pages are renamable); `title_browser_test.go` and `title_quality_browser_test.go` in `make browser` (click, type, Enter; Esc; a taken title; no double submit; not on daily, scratch or History; no shift at three widths and the caret where clicked; typing and draft kept with no rebase; axe in each state); `editor/title.test.mjs` (the shared state). Gate 1 compares the JSON answers. WebKit (Playwright 1.65.1, build 2388) by hand on the preview: no shift at 1440, 1000 and 390px, the caret where clicked, Esc, rename, refusal and the header all as in Chromium. IME composition was not driven by hand; it rests on the `isComposing` guard.
**New team page and the rail's tooltips, unclipped** (Paul, 14 November: clicking New team page showed nothing usable):
@@ -1161,6 +1151,19 @@ Phase 1's choices where this spec was silent, or where the build chose different
- **New page is one title field** (bug 3): the screen behind Page → New team page, `/new`, ⌘K's Create and a pending link drew the Markdown textarea under the title, borderless and half the window tall, so Create and Cancel sat 490 to 530px under the field and off a 877px window. It is now the title and the buttons, as Rename is and as §4.7's popover is; the page's text is written on the page once it exists, with the caret already there with script, and through the page's Edit as Markdown without. A body that comes with a refused POST (no screen sends one now) rides along in a hidden field, so nothing is lost. Gate 7's walk creates Acme, then writes its text through Edit as Markdown.
- **Gates** (`newpage_browser_test.go`, `make browser`), each failing on `1e92f29`: `TestNewTeamPageShowsTheWholeForm` opens New team page in six sidebar states (1400 and 900 wide; no cookie, `open` and `rail`) and at 390 by Page → New team page, scripts off and on, asks `elementFromPoint` at the four corners of the title field and Create (3px in, past their rounded borders) for the form, checks focus is in the title, then types a title and presses Enter and waits for the page (on `1e92f29`: the corners hit `main` in every sidebar state, focus stayed on the summary, Enter made no page, and at 390 Create was below the window); `TestNewTeamPageRefusesATakenTitleInPlace`; `TestTheNewPageScreenKeepsItsButtonsUnderTheField` (within 48px at 1402×877 and 390×844, scripts off and on; 488 to 526px on `1e92f29`); `TestTheRailsTooltipsAreWhole`, which hovers every rail row by width and by cookie and hit-tests the tooltip's corners (every one cut off on `1e92f29`). `TestNewTeamPageAnswersThePopover` holds the JSON replies. By hand in Playwright's WebKit (build 2388): the popover's box in all five states matches Chromium's to the pixel, every corner hits, focus goes to the title and back to the button on Esc, a taken title is refused in place with scripts and on the screen without, Enter creates in both, and the tooltips are whole, a scrolled rail included.
+**The in-page title** (Paul, 14 November: "Why can't I click a title to edit it?"):
+
+78. **The in-page title renames, as §4.1 asked** (Paul: "Why can't I click a title to edit it?"; amends note 13).
+ - **The field.** On a team page the editor mounts on (`/p/{id}`, not History, not `?saved=1`, not the Markdown editor), the server marks the H1 `mapa-rename` and wraps its text in `<span mapa-title-text>`; without script that is the plain heading it was. `editor/title.mjs` makes the span `contenteditable`, `role="textbox"`, named "Title, renames the page". The heading keeps the title as its own name, read from the textbox's value, so heading navigation is unchanged. An input styled as the H1 was not chosen: a title wraps and an input does not, so a long title would shift the page, and a click on its second line could not place the caret. It is `contenteditable="true"`, not `plaintext-only`, which Chromium forces to `pre-wrap` (a line's end space kept and measured, so a wrapped title's box changed at mount); breaks and formatting are refused on `beforeinput`, and paste inserts text only, one line. CSS gives the span the heading's own `white-space`, `overflow-wrap` and `line-break`, so nothing moves when it becomes editable; the focus ring is an outline on the H1.
+ - **Keys.** Click, tap or Tab to it; Enter, ⌘S or blur renames; Esc puts the title back and writes nothing; an empty or unchanged title sends nothing (blur restores the title). Enter is never acted on while composing (`isComposing`, keyCode 229). A refused title left by blur is not sent again until it changes.
+ - **One pending state.** The header's title field, on that page, goes through the same `Renamer`: its submit is taken over (the busy shim leaves a cancelled submit alone). While one rename is out, both show the title on its way, the header field is read-only, the H1 refuses typing, and a second rename is not sent. The state holds at least 650ms (the busy rule), with estilo's spinner and "Renaming…" in the note under the H1, and on the header's Rename button when it sent.
+ - **The POST.** `POST /p/{id}/rename` answers JSON when asked, as Make team page and Resolve do: `{title, href, from, to, links, count, aliases}`, where `from` and `to` are the revisions the rename was made over and minted (`"0"` both for an unchanged title) and `links`/`count` the confirm page's own scoped count (`AliasLinkers`, gate 1 compares it). A refusal (empty, too long, link syntax, date-shaped, taken by a title or an alias) is 422 `{error, taken}`, the form's sentence and the page holding the title. `POST /p/{id}/links` answers `{changed, notice}`. Without script both redirect as before.
+ - **When it lands,** with no reload: the H1, the header field (value, `defaultValue` for estilo's Esc, refitted), `document.title`, the sidebar's entry, the kicker's "Also called", the editor's name ("Page text, …") and the Links panel and foot (refetched, as after a commit). The kicker's "Edited by" is not redrawn until the next load.
+ - **Update links in the page.** With links to update, the note under the H1 says "Renamed. N pages you can edit link here by an old title." with Update links (the existing POST, held by the busy rule) and Not now; with none, "Renamed. The old title still leads here." Without script, rename still lands on the confirm page (note 13).
+ - **Refusals** are said in the note, `role="alert"`, with "Open the page with that title" when one holds it. The field it was typed in keeps the text (`aria-invalid`); the other shows the page's title.
+ - **The draft follows the rename.** A rename mints a revision holding exactly the body of the one before (base §3.2), so the store moves every draft on the page based on that revision to the new one, in the rename's transaction (`carryDrafts`; only the base, never the text, the version or the time written). The tab's saver moves its own base the same way (`Saver.renamed`). Before, a draft open across a rename committed as `Merged`, "merged with a teammate's changes", against a revision that changed only the title, and the editor rebased for it.
+ - **Gates.** `internal/mapatest/title_test.go` (JSON answers, refusals, Update links, the draft carried, which pages are renamable); `title_browser_test.go` and `title_quality_browser_test.go` in `make browser` (click, type, Enter; Esc; a taken title; no double submit; not on daily, scratch or History; no shift at three widths and the caret where clicked; typing and draft kept with no rebase; axe in each state); `editor/title.test.mjs` (the shared state). Gate 1 compares the JSON answers. WebKit (Playwright 1.65.1, build 2388) by hand on the preview: no shift at 1440, 1000 and 390px, the caret where clicked, Esc, rename, refusal and the header all as in Chromium. IME composition was not driven by hand; it rests on the `isComposing` guard.
+
## 14. Findings and what changed
diff --git a/editor/title.mjs b/editor/title.mjs
index 709ae12..05d2b8a 100644
--- a/editor/title.mjs
+++ b/editor/title.mjs
@@ -1,5 +1,5 @@
// title.mjs — a team page's title, renamed in place (level-up §4.1,
-// build note 77). The H1's text and the header's title field rename
+// build note 78). The H1's text and the header's title field rename
// through the same POST /p/{id}/rename, asking for JSON, with one
// pending state between them (mock-up risk 9): while one is out, both
// show the title on its way and neither can send another. When it
diff --git a/editor/title.test.mjs b/editor/title.test.mjs
index 26daea2..bf03a8d 100644
--- a/editor/title.test.mjs
+++ b/editor/title.test.mjs
@@ -1,5 +1,5 @@
// title.test.mjs — the in-page title's one pending state (level-up
-// §4.1, build note 77), without a browser: the H1 and the header share
+// §4.1, build note 78), without a browser: the H1 and the header share
// one Renamer, so a second rename while one is out is never sent; an
// empty or unchanged title sends nothing; a refusal keeps what was
// typed; and the saver's base follows a rename made over it. The page
diff --git a/internal/mapa/handlers_title.go b/internal/mapa/handlers_title.go
index b6abdeb..5f435d6 100644
--- a/internal/mapa/handlers_title.go
+++ b/internal/mapa/handlers_title.go
@@ -6,7 +6,7 @@ import (
"strconv"
)
-// The in-page title's answers (level-up §4.1, build note 77). The H1
+// The in-page title's answers (level-up §4.1, build note 78). The H1
// and the header's title field rename through the same POST
// /p/{id}/rename as the form, asking for JSON; the form's redirect to
// the Update links confirm page is unchanged, and stays the floor.
diff --git a/internal/mapa/static/mapa.css b/internal/mapa/static/mapa.css
index daac22e..9f0dc58 100644
--- a/internal/mapa/static/mapa.css
+++ b/internal/mapa/static/mapa.css
@@ -489,7 +489,7 @@ img.ProseMirror-separator {
/* The Links sheet hides while the keyboard is up (§4.3). */
html[data-mapa-keyboard] aside[mapa-links] [mapa-peek] { display: none; }
-/* The in-page title, renamed in place (level-up §4.1, build note 77).
+/* The in-page title, renamed in place (level-up §4.1, build note 78).
Its look does not change when it is edited: the text keeps its face,
size and wrap, and the ring is an outline, which takes no room. The
note under it is empty, and so takes no room, until a rename says
diff --git a/internal/mapa/templates/partials.html b/internal/mapa/templates/partials.html
index 423688f..ec18b14 100644
--- a/internal/mapa/templates/partials.html
+++ b/internal/mapa/templates/partials.html
@@ -60,7 +60,7 @@
on the editor itself), Day (*dayPill, daily notes), Rename (the
rename POST, on a team page the editor mounts on; "" elsewhere).
With Rename, the editor's script makes the title's text editable
- in place (editor/title.mjs, build note 77); without script it is
+ in place (editor/title.mjs, build note 78); without script it is
the plain heading it always was. */}}
{{define "mapa-doc-head"}}{{$page := .Page}}<header mapa-page-head>
<div mapa-doc-kicker>
diff --git a/internal/mapatest/title_browser_test.go b/internal/mapatest/title_browser_test.go
index b4e24bb..d9d42a0 100644
--- a/internal/mapatest/title_browser_test.go
+++ b/internal/mapatest/title_browser_test.go
@@ -15,7 +15,7 @@ import (
"amadan.net/oficina/mapa/internal/mapa"
)
-// The in-page title (level-up §4.1, build note 77), in a real Chromium
+// The in-page title (level-up §4.1, build note 78), in a real Chromium
// through the real server: click it, type, Enter renames, and the
// header, the sidebar, the tab's title and the links offer follow with
// no reload; Esc writes nothing; a refusal is said beside it and keeps
diff --git a/internal/mapatest/title_quality_browser_test.go b/internal/mapatest/title_quality_browser_test.go
index c3779c8..53ccff4 100644
--- a/internal/mapatest/title_quality_browser_test.go
+++ b/internal/mapatest/title_quality_browser_test.go
@@ -13,7 +13,7 @@ import (
"amadan.net/oficina/mapa/internal/mapa"
)
-// The in-page title's quality gates (build note 77): no shift, the
+// The in-page title's quality gates (build note 78): no shift, the
// body's typing and draft untouched by a rename, and axe.
// headBoxes is the page head's boxes (the kicker, the H1, the editable
diff --git a/internal/mapatest/title_test.go b/internal/mapatest/title_test.go
index b7748f4..356b98c 100644
--- a/internal/mapatest/title_test.go
+++ b/internal/mapatest/title_test.go
@@ -7,7 +7,7 @@ import (
"testing"
)
-// The in-page title (level-up §4.1, build note 77): the H1 and the
+// The in-page title (level-up §4.1, build note 78): the H1 and the
// header rename through POST /p/{id}/rename asking for JSON, which
// answers the title, the revisions, and the confirm page's honest
// count; a refusal is the form's sentence and writes nothing; Update