Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

spaces: what opens from the bar is slides' — Save holds the file's commands, ⋯ is fold-only (replaces #572) (#653)

nyblnet83757764ee0e
diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md
index 09fd51d7..b12d3e7a 100644
--- a/docs/DECISIONS.md
+++ b/docs/DECISIONS.md
@@ -8461,3 +8461,187 @@ title, where slides puts its Slides button.
A kernel line proposes `kernel/src/ui/topbar.ts`. When it lands, this file
becomes an import and slides' `fitTopbar` its second caller.
+
+## 2026-09-26 — What opens from the spaces bar is slides': the Save menu holds the file's commands, ⋯ is fold-only
+
+**The maintainer's ruling:** "when I talk about the top bar, I mean everything
+about it." #567 matched the bar's own geometry; the menus, popovers and dialogs
+it opens still looked and were organised differently. Spaces' ⋯ had 13.5px/600
+`--ink` rows with no separators and a two-line row; the Save caret had three
+rows; the rest of the file's commands were scattered through ⋯ and About.
+
+**Look.** Every surface is measured against slides (#568's build) and set to
+its values through the kernel primitives' hooks, never a fork: the menu rows
+(13px/400 `--ink-2`, 16px icons in the same ink, `6px 9px` with a 1px
+transparent frame, 6px gap, 8px corners, 30px tall, 44px under 700px), the list
+(4px padding, 4px off the trigger, slides' shadow, 3px 2px separators), the
+Save menu at 12.5px, the Share popover (`.ed-share-pop` section for section),
+the dialogs (`.ed-about`: no frame, 20px in, 440 wide, slides' shadow and
+scrim; the shortcut sheet 700), the notice (`.ed-toast`), and the split Save
+button (#568's primary split). The values live in ONE block per surface in
+spaces/src/styles.css, and scripts/test-spaces-chrome.ts reads slides' menu
+numbers out of slides' stylesheet and holds the computed values to them. In
+dark, what opens from the bar uses slides' surface family (`--pop-bg`
+`#21262e`, `--pop-line`, `--pop-hover`), a step lighter than spaces' panels.
+
+**Where D-rulings and slides disagreed, the ruling won — and slides then
+moved to it (#573).** D2 makes Save and Share consequence menus: every row
+carries a visible second line (12px/1.35 `--muted`, 2px under the name), wired
+as the row's DESCRIPTION through `aria-describedby`, the name alone its
+accessible name — spaces' `menus.ts row()` and the Share actions do exactly
+what slides' `menuLabel` does. D4 dialog titles are 17px/650 in both; D8 help
+shortcuts are sans and right-aligned in both. The keyboard ring is the
+kernel's in both: 2px `--accent-ink`, OUTSIDE (+2px) on bar and dialog buttons,
+INSIDE (−2px) on rows in a list. The dark menu shadow is `0 8px 24px rgb(0 0 0
+/ .5)`; spaces carries it as a `--pop-shadow` token defined in both of its dark
+blocks, so dark chosen by the OS and dark picked in About both get it. The Save
+list is `min(264px, 100vw − 16px)` wide and scrolls in the room under the bar
+(`100dvh − --sp-bar-bottom − 12px`).
+
+**Organisation — slides' map, command for command:**
+
+- **Save ▾** holds everything that acts on the FILE, in slides' order: Save a
+ copy, Duplicate as a new space (was About), the exports (Markdown, page as a
+ space; the tour's page as slides), Encrypt with password / Change / Remove
+ (was About → Password, a `prompt()`; now slides' two-field dialog), a rule,
+ Version history (was About → History; now its own dialog), Copy document
+ JSON (was About), Replace from JSON (was About → Careful; own dialog), and
+ Import Markdown… (was ⋯ and About). Slides has no import; importing is the
+ document arriving as data, so it sits beside Replace from JSON, the one
+ command of that kind slides has. Slides' Copy compact JSON and Start from
+ scratch have no spaces equivalent and are not invented here.
+- **⋯ exists only once the bar has folded**, as slides' does, and holds what
+ slides' holds: the controls the bar gave up, in bar order, then the Save
+ list. This reverses the #563 reading that ⋯ was "a home at every width".
+- **Commands slides has no equivalent for go where slides puts one of their
+ kind.** New page, Today's journal, New issue: things you ADD, so the foot of
+ + Insert after a rule — slides' insert group ends on Comment, its one tool
+ that is not an element (the tour's Templates… joins them). Graph: a VIEW, so
+ a bar button beside Reading view. Print or save as PDF: slides' PDF button,
+ so a bar button in the same place. "Make this page an issue": acts on ONE
+ page, so the page's own ⋯ menu, where slides keeps what acts on one slide.
+ About: the wordmark, its only route in slides.
+- **About holds what slides' About holds**: the head, updates, the viewer's
+ appearance and language, then the file's numbers and the document's
+ properties (the tour's Design picker stays: it is a document property).
+
+Nothing was deleted. The rig walks every bar button, every bar menu row, the
+page menu and every About button on the #567 shell, and asserts each is still
+reachable at the same width — under its own name or slides' name for it
+(Set a password… → Encrypt with password…).
+
+**Kernel defaults that differ from slides'** (proposed to the kernel as
+defaults, so slides can adopt the kernel menu without changing its look):
+offset 6 → 4, list padding 5 → 4, row padding `7px 9px` → `6px 9px`, row gap
+9 → 6, row frame 0 → 1px transparent, row radius 7 → 8, icon ink `--muted` →
+row ink, min-width 200 → 150, shadow `0 12px 32px /.16` → `0 8px 24px /.14`,
+separator margin `4px 6px` → `3px 2px`, no pressed state → `--line`, a dark
+shadow of `0 8px 24px rgb(0 0 0 / .5)`, `.bkm-hint` 12px/1.35 with 2px above and
+an `aria-describedby` wiring from the row; row text
+not nowrap (a start-anchored list then shrinks to its min-width and wraps
+names); a scrolling list lets its 1px separators shrink to nothing. Dialog:
+frame 1px → none, padding `20px 22px` → 20px, shadow and scrim to slides'.
+
+## 2026-09-26 — D2 revised for the Save menu: one-line rows, the description as a tooltip
+
+**The maintainer's ruling:** "We can make the save menu even closer to slides,
+all the extra text describing the entry can be mouseovers."
+
+This revises D2 (descriptions visible on consequential menus) for **Save ▾
+only**. Its rows go back to one line — 30px, 12.5px/400, slides' `.ed-save-menu
+.ed-btn` — and what each row does becomes its hover tooltip: the native `title`
+on the row, as slides' Save rows (slides #573 made the same change).
+
+Accessibility is kept, not traded: the same text stays the row's accessible
+DESCRIPTION through `aria-describedby`, pointing at a visually hidden element
+inside the row (`.sp-vh`, slides' `.ed-sr-only` rules), while `aria-label`
+keeps the command's name alone. With `aria-describedby` present, `title` is not
+also announced as the description.
+
+**Touch has no hover, and slides has nothing for it** — a tooltip simply never
+appears under a finger in either app. So on a phone or tablet the description
+is available only to a screen reader. That is recorded rather than filled with
+new UI here; if it matters, it is a suite question (both apps at once).
+
+**Share keeps its drawn second line** (the ruling named the Save menu), in both
+apps. Next to it the two popovers now differ in density: Save is a list of
+one-line commands, Share a stack of described buttons. Share was already a
+different object (framed buttons, a form, a status line), so the difference
+reads as two kinds of surface rather than one inconsistency.
+
+`scripts/test-spaces-chrome.ts` holds every Save row to one 30px line whose
+`title` equals its `aria-describedby` text, that element ≤ 1×1 and inside the
+row, and the name alone as `aria-label`.
+
+## 2026-09-26 — D2 revised for Share too: one-line actions, the description as a tooltip
+
+**The maintainer's ruling, confirmed directly:** "Yes, share should be 1 line
+as well." It reached spaces first as a relay from the slides session (slides
+#573, 36465bf1), and the maintainer then confirmed it directly; this entry
+records it as the maintainer's own ruling.
+
+Share's actions take exactly the Save rows' shape (the entry above): one line,
+with the description as the native `title` on the action, the name alone as
+`aria-label`, and the description again as a visually hidden element inside
+the action, referenced by `aria-describedby`. The popover sits at slides'
+250px. This supersedes the previous entry's "Share keeps its drawn second line".
+
+So no surface opened from the bar draws a second-line description any more,
+in either app; D2's visible descriptions survive only in menus that are not
+the bar's (the page menu's width choices, "Make this page an issue").
+`scripts/test-spaces-chrome.ts` holds Save and Share to the same row-shape
+assertion, and walks Insert, Save, Language and Share for anything drawn.
+The touch caveat of the entry above applies to Share as well.
+
+## 2026-09-26 — Share's actions are plain menu rows
+
+**The maintainer's ruling, confirmed directly:** "Yes it's what I asked for."
+It first came as a relay from slides #573 (cea2fa26), where the maintainer is
+reported to have said the Share panel "looks a lot cleaner without" the boxes.
+
+Share's actions are menu rows like Save's — slides' `.ed-btn` in a menu:
+12.5px, one 30px line, `6px 9px` inside a transparent 1px frame, a hover fill
+(`--pop-hover`) and nothing at rest. There is no ink-filled primary on
+"Invite to edit…" any more. Adjacent action rows touch; the popover's other
+sections (your name, People, the status line) keep its 7px gap, and the rule
+before the session controls keeps 7px either side as slides' does. The boxed
+buttons (a 2026-07-20 choice in slides, so actions would not read as text among
+the notes) are retired: the SHARE A COPY caption and the icons do that job.
+
+`scripts/test-spaces-chrome.ts` asserts no fill or frame at rest, no primary,
+the Save rows' size and padding, and adjacent actions touching.
+
+
+The session action is labelled **"Go live"**, slides' own string, with slides'
+translations copied verbatim into all eight catalogs — the maintainer: "Use
+Slides as the reference, so we should say Go live as well." (It read "Start
+live session".) bento/dash still says "Start live session"; that is dash's to
+align.
+
+## 2026-09-26 — spaces' bar labels are slides' labels
+
+**The maintainer's ruling:** "yes, let's go with the recommendation you came
+up with on the labels". The rule behind it is the standing one: slides is the
+reference for spaces' chrome in look, organisation and wording.
+
+Where slides has the same control, spaces now uses slides' string, and its
+eight translations are copied verbatim from `slides/src/i18n/`. Checked
+against slides at #573's head:
+
+- the `?` sheet, its button and the ⋯ row: "Keyboard shortcuts" → "Shortcuts & tips";
+- the ⋯ trigger: "More" → "More actions";
+- the Print button and its ⋯ row: "Print or save as PDF" → "Export PDF (print)".
+ The dialog it opens keeps its own title, "Print or save as PDF", because
+ the dialog is where that choice is made. Slides has no dialog at this step.
+
+Where slides' string names the app or the document, spaces keeps slides'
+structure and puts in its own nouns. These are new strings, translated here:
+
+- the Save caret: "Other ways to save" → "Save as… — copy, new space, password";
+- the wordmark: "About this space" → "About bento/spaces — version, updates,
+ licenses". It is now also the mark's `aria-label`, as in slides, because the
+ word beside the mark is hidden at the tight tier;
+- the Save row: "Duplicate as a new space…" → "Duplicate as new space…".
+
+These are unchanged on purpose: "Remove password…" keeps its confirmation
+dialog, and "Properties" stays.
diff --git a/scripts/test-spaces-chrome.ts b/scripts/test-spaces-chrome.ts
index 23d1b275..5d3e62ad 100644
--- a/scripts/test-spaces-chrome.ts
+++ b/scripts/test-spaces-chrome.ts
@@ -109,6 +109,71 @@ ok(!!slidesFloor && !!slidesPhone &&
ok(/createTopbarFit\(bar,/.test(editor) && !/private fitTopbar\(/.test(editor),
'the editor fits its bar through topbar.ts, not a private hand-copy')
+// WHAT OPENS FROM THE BAR IS SLIDES' TOO. The menu's numbers are read out of
+// slides' stylesheet (`.ed-menu`, `.ed-btn`, `.ed-menu-sep`, `.ed-save-menu`),
+// and the browser half holds spaces' COMPUTED values to them — so the day
+// slides changes a menu, this rig says the two apps have parted.
+const block = (sel: string) => new RegExp(`\\n${sel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')} \\{([\\s\\S]*?)\\n\\}`).exec(slidesCss)?.[1] ?? ''
+const decl = (b: string, prop: string) => new RegExp(`(?:^|[;\\s])${prop}:\\s*([^;]+);`).exec(b)?.[1]?.trim()
+const edMenu = block('.ed-menu'), edBtn = block('.ed-btn')
+const slidesRoot = /\n:root, :root\[data-theme="light"\] \{([\s\S]*?)\n\}/.exec(slidesCss)?.[1] ?? ''
+const SLIDES_MENU = {
+ offset: /calc\(100% \+ (\d+px)\)/.exec(decl(edMenu, 'top') ?? '')?.[1],
+ pad: decl(edMenu, 'padding'),
+ radius: /\n\s*--radius:\s*([^;]+);/.exec(slidesCss)?.[1],
+ shadow: decl(edMenu, 'box-shadow'),
+ rowFont: decl(edBtn, 'font-size'),
+ rowPad: decl(edBtn, 'padding'),
+ rowGap: decl(edBtn, 'gap'),
+ rowRadius: decl(edBtn, 'border-radius'),
+ rowFrame: decl(edBtn, 'border'),
+ rowInk: /var\((--[a-z0-9-]+)\)/.exec(decl(edBtn, 'color') ?? '')?.[1],
+ sepMargin: /\.ed-menu-sep \{[^}]*margin:\s*([^;]+);/.exec(slidesCss)?.[1],
+ saveFont: /\.ed-save-menu \.ed-btn \{ font-size:\s*([^;]+);/.exec(slidesCss)?.[1],
+}
+SLIDES_MENU.rowInk = SLIDES_MENU.rowInk ? decl(slidesRoot, SLIDES_MENU.rowInk) : undefined
+// The keyboard ring (`.ed-btn:focus-visible` outside, `.ed-menu
+// .ed-btn:focus-visible` inside)
+const ringOut = /\n\.ed-btn:focus-visible[^{]*\{([^}]*)\}/.exec(slidesCss)?.[1] ?? ''
+const SLIDES_RING = {
+ outline: /outline:\s*([^;]+);/.exec(ringOut)?.[1]?.trim(),
+ outside: /outline-offset:\s*([^;]+);/.exec(ringOut)?.[1]?.trim(),
+ inside: /\n\.ed-menu \.ed-btn:focus-visible \{[^}]*outline-offset:\s*([^;]+);/.exec(slidesCss)?.[1]?.trim(),
+}
+// Stacked below slides #573, where slides gains the ring: until it lands, a
+// slides checkout without it is held to the kernel's ring, and the check says so.
+const hasRing = /\.ed-btn:focus-visible/.test(slidesCss)
+const ringRead = Object.values(SLIDES_RING).every(Boolean)
+if (!hasRing) Object.assign(SLIDES_RING, { outline: '2px solid var(--accent-ink)', outside: '2px', inside: '-2px' })
+ok(ringRead || !hasRing, `slides' keyboard ring is read from its stylesheet where it has it (${hasRing ? 'slides' : 'kernel ruling'}; ${JSON.stringify(SLIDES_RING)})`)
+const ringInk = /var\((--[a-z0-9-]+)\)/.exec(SLIDES_RING.outline ?? '')?.[1]
+ok(Object.values(SLIDES_MENU).every(Boolean), `slides' menu values can be read from its stylesheet (${JSON.stringify(SLIDES_MENU)})`)
+
+// THE SAVE MENU IS SLIDES' SAVE MENU: the document-level commands, in slides'
+// order wherever spaces has the same command. Slides' order is read from its
+// buildSaveAsItems; spaces' from doccmds.ts SAVE_ORDER, which the browser half
+// then holds the rendered menu to.
+const saveFn = slidesEd.slice(slidesEd.indexOf(' private buildSaveAsItems('), slidesEd.indexOf(' private fillPhoneSaveAs('))
+const slidesSave = [...saveFn.matchAll(/item\(ICONS\.\w+, t\('([^']+)'\)/g)].map((m) => m[1])
+const doccmds = read('doccmds.ts')
+const SAVE_ORDER: string[] = JSON.parse(('[' + (/export const SAVE_ORDER = \[([\s\S]*?)\]/.exec(doccmds)?.[1] ?? '') + ']').replace(/'/g, '"').replace(/,\s*\]$/, ']'))
+// spaces' command for each of slides' (null: spaces has none)
+const EQUIV: Record<string, string | null> = {
+ 'Save a copy…': 'Save a copy…', 'Duplicate as new deck…': 'Duplicate as new space…',
+ 'Export slides as images…': 'Export as Markdown…', 'Encrypt with password…': 'Encrypt with password…',
+ 'Change password…': null, 'Remove password': null,
+ 'Version history…': 'Version history…', 'Copy document JSON': 'Copy document JSON',
+ 'Copy compact JSON (for agents)': null, 'Replace from JSON…': 'Replace from JSON…', 'Start from scratch…': null,
+ // slides' way in from another format, in the slot spaces gives its own
+ 'Import PowerPoint…': 'Import Markdown…',
+}
+const unmapped = slidesSave.filter((l) => !(l in EQUIV))
+ok(slidesSave.length >= 9 && unmapped.length === 0, `every row of slides' Save menu has an entry in the equivalence table (${slidesSave.length} rows; new: ${unmapped.join(', ') || 'none'})`)
+const wantOrder = slidesSave.map((l) => EQUIV[l]).filter((x): x is string => !!x)
+const got = wantOrder.map((l) => SAVE_ORDER.indexOf(l))
+ok(got.every((i) => i >= 0) && got.every((i, k) => k === 0 || i > got[k - 1]),
+ `spaces' Save menu holds slides' document commands in slides' order (${wantOrder.join(' · ')} at ${got.join(',')})`)
+
// ————— browser half ————————————————————————————————————————————————————————
console.log('\nthe built shell, driven with trusted input\n')
const CHROME = [process.env.BENTO_CHROME, '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
@@ -198,6 +263,10 @@ async function browser(chrome: string, html: string): Promise<void> {
const TRIG = (label: string) => `[...document.querySelectorAll('.sp-bar button')].find(b => b.getAttribute('aria-label') === ${JSON.stringify(label)})`
const OPEN = `[...document.querySelectorAll('.bkm-open > .bkm-menu')].find(m => m.getBoundingClientRect().height > 0)`
+ // one row's shape: its height, whether a description is drawn, its tooltip,
+ // its accessible name, and where its accessible description lives
+ const ROWSHAPE = (rows: string, nameSel: string) => `(() => ${rows}.map(r => { const d = document.getElementById(r.getAttribute('aria-describedby') || ''); const dr = d?.getBoundingClientRect(); return { inside: !!d && r.contains(d), name: r.querySelector(${JSON.stringify(nameSel)})?.textContent, h: Math.round(r.getBoundingClientRect().height), drawn: !!r.querySelector('.bkm-hint'), title: r.title, aria: r.getAttribute('aria-label'), desc: d?.textContent ?? null, hidden: !!dr && dr.width <= 1 && dr.height <= 1 } }))()`
+ const rowOk = (r: any) => !r.drawn && !!r.title && r.title === r.desc && r.aria === r.name && r.hidden && r.inside
const FOCUSED = `(document.activeElement?.textContent || '').trim().slice(0, 30)`
// ——— desktop ———
@@ -206,22 +275,103 @@ async function browser(chrome: string, html: string): Promise<void> {
ok(await js(`document.visibilityState === 'visible' && document.querySelector('meta[name=generator]')?.content === 'bento-spaces'`),
'the page under test is the spaces shell, visible')
- await tap(TRIG('More'))
- const more = await js<any>(`(() => { const m = ${OPEN}; const t = ${TRIG('More')}; if (!m) return null; const r = m.getBoundingClientRect(); return { exp: t.getAttribute('aria-expanded'), role: m.getAttribute('role'), bottom: r.bottom, vh: innerHeight } })()`)
- ok(more && more.exp === 'true' && more.role === 'menu', `⋯ opens as a menu and says so (aria-expanded ${more?.exp}, role ${more?.role})`)
+ // ⋯ is slides' folded ⋯: absent from a bar that has room
+ ok(await js<boolean>(`!(${TRIG('More actions')}) || (${TRIG('More actions')}).getBoundingClientRect().width === 0`),
+ 'at 1440 there is no ⋯ — as in slides, it exists only once the bar folds')
+ const SAVEM = TRIG('Save as… — copy, new space, password')
+ await tap(SAVEM)
+ const more = await js<any>(`(() => { const m = ${OPEN}; const t = ${SAVEM}; if (!m) return null; const r = m.getBoundingClientRect(); return { exp: t.getAttribute('aria-expanded'), role: m.getAttribute('role'), bottom: r.bottom, vh: innerHeight } })()`)
+ ok(more && more.exp === 'true' && more.role === 'menu', `Save ▾ opens as a menu and says so (aria-expanded ${more?.exp}, role ${more?.role})`)
await key('ArrowDown', 0, 'ArrowDown')
const first = await js<string>(FOCUSED)
await key('ArrowDown', 0, 'ArrowDown')
const second = await js<string>(FOCUSED)
- ok(first.startsWith('New page') && second.startsWith("Today's journal"), `arrow keys walk the ⋯ rows ("${first}" → "${second}")`)
+ ok(first.startsWith('Save a copy') && second.startsWith('Duplicate as new space'), `arrow keys walk the Save rows ("${first}" → "${second}")`)
+ // the ring on a row reached by the keyboard is slides': --accent-ink, INSIDE
+ const rowRing = await js<any>(`(() => { const e = document.activeElement; const c = getComputedStyle(e); return { style: c.outlineStyle, w: c.outlineWidth, color: c.outlineColor, off: c.outlineOffset, want: getComputedStyle(document.documentElement).getPropertyValue(${JSON.stringify(ringInk)}).trim() } })()`)
+ const ringW = /(\d+px)/.exec(SLIDES_RING.outline ?? '')?.[1]
+ const hexOf = (rgb: string) => '#' + (rgb.match(/\d+/g) ?? []).slice(0, 3).map((n) => (+n).toString(16).padStart(2, '0')).join('')
+ ok(rowRing.style === 'solid' && rowRing.w === ringW && hexOf(rowRing.color) === rowRing.want && rowRing.off === SLIDES_RING.inside,
+ `a menu row's keyboard ring is slides': ${SLIDES_RING.outline}, offset ${SLIDES_RING.inside} (${JSON.stringify(rowRing)})`)
+ // SAVE AND SHARE ARE ONE LINE A ROW, as slides' (the maintainer's revisions
+ // of D2, 2026-09-26): what a row does is its hover tooltip (`title` on the
+ // row itself) and — for a screen reader — its accessible description via
+ // aria-describedby on an element that is not drawn, inside the row. The name
+ // alone is the accessible name.
+ const one = await js<any>(ROWSHAPE(`[...(${OPEN}).querySelectorAll('.bkm-item')]`, '.bkm-text'))
+ const bad = one.filter((r: any) => r.h !== 30 || !rowOk(r))
+ ok(one.length >= 9 && bad.length === 0,
+ `every Save row is one 30px line whose description is its tooltip and its hidden aria-describedby, the name alone its name (${one.length} rows${bad.length ? '; wrong: ' + JSON.stringify(bad.slice(0, 2)) : ''})`)
+
+ // …and it IS slides' Save menu: the rows, in order, and the rule where slides has it
+ const saveRows = await js<any>(`(() => { const m = ${OPEN}; return [...m.children].map(c => c.classList.contains('bkm-sep') ? '—' : (c.querySelector('.bkm-text')?.textContent ?? '')) })()`)
+ // in order; a build may carry more exports in the export slot (the tour's
+ // page-as-slides), so SAVE_ORDER must be an in-order subsequence
+ const shown = saveRows.filter((x: string) => x !== '—')
+ let seenAt = -1
+ const inOrder = SAVE_ORDER.every((l) => { const i = shown.indexOf(l); const okay = i > seenAt; seenAt = i; return okay })
+ const extra = shown.filter((l: string) => !SAVE_ORDER.includes(l))
+ ok(inOrder && extra.every((l: string) => /^Export /.test(l)),
+ `the Save menu renders the document commands in order (${saveRows.join(' · ')})`)
+ ok(saveRows.indexOf('—') === saveRows.indexOf('Version history…') - 1 && saveRows.indexOf('—') > saveRows.indexOf('Encrypt with password…'),
+ 'a rule sets the timeline and JSON rows apart from the file rows, where slides has its separator')
+
+ // …measured against slides' own stylesheet
+ const mm = await js<any>(`(() => { const m = ${OPEN}, t = ${SAVEM}; const c = getComputedStyle(m); const row = [...m.querySelectorAll('.bkm-item')].find(r => r.textContent.startsWith('Version history')); const rc = getComputedStyle(row); const tx = getComputedStyle(row.querySelector('.bkm-text')); const ico = getComputedStyle(row.querySelector('.bkm-ico')); const sep = getComputedStyle(m.querySelector('.bkm-sep'));
+ return { offset: Math.round(m.getBoundingClientRect().top - t.getBoundingClientRect().bottom) + 'px', pad: c.padding, radius: c.borderTopLeftRadius, shadow: c.boxShadow, rowFont: tx.fontSize, weight: tx.fontWeight, rowPad: rc.padding, rowGap: rc.columnGap, rowRadius: rc.borderTopLeftRadius, frame: rc.borderTopWidth + ' ' + rc.borderTopStyle, ink: tx.color, icoInk: ico.color, h: Math.round(row.getBoundingClientRect().height), sepMargin: sep.margin } })()`)
+ const nums = (x: string | undefined) => (x ?? '').match(/[\d.]+/g)?.map(Number).join(',') ?? ''
+ const hexRgb = (h: string | undefined) => { const x = (h ?? '').replace('#', ''); return `rgb(${parseInt(x.slice(0, 2), 16)}, ${parseInt(x.slice(2, 4), 16)}, ${parseInt(x.slice(4, 6), 16)})` }
+ const frameW = /(\d+px)/.exec(SLIDES_MENU.rowFrame ?? '')?.[1]
+ const want = { offset: SLIDES_MENU.offset, pad: SLIDES_MENU.pad, radius: SLIDES_MENU.radius, rowFont: SLIDES_MENU.saveFont, rowPad: SLIDES_MENU.rowPad, rowGap: SLIDES_MENU.rowGap, rowRadius: SLIDES_MENU.rowRadius, sepMargin: SLIDES_MENU.sepMargin }
+ const off = Object.entries(want).filter(([k, v]) => mm[k] !== v).map(([k, v]) => `${k} ${mm[k]} ≠ ${v}`)
+ // computed: "rgba(r, g, b, a) x y blur spread"; slides: "x y blur rgb(r g b / a)"
+ const cs = nums(mm.shadow).split(','), ss = nums(SLIDES_MENU.shadow).split(',')
+ if (cs.slice(0, 4).join() !== ss.slice(3, 7).join() || cs.slice(4, 7).join() !== ss.slice(0, 3).join()) off.push(`shadow ${mm.shadow} ≠ ${SLIDES_MENU.shadow}`)
+ if (mm.frame !== `${frameW} solid`) off.push(`frame ${mm.frame} ≠ ${SLIDES_MENU.rowFrame}`)
+ if (mm.ink !== hexRgb(SLIDES_MENU.rowInk) || mm.icoInk !== mm.ink) off.push(`ink ${mm.ink}/${mm.icoInk} ≠ ${SLIDES_MENU.rowInk}`)
+ if (mm.weight !== '400' || mm.h !== 30) off.push(`row ${mm.weight} ${mm.h}px, slides' is 400 30px`)
+ ok(off.length === 0, `the Save menu computes to slides' stylesheet values (.ed-save-menu .ed-btn) — offset, padding, corner, shadow, 30px rows at ${SLIDES_MENU.saveFont}/400 in ${SLIDES_MENU.rowInk}, separators (${off.join('; ') || JSON.stringify(mm)})`)
await key('Escape', 0, 'Escape')
- const afterEsc = await js<any>(`({ open: !!(${OPEN}), exp: (${TRIG('More')}).getAttribute('aria-expanded'), focus: document.activeElement === (${TRIG('More')}) })`)
- ok(!afterEsc.open && afterEsc.exp === 'false' && afterEsc.focus, `Escape closes ⋯, clears aria-expanded and puts focus back on its trigger (${JSON.stringify(afterEsc)})`)
+ const afterEsc = await js<any>(`({ open: !!(${OPEN}), exp: (${SAVEM}).getAttribute('aria-expanded'), focus: document.activeElement === (${SAVEM}) })`)
+ ok(!afterEsc.open && afterEsc.exp === 'false' && afterEsc.focus, `Escape closes Save ▾, clears aria-expanded and puts focus back on its trigger (${JSON.stringify(afterEsc)})`)
+ // …where a bar button's ring is drawn OUTSIDE, on the bar
+ const barRing = await js<any>(`(() => { const e = document.activeElement; const c = getComputedStyle(e); return { fv: e.matches(':focus-visible'), style: c.outlineStyle, w: c.outlineWidth, off: c.outlineOffset } })()`)
+ ok(barRing.fv && barRing.style === 'solid' && barRing.w === /(\d+px)/.exec(SLIDES_RING.outline ?? '')?.[1] && barRing.off === SLIDES_RING.outside,
+ `a bar button's keyboard ring is slides': outside, offset ${SLIDES_RING.outside} (${JSON.stringify(barRing)})`)
- await tap(TRIG('More'))
+ // …and every Share action is the same row: one 30px line, its description
+ // the tooltip and the hidden aria-describedby (slides #573)
+ await tap(`document.querySelector('.sp-bar .sp-live')`)
+ const acts = await js<any>(ROWSHAPE(`[...document.querySelectorAll('.sp-pop .sp-paction')]`, '.sp-paction-name'))
+ const badActs = acts.filter((r: any) => r.h !== 30 || !rowOk(r))
+ ok(acts.length >= 3 && badActs.length === 0,
+ `every Share action is one 30px line whose description is its tooltip and its hidden aria-describedby, the name alone its name (${acts.length} actions${badActs.length ? '; wrong: ' + JSON.stringify(badActs.slice(0, 2)) : ''})`)
+ // …a plain menu row as slides' (#573): nothing at rest — no fill, no frame,
+ // no filled primary — at the Save rows' size, and adjacent rows touching
+ const plain = await js<any>(`(() => { const rows = [...document.querySelectorAll('.sp-pop .sp-paction')]; const save = null; const out = rows.map(r => { const c = getComputedStyle(r); return { bg: c.backgroundColor, frame: c.borderTopColor, font: c.fontSize, pad: c.padding } }); const touch = rows.every((r, i) => { const n = rows[i + 1]; return !n || n.previousElementSibling !== r || Math.round(n.getBoundingClientRect().top - r.getBoundingClientRect().bottom) === 0 }); return { out, touch } })()`)
+ const loud = plain.out.filter((r: any) => r.bg !== 'rgba(0, 0, 0, 0)' || r.frame !== 'rgba(0, 0, 0, 0)' || r.font !== SLIDES_MENU.saveFont || r.pad !== SLIDES_MENU.rowPad)
+ ok(loud.length === 0 && plain.touch,
+ `Share's actions are plain rows — no fill or frame at rest, no primary, ${SLIDES_MENU.saveFont} in ${SLIDES_MENU.rowPad}, adjacent rows touching (${loud.length ? JSON.stringify(loud[0]) : 'ok'}; touch ${plain.touch})`)
+ await key('Escape', 0, 'Escape')
+
+ // NO TOP-BAR SURFACE DRAWS A SECOND-LINE DESCRIPTION. Open each of them and
+ // look for one: a kernel hint, or any described row whose description is
+ // painted bigger than a pixel.
+ const drawn: string[] = []
+ const DRAWN = `(() => { const out = []; const scope = [...document.querySelectorAll('.bkm-open > .bkm-menu, .sp-pop')].filter(e => e.getBoundingClientRect().height > 0); for (const m of scope) { for (const h of m.querySelectorAll('.bkm-hint')) if (h.getBoundingClientRect().height > 1) out.push('hint: ' + h.textContent.slice(0, 30)); for (const r of m.querySelectorAll('[aria-describedby]')) { const d = document.getElementById(r.getAttribute('aria-describedby')); const b = d?.getBoundingClientRect(); if (b && (b.width > 1 || b.height > 1)) out.push('drawn: ' + d.textContent.slice(0, 30)) } } return out })()`
+ for (const trig of ['Insert a block — text, headings, lists, code, images', 'Save as… — copy, new space, password', 'Language']) {
+ await tap(TRIG(trig)); drawn.push(...(await js<string[]>(DRAWN)).map((x) => `${trig.split(' ')[0]} ${x}`)); await key('Escape', 0, 'Escape')
+ }
+ await tap(`document.querySelector('.sp-bar .sp-live')`); drawn.push(...(await js<string[]>(DRAWN)).map((x) => `Share ${x}`)); await key('Escape', 0, 'Escape')
+ ok(drawn.length === 0, `no surface opened from the bar draws a second-line description — Insert, Save, Language, Share (${drawn.join('; ') || 'none'})`)
+
+ await tap(SAVEM)
await tap(`[...document.querySelectorAll('.sp-bar button')].find(b => (b.getAttribute('aria-label') || '').startsWith('Insert'))`)
const exclusive = await js<number>(`document.querySelectorAll('.bkm-open').length`)
- ok(exclusive === 1, `opening Insert shuts ⋯ — one menu open at a time (${exclusive} open)`)
+ ok(exclusive === 1, `opening Insert shuts Save ▾ — one menu open at a time (${exclusive} open)`)
+ const im = await js<any>(`(() => { const m = ${OPEN}; const row = [...m.querySelectorAll('.bkm-item')][0]; const kids = [...m.children]; const sep = kids.findIndex(c => c.classList.contains('bkm-sep')); return { font: getComputedStyle(row.querySelector('.bkm-text')).fontSize, h: Math.round(row.getBoundingClientRect().height), tail: kids.slice(sep + 1, sep + 4).map(r => r.querySelector('.bkm-text')?.textContent) } })()`)
+ ok(im.font === SLIDES_MENU.rowFont && im.h === 30, `Insert's rows are slides' command rows, ${SLIDES_MENU.rowFont} and 30px (${im.font}, ${im.h}px)`)
+ ok(JSON.stringify(im.tail) === JSON.stringify(['New page', "Today's journal", 'New issue']), `+ Insert ends, after a rule, on the pages you can add (${im.tail.join(' · ')})`)
const ins = await js<any>(`(() => { const r = (${OPEN}).getBoundingClientRect(); return { bottom: Math.round(r.bottom), vh: innerHeight } })()`)
ok(ins.bottom <= ins.vh, `the Insert menu fits a 1440×900 window (bottom ${ins.bottom} ≤ ${ins.vh}; it ran to 910 before)`)
await click(900, 700)
@@ -299,19 +449,17 @@ async function browser(chrome: string, html: string): Promise<void> {
ok(!/rgba\(0, 0, 0, 0\)/.test(about.frame), `a dialog's secondary button has a visible frame (${about.frame})`)
await key('Escape', 0, 'Escape')
- // D3: a refusal is a notice the reader sees, not a whisper in the bar
- await tap(TRIG('More'))
- await tap(`[...document.querySelectorAll('.bkm-open .bkm-item')].find(b => b.textContent.startsWith('Make this page an issue'))`)
- await tap(TRIG('More'))
- await tap(`[...document.querySelectorAll('.bkm-open .bkm-item')].find(b => b.textContent.startsWith('Make this page an issue'))`)
+ // D3: an outcome is a notice the reader sees, not a whisper in the bar —
+ // Copy document JSON from Save ▾ says whether the clipboard took it
+ await tap(SAVEM)
+ await tap(`[...document.querySelectorAll('.bkm-open .bkm-item')].find(b => b.textContent.startsWith('Copy document JSON'))`)
const note = await js<any>(`(() => { const n = document.querySelector('.sp-notice.sp-on'); if (!n) return null; const r = n.getBoundingClientRect(); return { text: n.textContent, role: n.getAttribute('role'), cr: ${CONTRAST}(n), z: +getComputedStyle(n).zIndex, onScreen: r.bottom <= innerHeight && r.top > innerHeight / 2 } })()`)
- ok(note && note.role === 'status' && note.cr >= 4.5 && note.z > 1000 && note.onScreen,
- `a refusal ("Already an issue") arrives as a notice: announced, legible, above dialogs, at the foot of the window (${JSON.stringify(note)})`)
- await js(`window.bento.undo(); 1`)
+ ok(note && note.role === 'status' && note.cr >= 4.5 && note.z > 1000 && note.onScreen && /JSON copied|clipboard/.test(note.text),
+ `an outcome ("Document JSON copied" / the clipboard refusing) arrives as a notice: announced, legible, above dialogs, at the foot of the window (${JSON.stringify(note)})`)
// ——— dialogs: the kernel's ———
const MODAL = `[...document.querySelectorAll('[aria-modal="true"]')].find(d => d.getBoundingClientRect().height > 0)`
- await tap(TRIG('More'))
+ await tap(SAVEM)
await tap(`[...document.querySelectorAll('.bkm-open .bkm-item')].find(b => b.textContent.startsWith('Import Markdown'))`)
const title = await js<any>(`(() => { const d = ${MODAL}; const h = d && d.querySelector('.bkd-title'); if (!h) return null; const c = getComputedStyle(h); return { text: h.textContent, size: c.fontSize, weight: c.fontWeight, labelled: document.getElementById(d.getAttribute('aria-labelledby') || '') === h } })()`)
ok(title && title.size === '17px' && title.weight === '650' && title.labelled,
@@ -373,7 +521,7 @@ async function browser(chrome: string, html: string): Promise<void> {
return { small: bs.filter(b => b.w < 44 || b.h < 44), save: { w: Math.round(save.width), h: Math.round(save.height) } } })()`)
ok(bar.small.length === 0, `every phone bar control is a 44px target (D5) (too small: ${JSON.stringify(bar.small)})`)
ok(bar.save.w === bar.save.h, `phone Save is a square icon button, not a slab (${bar.save.w}×${bar.save.h}; 66×40 before)`)
- await tap(TRIG('More'))
+ await tap(TRIG('More actions'))
const ph = await js<any>(`(() => { const m = ${OPEN}; const r = m.getBoundingClientRect(); const rows = [...m.querySelectorAll('.bkm-item')]; return { bottom: r.bottom, vh: innerHeight, n: rows.length, minH: Math.min(...rows.map(x => x.getBoundingClientRect().height)), scrolls: m.scrollHeight > m.clientHeight } })()`)
ok(ph.bottom <= ph.vh, `the phone ⋯ menu ends inside the screen (bottom ${Math.round(ph.bottom)} ≤ ${ph.vh}; 1003 before)`)
ok(ph.minH >= 44, `every phone menu row is a 44px target (smallest ${ph.minH.toFixed(1)}px)`)
@@ -421,7 +569,7 @@ async function browser(chrome: string, html: string): Promise<void> {
// Help: `?` in the bar opens the shortcut sheet
await tap(`document.querySelector('.sp-bar .sp-help')`)
const help = await js<string | null>(`(() => { const d = [...document.querySelectorAll('[aria-modal="true"]')].find(d => d.getBoundingClientRect().height > 0); return d?.querySelector('.bkd-title')?.textContent ?? null })()`)
- ok(help === 'Keyboard shortcuts', `the bar's ? opens the keyboard shortcuts (${help})`)
+ ok(help === 'Shortcuts & tips', `the bar's ? opens Shortcuts & tips (${help})`)
await key('Escape', 0, 'Escape')
// Every control, at every width, can be reached and pressed: on screen (the
@@ -483,15 +631,73 @@ async function browser(chrome: string, html: string): Promise<void> {
await send('Emulation.setDeviceMetricsOverride', { width: 320, height: 844, deviceScaleFactor: 2, mobile: true })
await send('Emulation.setTouchEmulationEnabled', { enabled: true, maxTouchPoints: 5 })
await sleep(250)
- const moreAt = await js<any>(`(() => { const bar = ${BAR}; const b = ${TRIG('More')}; if (/auto|scroll/.test(getComputedStyle(bar).overflowX)) bar.scrollLeft = bar.scrollWidth; const r = b.getBoundingClientRect(); return { x: r.x + r.width / 2, y: r.y + r.height / 2, on: r.right <= innerWidth } })()`)
+ const moreAt = await js<any>(`(() => { const bar = ${BAR}; const b = ${TRIG('More actions')}; if (/auto|scroll/.test(getComputedStyle(bar).overflowX)) bar.scrollLeft = bar.scrollWidth; const r = b.getBoundingClientRect(); return { x: r.x + r.width / 2, y: r.y + r.height / 2, on: r.right <= innerWidth } })()`)
await click(moreAt.x, moreAt.y)
- const se = await js<any>(`(() => { const m = ${OPEN}; if (!m) return null; const r = m.getBoundingClientRect(); const rows = [...m.querySelectorAll('.bkm-item')]; const f = rows[0].getBoundingClientRect(); const hit = document.elementsFromPoint(f.x + f.width / 2, f.y + f.height / 2)[0]; return { left: Math.round(r.left), right: Math.round(r.right), vw: innerWidth, first: rows[0].contains(hit), lang: rows.some(x => x.textContent.trim() === 'Language'), help: rows.some(x => x.textContent.trim().startsWith('Keyboard shortcuts')) } })()`)
+ const se = await js<any>(`(() => { const m = ${OPEN}; if (!m) return null; const r = m.getBoundingClientRect(); const rows = [...m.querySelectorAll('.bkm-item')]; const live = rows.find(x => x.getAttribute('aria-disabled') !== 'true'); const f = live.getBoundingClientRect(); const hit = document.elementsFromPoint(f.x + f.width / 2, f.y + f.height / 2)[0]; return { left: Math.round(r.left), right: Math.round(r.right), vw: innerWidth, first: live.contains(hit), lang: rows.some(x => x.textContent.trim() === 'Language'), help: rows.some(x => x.textContent.trim().startsWith('Shortcuts & tips')) } })()`)
ok(se && moreAt.on && se.left >= 0 && se.right <= se.vw && se.first && se.lang && se.help,
- `at 320px ⋯ opens on screen, its rows pressable, carrying Language and Keyboard shortcuts (${JSON.stringify(se)})`)
+ `at 320px ⋯ opens on screen, its rows pressable, carrying Language and Shortcuts & tips (${JSON.stringify(se)})`)
await tap(`[...(${OPEN}).querySelectorAll('.bkm-item')].find(b => b.textContent.trim() === 'Language')`)
const sheet2 = await js<any>(`(() => { const m = ${OPEN}; if (!m) return null; const rows = [...m.querySelectorAll('.bkm-item')]; const r = m.getBoundingClientRect(); return { n: rows.length, onScreen: r.top >= 0 && r.bottom <= innerHeight, on: rows.filter(x => x.getAttribute('aria-checked') === 'true').length } })()`)
ok(sheet2 && sheet2.n >= 8 && sheet2.onScreen && sheet2.on === 1, `⋯ → Language opens the same list, on screen (${JSON.stringify(sheet2)})`)
await key('Escape', 0, 'Escape')
+
+ // ——— NOTHING WAS DELETED, ONLY MOVED ———
+ // The commands reachable from the bar BEFORE the Save menu took slides'
+ // order, captured on the shell built from spaces-topbar (#567) by the same
+ // walk as below: every bar button, every row of every bar menu, the page's
+ // own menu and every button in About, at 1440 and at 390. Each must still be
+ // reachable at the same width — under its own name, or under the name
+ // slides gives the same command.
+ const BEFORE_BOTH = ['About this space', 'Insert a block', 'Search all pages', 'Not sharing yet', 'Save',
+ 'Text', 'Heading 1', 'Heading 2', 'Heading 3', 'Bulleted list', 'Numbered list', 'To-do', 'Toggle', 'Callout',
+ 'Quote', 'Code', 'Divider', 'Table', 'Link to page', 'Link to the web', 'Board or list', 'Canvas', 'Image',
+ 'Video or audio', 'Save a copy…', 'Export as Markdown…', 'Export page as a space…',
+ 'New page', "Today's journal", 'New issue', 'Make this page an issue', 'Import Markdown…', 'Graph',
+ 'Print or save as PDF', 'Rename', 'New page inside', 'Comment on this page', 'Archive', 'Column', 'Wide',
+ 'Full width', 'Use this width for every page', 'Delete…', 'Check for updates', 'Set a password…',
+ 'Copy document JSON', 'Export as Markdown', 'Duplicate as a new space…', 'Replace from JSON…', 'Close',
+ 'Undo', 'Redo', 'Reading view', 'Properties', 'Language', 'Keyboard shortcuts']
+ const BEFORE: Record<number, string[]> = {
+ // (the ⋯ trigger itself was also there; it is a container, not a
+ // command — slides has none at this width — and every row it held is
+ // checked here in its new home)
+ 1440: [...BEFORE_BOTH, 'Other ways to save',
+ 'English', '日本語', '简体中文', '繁體中文', 'Español', 'Français', 'Deutsch', 'Italiano', 'Português'],
+ 390: [...BEFORE_BOTH, 'Pages', 'More'],
+ }
+ // renamed to slides' word for the same command
+ const ALIAS: Record<string, string> = { 'Set a password…': 'Encrypt with password…', 'Export as Markdown': 'Export as Markdown…',
+ // slides' labels, adopted 2026-09-26 (the walk keeps a name up to its first " (" or " — ")
+ 'About this space': 'About bento/spaces', 'Keyboard shortcuts': 'Shortcuts & tips', 'More': 'More actions',
+ 'Other ways to save': 'Save as…', 'Print or save as PDF': 'Export PDF', 'Duplicate as a new space…': 'Duplicate as new space…' }
+ const WALK = `(async () => {
+ const sleep = (ms) => new Promise((r) => setTimeout(r, ms))
+ const vis = (e) => { const r = e.getBoundingClientRect(); if (r.width < 1 || r.height < 1) return false; for (let n = e; n; n = n.parentElement) { const c = getComputedStyle(n); if (c.display === 'none' || c.visibility === 'hidden') return false } return true }
+ const name = (s) => s.split(' (')[0].split(' — ')[0].trim()
+ const esc = () => document.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true }))
+ const out = {}
+ const add = (where, label) => { label = name(label); if (label && !out[label]) out[label] = where }
+ const bar = document.querySelector('.sp-bar')
+ for (const b of bar.querySelectorAll('button')) if (vis(b) && !b.closest('.bkm-menu')) add('bar', b.getAttribute('aria-label') || b.title || b.textContent)
+ for (const tr of [...bar.querySelectorAll('.bkm > .bkm-trigger')].filter(vis)) {
+ tr.click(); await sleep(60)
+ for (const r of tr.parentElement.querySelector(':scope > .bkm-menu').querySelectorAll('.bkm-item')) add('menu', r.querySelector('.bkm-text')?.textContent || '')
+ esc(); await sleep(60)
+ }
+ const more = document.querySelector('.sp-treelink.sp-here .sp-rowmore')
+ if (more) { more.click(); await sleep(80); const m = [...document.querySelectorAll('.sp-mn-anchored .bkm-menu')].pop(); if (m) for (const r of m.querySelectorAll('.bkm-item')) add('page menu', r.querySelector('.bkm-text')?.textContent || ''); esc(); await sleep(60) }
+ document.querySelector('.sp-mark').click(); await sleep(250)
+ const d = [...document.querySelectorAll('[aria-modal="true"]')].pop()
+ if (d) for (const b of d.querySelectorAll('button')) add('About', b.textContent)
+ esc(); await sleep(100)
+ return out
+ })()`
+ for (const w of [1440, 390]) {
+ await open(w < 700)
+ const now = await js<Record<string, string>>(WALK)
+ const lost = BEFORE[w].filter((c) => !((ALIAS[c] ?? c) in now))
+ ok(lost.length === 0, `at ${w}px every command reachable before is reachable now (${BEFORE[w].length} checked${lost.length ? '; LOST: ' + lost.join(', ') : ''})`)
+ }
ws.close()
} finally {
try { child.kill('SIGKILL') } catch { /* gone */ }
diff --git a/scripts/test-spaces-model.ts b/scripts/test-spaces-model.ts
index 2ea365e4..df2955f5 100644
--- a/scripts/test-spaces-model.ts
+++ b/scripts/test-spaces-model.ts
@@ -392,7 +392,9 @@ for (const [label, input, err] of [
{
const fs = await import('node:fs')
const main = fs.readFileSync(new URL('../spaces/src/main.ts', import.meta.url), 'utf8')
- const about = fs.readFileSync(new URL('../spaces/src/about.ts', import.meta.url), 'utf8')
+ // the password and the timeline are Save-menu commands now (doccmds.ts),
+ // as slides keeps them; About no longer holds either
+ const about = fs.readFileSync(new URL('../spaces/src/doccmds.ts', import.meta.url), 'utf8')
// the debounce body must stand down when encryption is on
const guarded = /if \(isEncryptionActive\(\)\) return[\s\S]{0,200}?putRecovery/.test(main)
@@ -417,11 +419,11 @@ for (const [label, input, err] of [
// The restore has to go through replaceDoc: it is the one path that
// checkpoints undo first, which is what makes the note "Restoring is
// undoable" true rather than reassuring.
- ok(/listVersions\(/.test(about), 'About reads the timeline')
+ ok(/listVersions\(/.test(about), 'Version history… reads the timeline')
// (through restoreInto since the restore gate: the stored entry is foreign
// input, gated first — restoregate.ts — and then handed to replaceDoc)
const gate = fs.readFileSync(new URL('../spaces/src/restoregate.ts', import.meta.url), 'utf8')
- ok(/restoreInto\(store, v\.json\)/.test(about) && /store\.replaceDoc\(g\.doc\)/.test(gate),
+ ok(/restoreInto\(h\.store, v\.json\)/.test(about) && /store\.replaceDoc\(g\.doc\)/.test(gate),
'…and restores through replaceDoc, so ⌘Z walks it back')
}
@@ -475,7 +477,7 @@ for (const [label, input, err] of [
ok(/openHelp\(\): void/.test(ed), 'there is a shortcut list')
ok(/e\.key === '\?' && !isTyping\(\)/.test(ed),
"…opened by ? , behind the same isTyping guard as [ and ] (it is a character people type)")
- ok(/label: t\('Keyboard shortcuts'\)/.test(ed),
+ ok(/label: t\('Shortcuts & tips'\)/.test(ed),
'…and reachable from the menu, not only by the key it documents')
// Pull the ⌘-letters out of the overlay's own table and demand a binding for
@@ -833,17 +835,15 @@ for (const [label, input, err] of [
const ed = fs.readFileSync(new URL('../spaces/src/editor.ts', import.meta.url), 'utf8')
const css = fs.readFileSync(new URL('../spaces/src/styles.css', import.meta.url), 'utf8')
- // TWO lists now, and the split is the point. Everything used to be one list
- // rendered BOTH inline and into ⋯ unconditionally, so on a desktop half of ⋯
- // pointed at buttons already on screen. What still must not happen is a ⋯
- // menu maintained BY HAND as a copy of the row — so each list is declared
- // once and ⋯ takes the inline one only when the bar has actually dropped it.
+ // ONE list for the bar's secondary row, rendered inline and — once the bar
+ // has folded — into ⋯, which is then the only place it is visible (⋯ exists
+ // only folded, as slides' does: DECISIONS 2026-09-26). A ⋯ maintained BY
+ // HAND as a copy of the row is what must not come back.
ok(/const barActions: BarAction\[\]/.test(ed), 'the bar actions are declared as one typed list')
- ok(/const menuActions: BarAction\[\]/.test(ed), '…the ⋯-only actions as another')
+ ok(!/const menuActions: BarAction\[\]/.test(ed), '…and there is no second, ⋯-only list any more (its rows moved to Insert, Save, the bar and the page menu)')
ok(/barActions\.map\(/.test(ed), '…the inline row is built from the bar list')
- ok(/for \(const a of menuActions\)/.test(ed), '…⋯ always carries the menu-only actions')
- ok(/const folded = this\.isFolded\(\)/.test(ed) && /if \(folded\) \{\s*\n\s*for \(const a of barActions\)/.test(ed),
- '…and picks up the bar list ONLY once folded, or ⋯ duplicates the visible row')
+ ok(/for \(const a of barActions\) row\(m,/.test(ed), '…and folded ⋯ is built from the same list')
+ ok(/saveList\(m\)/.test(ed) && /fill: saveList/.test(ed), '…and ends on the Save list, the same function the caret fills from')
// WHICH TIER a rule lives in is the thing worth pinning — but the tiers are
// no longer px media queries. They were (820 and 600), and the numbers moved
@@ -865,12 +865,11 @@ for (const [label, input, err] of [
ok(inTier('compact', /\.sp-primary span\.sp-savelabel \{ display: none/), "…including Save's")
ok(inTier('tight', /\.sp-mark-word \{ display: none/), 'tight drops the wordmark, keeping the mark')
ok(inTier('fold', /\.sp-sec \{ display: none/), 'fold moves the secondary row into ⋯')
- // ⋯ is no longer fold-only: it is the home of the once-a-session commands, so
- // gating it on the fold would put New page, the journal, import, print and
- // About out of a desktop user's reach entirely.
- ok(/^\.sp-more \{ display: inline-flex/m.test(css),
- '⋯ is in the bar at EVERY width, being a home and not only an overflow')
- ok(!/\.sp-bar-fold \.sp-more \{ display/.test(css), '…so it is not gated on the fold any more')
+ // ⋯ is fold-only again, as slides': its once-a-session rows now live where
+ // slides keeps their kind (Insert, Save ▾, the bar, the page menu, About on
+ // the mark), so a desktop ⋯ would only duplicate them.
+ ok(/^\.sp-bar \.sp-more \{ display: none; \}/m.test(css) && /^\.sp-bar\.sp-bar-fold \.sp-more \{ display: inline-flex; \}/m.test(css),
+ '⋯ exists only once the bar has folded, as slides\' does')
// The mark STAYS when folded, as slides' does (DECISIONS 2026-09-26, which
// reverses the 2026-08-10 line that gave it up on a phone).
ok(!/\.sp-bar-fold \.sp-mark \{ display: none/.test(css), '…but the mark stays in the corner, as slides\' does')
@@ -911,16 +910,16 @@ for (const [label, input, err] of [
// written down a second time, and the comment beside it admitted as much;
// when the two disagreed the symptom was a menu offering Undo while Undo sat
// in the bar two centimetres away.
- ok(/isFolded\(\): boolean \{[\s\S]{0,160}?classList\.contains\('sp-bar-fold'\)/.test(ed),
- 'isFolded() reads the tier off the bar instead of re-deriving it from a width')
+ ok(!/isFolded\(\)/.test(ed),
+ 'nothing re-derives the fold: ⋯ is visible only in the fold tier, so what it holds needs no test of it')
// Comments STRIPPED before this one: the doc comment above isFolded quotes
// the expression it replaced, and an assertion that reads prose is an
// assertion that fails when somebody explains themselves.
const edCode = ed.replace(/\/\*[\s\S]*?\*\//g, '').replace(/^\s*\/\/.*$/gm, '')
ok(!/matchMedia\('\(max-width: 600px\)'\)/.test(edCode),
'no phone breakpoint is duplicated in the editor CODE')
- ok(/if \(folded\) \{[\s\S]{0,400}?label: t\('Undo'\)[\s\S]{0,300}?label: t\('Redo'\)/.test(ed),
- '…and the ⋯ menu picks up undo/redo exactly when the bar has folded them away')
+ ok(/className: 'sp-more'[\s\S]{0,900}?label: t\('Undo'\)[\s\S]{0,300}?label: t\('Redo'\)/.test(ed),
+ '…and the ⋯ menu carries undo/redo, which the fold takes out of the bar')
// the bar must never become a scroller — that hides the same controls, just
// less honestly, and it is the fix everyone reaches for first
@@ -929,7 +928,7 @@ for (const [label, input, err] of [
// a menu opened from the right end must open inward
// (the kernel menu's `alignEnd` is what opens it inward — kernel/src/ui/menu.css .bkm-end)
- ok(/tip: t\('More'\), end: true/.test(ed) && /tip: t\('Other ways to save'\), end: true/.test(ed),
+ ok(/tip: t\('More actions'\), end: true/.test(ed) && /tip: t\('Save as… — copy, new space, password'\), end: true/.test(ed),
'both right-end menus open inward (the kernel menu\'s alignEnd)')
}
diff --git a/scripts/test-spaces-restore-gate.ts b/scripts/test-spaces-restore-gate.ts
index d0f63ddf..e9dc558c 100644
--- a/scripts/test-spaces-restore-gate.ts
+++ b/scripts/test-spaces-restore-gate.ts
@@ -220,11 +220,14 @@ console.log('\nevery restore path uses the gate\n')
{
const root = process.cwd()
const main = readFileSync(join(root, 'spaces/src/main.ts'), 'utf8')
- const about = readFileSync(join(root, 'spaces/src/about.ts'), 'utf8')
+ // History lives under Save ▾ (doccmds.ts, which reaches the store as h.store)
+ // since the bar-parity move; About is read too so neither file can regress.
+ const about = readFileSync(join(root, 'spaces/src/about.ts'), 'utf8') +
+ readFileSync(join(root, 'spaces/src/doccmds.ts'), 'utf8')
const offer = main.slice(main.indexOf('async function offerRecovery('), main.indexOf('async function offerRecovery(') + 1400)
ok(/recoveryOffered\(snap\.json, doc\)/.test(offer), 'the recovery check gates before offering')
ok(/restoreInto\(store, snap\.json\)/.test(offer), 'the banner\'s Restore goes through restoreInto')
- ok(/restoreInto\(store, v\.json\)/.test(about), 'History\'s Restore goes through restoreInto')
+ ok(/restoreInto\((h\.)?store, v\.json\)/.test(about), 'History\'s Restore goes through restoreInto')
ok(!/JSON\.parse\((snap|v)\.json\)/.test(main + about), 'no raw JSON.parse of a stored entry remains')
}
diff --git a/spaces/CHANGELOG.md b/spaces/CHANGELOG.md
index 218ea27c..773802c1 100644
--- a/spaces/CHANGELOG.md
+++ b/spaces/CHANGELOG.md
@@ -630,6 +630,47 @@ Versions follow `0.MINOR.PATCH` while pre-1.0.
- **Fixed:** changing the language in About took the Share button out of the
bar until you reloaded.
+- **Everything that opens from the top bar is slides' too.** Menus, the Share
+ popover, the dialogs, the shortcut sheet, the notice pill and the update
+ chip now take slides' measurements: 30px menu rows in 13px regular type (the
+ Save menu 12.5px, as in slides), the icons in the same ink as the words,
+ hairline separators, a 4px gap under the button, slides' shadow, and in dark
+ mode slides' slightly lighter menu surface. The Save button and its caret are
+ slides' primary split, pixel for pixel, at every width.
+ - **The Save menu holds everything that acts on the file, in slides'
+ order.** Save a copy, Duplicate as a new space, the Markdown and page
+ exports, Encrypt with password (Change or Remove once set), then Version
+ history, Copy document JSON, Replace from JSON and Import Markdown. Most of
+ these used to be sections of the About dialog; About now holds what slides'
+ About holds — the version and updates, your appearance and language, the
+ file's numbers and the document's properties.
+ - **Encrypt with password asks twice**, in a dialog, instead of a single
+ browser prompt; Version history and Replace from JSON open as their own
+ dialogs.
+ - **⋯ appears only when the bar is too narrow**, as in slides, and then holds
+ the buttons the bar gave up followed by the Save menu. Its other rows moved
+ to where slides keeps their kind: New page, Today's journal and New issue
+ to the foot of + Insert; Graph and Print to the bar beside Reading view;
+ "Make this page an issue" to the page's own ⋯ menu; About to the wordmark.
+ - **The Share popover is laid out as slides' is**: your name on one line,
+ People, the connection line in amber or green, Share a copy, then the
+ session controls — its actions plain one-line rows like the Save menu's.
+ - **An update found at launch shows slides' peach version chip** beside the
+ wordmark and says so once; clicking it opens About on a fresh check.
+ - **Every Save row and Share action says what it does** in its hover
+ tooltip, as slides' do, and a screen reader announces it as the row's
+ description. The
+ Save list scrolls under the bar on a short window instead of running off
+ it, menus cast a deeper shadow in dark mode, and a keyboard focus ring
+ in the accent colour marks where you are in the bar, menus and dialogs.
+
+- **The bar's labels are slides' labels.** The `?` button and its sheet are
+ "Shortcuts & tips", ⋯ is "More actions", Print is "Export PDF (print)", the
+ Save caret reads "Save as… — copy, new space, password", the wordmark reads
+ "About bento/spaces — version, updates, licenses", and the Save row is
+ "Duplicate as new space…". The translations are slides' own wherever slides
+ has the same string.
+
## [0.1.0] — 2026-08-03
First release.
diff --git a/spaces/src/about.ts b/spaces/src/about.ts
index 0bceaee5..80ce0b64 100644
--- a/spaces/src/about.ts
+++ b/spaces/src/about.ts
@@ -33,22 +33,16 @@ import {
APP_VERSION, type ReleaseInfo, type UpdateCheck, type InPlaceOutcome,
} from '../../kernel/src/update.ts'
import {
- setEncryptionPassword, isEncryptionActive,
canWriteInPlace, openedFileName,
} from '../../kernel/src/save.ts'
-import { clearVersions, clearRecovery, listVersions, type Snapshot } from '../../kernel/src/autosave.ts'
import { createDialog, type Dialog } from '../../kernel/src/ui/dialog.ts'
import '../../kernel/src/ui/dialog.css'
import { t, localeChoices, locale, setLocale } from './i18n'
import { appearanceSection } from './appearance'
import { esc, textOf } from './sanitize'
-import { docForExport } from './model'
-import { duplicateAsNew } from './share.ts'
import { htmlToMd } from './marks.ts'
import { humanBytes } from './assets'
import { SPEC, mdLayout, type MdCtx } from './blocks'
-import { parseDoc, uid } from './model'
-import { restoreInto } from './restoregate'
import {
issuesOf, passesFilter, sortRows, fieldByKey, optionOf, fieldsOf,
} from './fields'
@@ -58,28 +52,10 @@ import type { Block, SpacesDoc } from './model'
export interface AboutHooks {
store: Store
onRepaint: () => void
- /**
- * "Save a copy…", supplied by the caller.
- *
- * NOT saveFile(doc, true) here. That path assigns the picked handle to the
- * kernel's in-place handle, so every later ⌘S writes to the copy — the bug
- * fixed in the topbar's copy button, which this second button then kept
- * alive because the guard only read main.ts. One implementation, two
- * buttons, and the assertion now reads every file.
- */
- onSaveCopy: () => void
- /** open the importer — the way IN, opposite the ways out below */
- onImport?: () => void
- /** take ONE page out as a space of its own */
- onExportSpace?: () => void
- /**
- * Write a DIFFERENT document out as its own file, leaving this one open.
- * The same writer the page extract uses (keepHandle false), so a duplicate
- * never becomes the ⌘S target.
- */
- onWriteCopy?: (doc: SpacesDoc) => Promise<boolean>
/** the editor's status line, for the confirmations that outlive the dialog */
onStatus?: (message: string) => void
+ /** open on a fresh update check — the update chip's click, as in slides */
+ runCheck?: boolean
/**
* "Update this file" — the kernel's applyUpdateInPlace, run through main.ts's
* save queue. NOT called directly from here: it rewrites the same file ⌘S
@@ -113,13 +89,14 @@ let lastAutoCheck: UpdateCheck | null = null
* Nothing about the reader or the document goes out with the request — it is a
* plain GET of a signed manifest — and the dialog says so where the switch is.
*/
-export async function launchUpdateCheck(): Promise<void> {
- if (!autoCheckEnabled()) return
+export async function launchUpdateCheck(): Promise<UpdateCheck | null> {
+ if (!autoCheckEnabled()) return null
lastAutoCheck = await checkForUpdates()
+ return lastAutoCheck
}
export function openAbout(hooks: AboutHooks): void {
- const { store, onRepaint, onSaveCopy, onImport, onExportSpace, onWriteCopy, onStatus, onUpdateInPlace, onBeforeWrite } = hooks
+ const { store, onRepaint, onUpdateInPlace, onBeforeWrite } = hooks
const doc = store.doc
// THE KERNEL'S DIALOG (kernel/src/ui/dialog.ts) is the shell; `card` is its
@@ -193,7 +170,6 @@ export function openAbout(hooks: AboutHooks): void {
l.append(cb, document.createTextNode(' ' + label))
return l
}
- const say = (message: string) => { onStatus?.(message) }
// ---- what this is ------------------------------------------------------
// The same head slides uses: the suite's mark, the app, the version, and a
@@ -481,252 +457,12 @@ export function openAbout(hooks: AboutHooks): void {
note(t('Language follows whoever opens the file. It is never written into the document.')),
)
- // ---- password ----------------------------------------------------------
- const pwSec = section(t('Password'))
- const pwNote = note(isEncryptionActive()
- ? t('This space is encrypted. Saves stay encrypted.')
- : t('A password encrypts the document inside the file. There is no recovery — lose it and the space is gone.'))
- pwSec.append(pwNote)
-
- const setPw = async (): Promise<void> => {
- const pw = prompt(t('Choose a password. There is no way to recover it.'))
- if (!pw) return
- setEncryptionPassword(pw)
- // Plaintext snapshots written BEFORE encryption was turned on would defeat
- // the encryption the author just enabled. Both stores: the version timeline
- // and the single recovery snapshot. From here on main.ts writes neither.
- await clearVersions(doc.docId)
- await clearRecovery(doc.docId)
- pwNote.textContent = t('Password set. Save to write the space encrypted.')
- say(t('Password set. Save to write the space encrypted.'))
- }
-
- const pwActions = actions()
- if (isEncryptionActive()) {
- pwActions.append(button(t('Change password…'), () => { void setPw() }))
- pwActions.append(danger(t('Remove password…'), pwSec, {
- what: t('Remove the password?'),
- why: t('The next save writes this space as plain, readable JSON — anybody who opens the file can read every page.'),
- go: t('Remove the password'),
- run: () => {
- setEncryptionPassword(null)
- pwNote.textContent = t('Password removed. Save to write the space unencrypted.')
- say(t('Password removed. Save to write the space unencrypted.'))
- },
- }))
- } else {
- pwActions.append(button(t('Set a password…'), () => { void setPw() }))
- }
- pwSec.append(pwActions)
-
- // ---- the way in ---------------------------------------------------------
- // Beside the ways out on purpose: a format that can only be left is a
- // format nobody arrives in.
- if (onImport) {
- section(
- t('Bring notes in'),
- actions(button(t('Import Markdown…'), () => { close(); onImport() })),
- note(t('A folder of .md files becomes pages, with the folder tree and the [[wikilinks]] intact.')),
- // Said HERE because this is where somebody looks for it, and because the
- // same dialog claims below that a space is never a dead end. A promise
- // made in one direction only is half a promise.
- note(t('Another bento/spaces file can arrive the same way, nested under any page.')),
- )
- }
-
- // ---- ways out ----------------------------------------------------------
- // ---- the local timeline --------------------------------------------------
- //
- // Undo dies with the tab and the recovery snapshot only ever holds the last
- // few seconds, so before this section the honest answer to "give me back what
- // I wrote this morning" was that there wasn't one. The timeline lives in this
- // browser's IndexedDB — never in the file, never online — which is why the
- // note says so plainly: a space carried to another machine does not bring its
- // history, and that is a property worth stating rather than discovering.
- //
- // Rendered ASYNC into a placeholder. Reading IndexedDB cannot be allowed to
- // hold up the dialog opening, and a space with no versions yet is the common
- // case on a first run — it says so rather than showing an empty box.
- const histSec = section(t('History'))
- const histBody = document.createElement('div')
- histBody.className = 'sp-ab-versions'
- histSec.append(histBody)
- histSec.append(note(t('Versions are kept in this browser only — never in the file, never online. Restoring is undoable.')))
-
- const renderVersions = (versions: Snapshot[]): void => {
- histBody.textContent = ''
- if (!versions.length) {
- histBody.append(note(isEncryptionActive()
- ? t('This space is encrypted, so no versions are kept.')
- : t('No versions yet — they build up as you write and save.')))
- return
- }
- for (const [i, v] of versions.entries()) {
- const when = new Date(v.at).toLocaleString([], {
- month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit',
- })
- const b = document.createElement('button')
- b.type = 'button'
- b.className = 'sp-ab-version'
- const left = document.createElement('span')
- left.className = 'sp-ab-when'
- left.textContent = when
- const tag = document.createElement('span')
- tag.className = 'sp-ab-vtag'
- tag.textContent = i === 0 ? t('most recent') : ''
- const doIt = document.createElement('span')
- doIt.className = 'sp-ab-vdo'
- doIt.textContent = t('Restore')
- b.append(left, tag, doIt)
- b.addEventListener('click', () => {
- // FOREIGN INPUT, gated as the recovery banner gates it (restoregate.ts):
- // every file:// document shares this IndexedDB. A refusal applies
- // nothing and leaves the entry where it is.
- if (store.readOnly) { say(t('This file is open read-only')); return }
- // replaceDoc (inside restoreInto) checkpoints undo first, so ⌘Z walks
- // this back — the same contract the recovery banner's Restore honours.
- if (!restoreInto(store, v.json)) { say(t('That version could not be read')); return }
- onRepaint()
- close()
- say(t('Restored the version from {when} — ⌘Z undoes it', { when }))
- })
- histBody.append(b)
- }
- }
- renderVersions([])
- void listVersions(doc.docId).then(renderVersions).catch(() => { /* no store, no history */ })
-
- const outSec = section(t('Take it elsewhere'))
- const copyJson = button(t('Copy document JSON'), () => {
- // The clipboard copy is a HAND-OUT. Every field under `collab` is a bearer
- // capability — the room, the read key and the private halves that grant
- // writing and revoking — so the copy strips the block outright, the way
- // the page extract does. It used to copy the live document whole.
- //
- // Through model.docForExport, not a local clone-and-delete: this landed on
- // main independently while this dialog was being rebuilt, and two strippers
- // for one rule is how the two of them start to disagree. The shared one
- // also strips by REMOVING, so a private field added to the credentials
- // later is covered without either call site being touched.
- navigator.clipboard?.writeText(JSON.stringify(docForExport(store.doc), null, 2))
- .then(() => { copyJson.textContent = t('Copied ✓'); say(t('Document JSON copied')) })
- .catch(() => { copyJson.textContent = t('Couldn’t access the clipboard') })
- .finally(() => { setTimeout(() => { copyJson.textContent = t('Copy document JSON') }, 1800) })
- })
- outSec.append(actions(
- copyJson,
- button(t('Export as Markdown'), () => downloadMarkdown(store)),
- ...(onExportSpace ? [button(t('Export page as a space…'), () => { close(); onExportSpace() })] : []),
- button(t('Save a copy…'), () => { close(); onSaveCopy() }),
- ...(onWriteCopy ? [button(t('Duplicate as a new space…'), () => {
- // A DUPLICATE, not a copy: a fresh docId and no collaboration
- // credentials, so it can never sync with the space it came from. You
- // keep editing this one — the writer holds no handle (portable.ts).
- // share.ts duplicateAsNew: the stamped `sync` goes with `collab`.
- const clone = duplicateAsNew(store.doc, uid('doc'))
- close()
- void onWriteCopy(clone)
- })] : []),
- ))
- outSec.append(note(t('A space is never a dead end: the whole document is plain JSON in this file, and every page exports as Markdown.')))
-
- // ---- the two that cannot be taken back -----------------------------------
- // Its own section, its own weight, and every action here says what it will
- // do before it does it. Replace-from-JSON is the one control in this dialog
- // that can lose a document.
- if (!store.readOnly) {
- const risky = section(t('Careful'))
- risky.classList.add('sp-ab-risky')
- risky.append(danger(t('Replace from JSON…'), risky, {
- what: t('Replace every page from pasted JSON?'),
- why: t('Everything in this space is replaced by what you paste. ⌘Z undoes it, but only while this window stays open.'),
- go: t('Replace'),
- form: replaceForm,
- }))
- risky.append(note(t('The counterpart of Copy document JSON: edit a space in another tool, then bring it back.')))
- }
-
- /**
- * The paste box, IN FLOW.
- *
- * Not a popover, and not a second overlay: the card scrolls, so a floating
- * child of it would be clipped on both axes (CLAUDE.md #10). It is a block
- * of the list that pushes the rest down, and the card scrolls to it.
- */
- function replaceForm(host: HTMLElement, dismiss: () => void): HTMLElement {
- const wrap = document.createElement('div')
- const ta = document.createElement('textarea')
- ta.className = 'sp-ab-json'
- ta.rows = 7
- ta.placeholder = t('Paste document JSON here…')
- const apply = button(t('Replace'), () => {
- const res = parseDoc(ta.value)
- if (!res.ok) {
- ta.classList.add('sp-ab-bad')
- apply.textContent = t('That is not a bento/spaces document')
- setTimeout(() => { apply.textContent = t('Replace') }, 2000)
- return
- }
- // The live session belongs to THIS document, not to the pasted text.
- // Content is imported; identity and capability are not — adopting the
- // pasted `collab` would either wipe the room credentials or silently
- // move this space into somebody else's room. replaceDoc keeps the live
- // docId, collab and file mode itself (store.ts FROM_LIVE), for this and
- // every other whole-document restore.
- store.replaceDoc(res.doc)
- onRepaint()
- close()
- say(t('Document replaced — ⌘Z undoes'))
- })
- apply.classList.add('sp-ab-go')
- wrap.append(ta, actions(apply, button(t('Cancel'), dismiss)))
- host.append(wrap)
- ta.focus()
- return wrap
- }
-
- /**
- * A weightier control: it states the consequence, then asks again.
- *
- * The confirmation is a BLOCK, not a `confirm()` and not a popover — see the
- * header. The button that finally does the thing is the second one you
- * press, and it is labelled with the verb rather than "OK".
- */
- function danger(
- label: string,
- host: HTMLElement,
- opts: {
- what: string
- why: string
- go?: string
- run?: () => void
- form?: (host: HTMLElement, dismiss: () => void) => HTMLElement
- },
- ): HTMLElement {
- let open: HTMLElement | null = null
- const b = button(label, () => {
- if (open) { open.remove(); open = null; b.setAttribute('aria-expanded', 'false'); return }
- const panel = document.createElement('div')
- panel.className = 'sp-ab-confirm'
- const what = document.createElement('strong')
- what.textContent = opts.what
- panel.append(what, note(opts.why))
- const dismiss = () => { panel.remove(); open = null; b.setAttribute('aria-expanded', 'false'); b.focus() }
- if (opts.form) opts.form(panel, dismiss)
- else {
- const go = button(opts.go ?? label, () => { opts.run?.(); dismiss() })
- go.classList.add('sp-ab-go')
- panel.append(actions(go, button(t('Cancel'), dismiss)))
- }
- host.append(panel)
- open = panel
- b.setAttribute('aria-expanded', 'true')
- panel.scrollIntoView({ block: 'nearest' })
- })
- b.classList.add('sp-ab-danger')
- b.setAttribute('aria-expanded', 'false')
- return b
- }
+ // ---- this file, and the document -------------------------------------
+ // After the viewer's preferences, as slides orders its About: what the app
+ // is and whether it is current first, then how YOU see it, then the file.
+ // (Password, history, the JSON round trip, import and the ways out are the
+ // document's own commands and live under Save ▾ now — doccmds.ts.)
+ card.append(sec1, props)
// ---- fine print ---------------------------------------------------------
const fine = document.createElement('p')
@@ -744,6 +480,8 @@ export function openAbout(hooks: AboutHooks): void {
dlg.open()
// the one control the dialog opens FOR, not the logo link the trap would pick
checkBtn.focus()
+ // the chip means "there is an update": show it, as slides' About does
+ if (hooks.runCheck || lastAutoCheck?.status === 'update') void runCheck()
}
/**
diff --git a/spaces/src/collabui.ts b/spaces/src/collabui.ts
index 5073fc85..10876565 100644
--- a/spaces/src/collabui.ts
+++ b/spaces/src/collabui.ts
@@ -99,6 +99,7 @@ export interface CollabUiHost {
}
export class CollabUi {
+ private static descSeq = 0
private host: CollabUiHost
private btn: HTMLButtonElement | null = null
private known = new Map<string, string>()
@@ -261,7 +262,11 @@ export class CollabUi {
private openPanel(anchor: HTMLElement): void {
this.host.popover(anchor, (pop, close) => {
- pop.classList.add('sp-people')
+ // SLIDES' SHARE POPOVER, section for section (.ed-share-pop): your name
+ // on one line, PEOPLE, the connection line, SHARE A COPY, the actions as
+ // framed buttons with the first one primary, then — set apart — the
+ // session controls. It hangs from the Share button's end, as slides'.
+ pop.classList.add('sp-people', 'sp-pop-end')
const store = this.host.store
const doc = store.doc
const st = this.state()
@@ -274,12 +279,10 @@ export class CollabUi {
// mistake as the button: another window of this file is a person in this
// space, and the panel claimed there was nobody while their dot was
// visible in the tree two inches away.
- pop.append(el('div', 'sp-pop-title', peers.length ? t('People in this space') : t('Share this space')))
-
// YOUR NAME, first — it is the thing that shows up on everyone else's
// screen, and the only field here that is about you rather than them.
- const row = el('label', 'sp-field')
- row.append(el('span', 'sp-field-lbl', t('Your name')))
+ const row = el('label', 'sp-share-name')
+ row.append(el('span', '', t('Your name')))
const name = document.createElement('input')
name.type = 'text'
name.className = 'sp-input'
@@ -299,6 +302,7 @@ export class CollabUi {
// this panel two people can verify out of band, so it is rendered the
// same way bento/slides renders it — a code grouped differently in each
// app is a code they cannot compare over a call.
+ if (mine.role || peers.length) pop.append(el('div', 'sp-share-label', t('People')))
if (mine.role) {
const meRow = el('div', 'sp-pitem sp-pme')
let myName = t('Guest')
@@ -392,11 +396,12 @@ export class CollabUi {
// SHARING IS FILES. Each of these saves a copy to send, and turns the
// live session on — there is no separate start-a-session step.
+ pop.append(el('div', 'sp-share-label', t('Share a copy')))
const acts = el('div', 'sp-pacts')
- acts.append(this.action(t('Invite to edit…'),
+ acts.append(this.action(ICONS.people, t('Invite to edit…'),
t('Saves a copy to send. Whoever opens it edits this space live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.'),
() => { close(); this.host.shareCopy('invite') }))
- acts.append(this.action(t('View-only copy…'),
+ acts.append(this.action(ICONS.eye, t('View-only copy…'),
t('A live viewer: follows every edit as it happens but can never change this space — the relay enforces it.'),
() => { close(); this.host.shareCopy('viewonly') }))
@@ -404,7 +409,8 @@ export class CollabUi {
// Reconnecting WITHOUT saving another copy. Without this the only way
// back into a session you had stopped was to save a copy, which is how
// one space becomes four files.
- acts.append(this.action(t('Start live session'), t('Connect to the live session without saving a new copy — copies you sent earlier will meet you there.'), () => {
+ acts.append(el('div', 'sp-paction-sep'))
+ acts.append(this.action(ICONS.broadcast, t('Go live'), t('Connect to the live session without saving a new copy — copies you sent earlier will meet you there.'), () => {
close()
void this.host.goLive().then(() => {
this.sync(); this.host.paintTree()
@@ -412,7 +418,8 @@ export class CollabUi {
})
}))
} else {
- acts.append(this.action(t('Stop sharing'), t('This copy goes offline; the others carry on'), () => {
+ acts.append(el('div', 'sp-paction-sep'))
+ acts.append(this.action(ICONS.broadcast, t('Stop sharing'), t('This copy goes offline; the others carry on'), () => {
close()
stopSharing(this.host.session, store)
this.sync(); this.host.paintTree()
@@ -428,8 +435,7 @@ export class CollabUi {
// the thumb lands, and a stray tap there asked a native confirm() to
// stand between the reader and revoking every copy they had sent. A
// rule and the danger ink make it read as what it is before the tap.
- acts.append(el('div', 'sp-paction-sep'))
- acts.append(this.action(t('Reset access…'),
+ acts.append(this.action(ICONS.lock, t('Reset access…'),
t('Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.'),
() => {
if (!confirm(t('Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.'))) return
@@ -444,12 +450,30 @@ export class CollabUi {
})
}
- private action(label: string, hint: string, run: () => void): HTMLElement {
+ /**
+ * One share action: a plain menu row, as slides' (#573) — icon and name on
+ * one line, a hover fill and nothing at rest, no filled primary. What it does is the hover tooltip (`title`) and the
+ * button's accessible description through a visually hidden span — the Save
+ * menu's row shape, extended to Share by the maintainer (DECISIONS
+ * 2026-09-26).
+ */
+ private action(icon: string, label: string, hint: string, run: () => void): HTMLElement {
const b = document.createElement('button')
b.type = 'button'
b.className = 'sp-paction'
- b.append(el('strong', '', label))
- if (hint) b.append(el('span', '', hint))
+ const ico = el('span', 'sp-paction-ico')
+ ico.innerHTML = icon
+ const body = el('span', 'sp-paction-body')
+ body.append(el('span', 'sp-paction-name', label))
+ if (hint) {
+ const d = el('span', 'sp-vh', hint)
+ d.id = `sp-pdesc-${++CollabUi.descSeq}`
+ body.append(d)
+ b.title = hint
+ b.setAttribute('aria-label', label)
+ b.setAttribute('aria-describedby', d.id)
+ }
+ b.append(ico, body)
b.addEventListener('click', run)
return b
}
diff --git a/spaces/src/doccmds.ts b/spaces/src/doccmds.ts
new file mode 100644
index 00000000..197b1a0d
--- /dev/null
+++ b/spaces/src/doccmds.ts
@@ -0,0 +1,256 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// THE DOCUMENT'S OWN COMMANDS — the Save menu, in slides' order.
+//
+// Slides keeps every command that acts on the file as a whole under Save's
+// caret: save a copy, duplicate as new, export, encrypt, then (after a rule)
+// version history and the JSON round trip. Spaces had the same commands in
+// three places — three rows under the caret, the rest in ⋯ and in the About
+// dialog's Password, History, "Take it elsewhere" and "Careful" sections — so
+// the question "how do I encrypt this?" had a different answer in each app.
+// Now the answer is the same: Save ▾. About keeps what slides' About keeps
+// (the version, updates, viewer preferences, the document's properties).
+//
+// One list for both homes: the caret on a wide bar, the foot of ⋯ once the bar
+// has folded, exactly as slides' buildSaveAsItems serves both.
+//
+// What slides has and spaces does not (Copy compact JSON, Start from scratch)
+// is not invented here; what spaces has and slides does not (Markdown in and
+// out, a page as its own space) sits in the slot of its KIND — exports with
+// the export, Import beside Replace from JSON, the two ways a document arrives.
+
+import { setEncryptionPassword, isEncryptionActive } from '../../kernel/src/save.ts'
+import { clearVersions, clearRecovery, listVersions, type Snapshot } from '../../kernel/src/autosave.ts'
+import type { Dialog } from '../../kernel/src/ui/dialog.ts'
+import { t } from './i18n'
+import { ICONS } from './icons'
+import { row, type Menu } from './menus.ts'
+import { docForExport, parseDoc, uid, type SpacesDoc } from './model'
+import { restoreInto } from './restoregate'
+import { duplicateAsNew } from './share.ts'
+import type { Store } from './store'
+
+export interface DocHost {
+ store: Store
+ openOverlay(title: string, build: (body: HTMLElement, close: () => void) => void, o?: { wide?: boolean; top?: boolean; className?: string }): Dialog
+ repaint(): void
+ notice(msg: string): void
+ saveCopy(): void
+ exportMarkdown(): void
+ exportSpace(): void
+ /** a DIFFERENT document written as its own file; keeps no handle */
+ writeCopy(doc: SpacesDoc): Promise<boolean>
+ importMarkdown(): void
+ /** extra export rows a build carries (the tour's page-as-slides), in order */
+ moreExports?: (m: Menu) => void
+}
+
+/**
+ * The rows, into `m`. One line each, as slides' Save menu: what a row does is
+ * its hover tooltip and its accessible description, not a second line — the
+ * maintainer's revision of D2 for this menu (DECISIONS 2026-09-26).
+ */
+export function saveRows(m: Menu, h: DocHost): void {
+ const ro = h.store.readOnly
+ row(m, { icon: ICONS.copy, label: t('Save a copy…'), desc: t('A second file — the original is left alone'), run: () => h.saveCopy() })
+ row(m, { icon: ICONS.plus, label: t('Duplicate as new space…'),
+ desc: t('Same pages, new identity — it never syncs with this one'),
+ run: () => duplicate(h) })
+ row(m, { icon: ICONS.markdown, label: t('Export as Markdown…'), desc: t('Every page, as one .md file'), run: () => h.exportMarkdown() })
+ row(m, { icon: ICONS.page, label: t('Export page as a space…'), desc: t('One page and what is under it, as its own file'), run: () => h.exportSpace() })
+ h.moreExports?.(m)
+ if (isEncryptionActive()) {
+ row(m, { icon: ICONS.lock, label: t('Change password…'), desc: t('Takes effect on the next save'), off: ro, run: () => openPassword(h) })
+ row(m, { icon: ICONS.lock, label: t('Remove password…'),
+ desc: t('The next save writes plain, readable JSON'), off: ro, run: () => openRemovePassword(h) })
+ } else {
+ row(m, { icon: ICONS.lock, label: t('Encrypt with password…'),
+ desc: t('No recovery — lose the password and the space is gone'), off: ro, run: () => openPassword(h) })
+ }
+
+ // the document AS DATA — the timeline and the round trips
+ m.separator()
+ row(m, { icon: ICONS.history, label: t('Version history…'), desc: t('Versions are kept in this browser only — never in the file, never online. Restoring is undoable.'), run: () => openHistory(h) })
+ row(m, { icon: ICONS.code, label: t('Copy document JSON'), desc: t('Plain JSON of every page — no live-session keys'),
+ run: () => copyJson(h) })
+ row(m, { icon: ICONS.code, label: t('Replace from JSON…'), desc: t('Replaces every page — ⌘Z undoes'),
+ off: ro, run: () => openReplaceJson(h) })
+ row(m, { icon: ICONS.markdown, label: t('Import Markdown…'), off: ro, desc: t('A folder of .md files becomes pages, with the folder tree and the [[wikilinks]] intact.'), run: () => h.importMarkdown() })
+}
+
+/** The labels, in order — what the chrome rig holds the menu to. */
+export const SAVE_ORDER = [
+ 'Save a copy…', 'Duplicate as new space…', 'Export as Markdown…', 'Export page as a space…',
+ 'Encrypt with password…', 'Version history…', 'Copy document JSON', 'Replace from JSON…', 'Import Markdown…',
+]
+
+// ---- the commands ---------------------------------------------------------
+
+/**
+ * A DUPLICATE, not a copy: a fresh docId and no collaboration credentials, so
+ * it can never sync with the space it came from. You keep editing this one —
+ * the writer holds no handle (portable.ts).
+ */
+function duplicate(h: DocHost): void {
+ // share.ts duplicateAsNew: the stamped `sync` goes with `collab`.
+ const clone: SpacesDoc = duplicateAsNew(h.store.doc, uid('doc'))
+ void h.writeCopy(clone)
+}
+
+/**
+ * The clipboard copy is a HAND-OUT: every field under `collab` is a bearer
+ * capability, so model.docForExport strips the block outright.
+ */
+function copyJson(h: DocHost): void {
+ const text = JSON.stringify(docForExport(h.store.doc), null, 2)
+ const p = navigator.clipboard?.writeText(text)
+ if (!p) { h.notice(t('Couldn’t access the clipboard')); return }
+ p.then(() => h.notice(t('Document JSON copied'))).catch(() => h.notice(t('Couldn’t access the clipboard')))
+}
+
+/** slides' 440px card, as its Version history and Replace from JSON */
+const narrow = (d: Dialog): void => { d.card.classList.add('sp-dlg-narrow') }
+
+const el = <K extends keyof HTMLElementTagNameMap>(tag: K, cls = '', text = ''): HTMLElementTagNameMap[K] => {
+ const n = document.createElement(tag)
+ if (cls) n.className = cls
+ if (text) n.textContent = text
+ return n
+}
+const button = (label: string, fn: () => void, primary = false): HTMLButtonElement => {
+ const b = el('button', 'sp-btn' + (primary ? ' sp-primary' : ''), label)
+ b.type = 'button'
+ b.addEventListener('click', fn)
+ return b
+}
+const actions = (...kids: HTMLElement[]): HTMLElement => {
+ const d = el('div', 'sp-actions sp-dlg-actions')
+ d.append(...kids)
+ return d
+}
+
+/**
+ * Set or change the password — two fields, as slides asks, instead of a
+ * native prompt() that echoed nothing back and could not be confirmed.
+ * Plaintext snapshots written BEFORE encryption was turned on would defeat it,
+ * so both local stores are cleared; main.ts writes neither from here on.
+ */
+function openPassword(h: DocHost): void {
+ narrow(h.openOverlay(t('Encrypt with password…').replace(/…$/, ''), (body, close) => {
+ body.append(el('p', 'sp-note', t('The password cannot be recovered — if it is lost, the file is lost.')))
+ const field = (label: string) => {
+ const l = el('label', 'sp-ab-field')
+ l.append(el('span', '', label))
+ const i = el('input', 'sp-input')
+ i.type = 'password'
+ i.autocomplete = 'new-password'
+ l.append(i)
+ body.append(l)
+ return i
+ }
+ const a = field(t('Password'))
+ const b = field(t('Confirm password'))
+ const err = el('p', 'sp-note sp-dlg-err')
+ err.setAttribute('role', 'alert')
+ body.append(err)
+ const go = async () => {
+ if (!a.value) { err.textContent = t('Password'); a.focus(); return }
+ if (a.value !== b.value) { err.textContent = t('Passwords do not match'); b.focus(); return }
+ setEncryptionPassword(a.value)
+ await clearVersions(h.store.doc.docId)
+ await clearRecovery(h.store.doc.docId)
+ close()
+ h.notice(t('Password set. Save to write the space encrypted.'))
+ }
+ b.addEventListener('keydown', (e) => { if (e.key === 'Enter') void go() })
+ body.append(actions(button(t('Cancel'), close), button(t('Set password'), () => { void go() }, true)))
+ queueMicrotask(() => a.focus())
+ }))
+}
+
+function openRemovePassword(h: DocHost): void {
+ narrow(h.openOverlay(t('Remove the password?'), (body, close) => {
+ body.append(el('p', 'sp-note', t('The next save writes this space as plain, readable JSON — anybody who opens the file can read every page.')))
+ body.append(actions(button(t('Cancel'), close), button(t('Remove the password'), () => {
+ setEncryptionPassword(null)
+ close()
+ h.notice(t('Password removed. Save to write the space unencrypted.'))
+ }, true)))
+ }))
+}
+
+/**
+ * The local timeline, as its own dialog (slides' "Version history…"). It lives
+ * in this browser's IndexedDB — never in the file, never online — and the note
+ * says so, because a space carried to another machine does not bring it.
+ */
+function openHistory(h: DocHost): void {
+ narrow(h.openOverlay(t('Version history'), (body, close) => {
+ const list = el('div', 'sp-ab-versions')
+ body.append(list, el('p', 'sp-note', t('Versions are kept in this browser only — never in the file, never online. Restoring is undoable.')))
+ const render = (versions: Snapshot[]): void => {
+ list.textContent = ''
+ if (!versions.length) {
+ list.append(el('p', 'sp-note', isEncryptionActive()
+ ? t('This space is encrypted, so no versions are kept.')
+ : t('No versions yet — they build up as you write and save.')))
+ return
+ }
+ for (const [i, v] of versions.entries()) {
+ const when = new Date(v.at).toLocaleString([], { month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit' })
+ const b = el('button', 'sp-ab-version')
+ b.type = 'button'
+ b.append(el('span', 'sp-ab-when', when), el('span', 'sp-ab-vtag', i === 0 ? t('most recent') : ''), el('span', 'sp-ab-vdo', t('Restore')))
+ b.addEventListener('click', () => {
+ // FOREIGN INPUT, gated as the recovery banner gates it (restoregate.ts):
+ // every file:// document shares this IndexedDB. A refusal applies
+ // nothing and leaves the entry where it is.
+ if (h.store.readOnly) { h.notice(t('This file is open read-only')); return }
+ // replaceDoc (inside restoreInto) checkpoints undo first, so ⌘Z walks
+ // this back — the same contract the recovery banner's Restore honours.
+ if (!restoreInto(h.store, v.json)) { h.notice(t('That version could not be read')); return }
+ h.repaint()
+ close()
+ h.notice(t('Restored the version from {when} — ⌘Z undoes it', { when }))
+ })
+ list.append(b)
+ }
+ }
+ render([])
+ void listVersions(h.store.doc.docId).then(render).catch(() => { /* no store, no history */ })
+ }))
+}
+
+/**
+ * Paste-and-apply (the counterpart of Copy document JSON). The live session
+ * belongs to THIS document, not to the pasted text: content is imported,
+ * identity and capability are not.
+ */
+function openReplaceJson(h: DocHost): void {
+ narrow(h.openOverlay(t('Replace from JSON'), (body, close) => {
+ body.append(el('p', 'sp-note', t('Everything in this space is replaced by what you paste. ⌘Z undoes it, but only while this window stays open.')))
+ const ta = el('textarea', 'sp-ab-json')
+ ta.rows = 8
+ ta.placeholder = t('Paste document JSON here…')
+ body.append(ta)
+ const apply = button(t('Replace'), () => {
+ const res = parseDoc(ta.value)
+ if (!res.ok) {
+ ta.classList.add('sp-ab-bad')
+ apply.textContent = t('That is not a bento/spaces document')
+ setTimeout(() => { apply.textContent = t('Replace') }, 2000)
+ return
+ }
+ // The live session belongs to THIS document, not to the pasted text:
+ // replaceDoc keeps the live docId, collab and file mode itself
+ // (store.ts FROM_LIVE), for this and every other whole-document restore.
+ h.store.replaceDoc(res.doc)
+ h.repaint()
+ close()
+ h.notice(t('Document replaced — ⌘Z undoes'))
+ }, true)
+ body.append(actions(button(t('Cancel'), close), apply))
+ queueMicrotask(() => ta.focus())
+ }))
+}
diff --git a/spaces/src/editor.ts b/spaces/src/editor.ts
index e030772f..ec0158f9 100644
--- a/spaces/src/editor.ts
+++ b/spaces/src/editor.ts
@@ -36,6 +36,7 @@ import { countOutsideTags, replaceOutsideTags } from './findreplace'
import { asksForAnswer, evaluate, format, pageContext } from './calc'
import { t, locale, localeChoices, setLocale, applyDirection } from './i18n'
import { openAbout } from './about'
+import { saveRows, type DocHost } from './doccmds.ts'
import { openGraphView } from './graph.ts'
import {
todayISO, stepDay, journalLabel, journalShort, isJournal, planJournal,
@@ -286,9 +287,20 @@ export class Editor {
'<rect x="14" y="5" width="13" height="10" rx="2.5" fill="#FF9E8A"/>' +
'<rect x="14" y="17" width="13" height="10" rx="2.5" fill="#F0EBE0"/>' +
'</svg><b class="sp-mark-word">bento<span>/</span>spaces</b>'
- mark.title = t('About this space')
+ // slides' wording with spaces' name: what the mark opens, and what is in it
+ mark.title = t('About bento/spaces — version, updates, licenses')
+ mark.setAttribute('aria-label', t('About bento/spaces — version, updates, licenses'))
mark.addEventListener('click', () => this.openAbout())
+ // THE UPDATE CHIP — slides' peach pill beside the wordmark, present ONLY
+ // when the launch check found a newer version. Its click opens About on a
+ // fresh check, which is where updating happens.
+ const chip = iconBtn('sync', '', () => this.openAbout(true))
+ chip.classList.add('sp-update')
+ chip.hidden = !this.updateVersion
+ if (this.updateVersion) this.paintUpdateChip(chip, this.updateVersion)
+ this.updateChip = chip
+
// Pages panel toggle — on every width, like slides' Slides/Format toggles.
// A sidebar you cannot put away is a sidebar you resent on a laptop.
const pagesB = iconBtn('panelLeft', t('Pages — show or hide the page list'), () => this.toggleSidebar())
@@ -336,71 +348,53 @@ export class Editor {
else this.focusBlock(fresh.id)
} })
}
+ // …and after a rule, the other thing you add: a PAGE. Slides' insert
+ // group ends on Comment, the one tool that is not an element; these are
+ // spaces' equivalents, with their shortcuts (D8).
+ m.separator()
+ this.pageRows(m)
} }).root
this.undoB = iconBtn('undo', t('Undo (⌘Z)'), () => { this.store.undo(); this.repaint() })
this.redoB = iconBtn('redo', t('Redo (⇧⌘Z)'), () => { this.store.redo(); this.repaint() })
const search = iconBtn('search', t('Search all pages (⌘K)'), () => this.openSearch())
- // WHERE A COMMAND LIVES. One rule, because the bar used to have none and it
- // showed: eight secondary buttons sat in the bar AND were repeated verbatim
- // in the ⋯ menu at the same time, so half of ⋯ pointed at things already on
- // screen. Print and Password each had two homes. About had three entry
- // points under two different names — all calling one dialog.
+ // WHERE A COMMAND LIVES — slides' map, command for command, so the two
+ // apps do not teach two different toolbars:
//
- // · The bar carries what you reach for WHILE WRITING.
- // · ⋯ carries the rest, plus whatever the bar has had to drop.
- // · Save ▾ is only about writing THIS file somewhere.
- // · Nothing is listed in two places at the same width.
+ // · The bar carries what you reach for while working, and the output
+ // buttons slides keeps there (its PDF button is Print here).
+ // · Save ▾ carries everything that acts on the FILE: copy, duplicate,
+ // export, password, then the timeline and the JSON round trip
+ // (doccmds.ts, in slides' order).
+ // · + Insert carries what you add: blocks, and after a rule, pages.
+ // · ⋯ exists only once the bar has FOLDED, as slides' does: the bar
+ // controls it had to give up, in slides' order, then the Save list.
+ // · About is reached from the wordmark, as in slides.
//
- // The measurement that produced the fold still holds: at 375px the old bar
- // wanted 678px, so seven of eleven controls — Save included — sat off the
- // right edge. Below the breakpoint the inline copies hide and ⋯ picks them
- // up, one list feeding both, because a phone menu maintained by hand as a
- // copy of the desktop row drifts the first time either one changes.
- // `kbd` is a shortcut, printed right-aligned (D8). `hint` is a visible
- // second line, and a row gets one only when it has a CONSEQUENCE worth
- // reading before you press it (D2) — "Make this page an issue" adds four
- // fields to it; "Graph" just opens a view, and its name says so.
+ // A command slides has no equivalent for goes where slides would put one
+ // of its kind (DECISIONS 2026-09-26): Graph is a view, so it is a bar
+ // button beside Reading view; "Make this page an issue" acts on one page,
+ // so it is in the page's own menu; Import Markdown… is the document
+ // arriving as data, so it sits under Save beside Replace from JSON.
type BarAction = {
icon: IconName
label: string
kbd?: string
- hint?: string
run: () => void
keep?: (b: HTMLButtonElement) => void
}
-
- // Reached while writing, so it stays in the bar until the bar runs out of
- // room. Reading view is a MODE — you leave and re-enter it while working,
- // and a mode you cannot see the state of is a mode you lose track of.
const barActions: BarAction[] = [
{ icon: 'eye', label: t('Reading view'),
run: () => this.toggleReading(),
keep: (b) => { this.readB = b } },
- ]
-
- // Reached once a session or less. A button in the bar for something you do
- // once is a button in the way of everything you do constantly, so these
- // live in ⋯ at every width — findable, out of the road, and each with the
- // keyboard shortcut printed beside it.
- const menuActions: BarAction[] = [
- { icon: 'page', label: t('New page'), kbd: keys('alt', 'mod', 'N'), run: () => this.newPage() },
- { icon: 'book', label: t("Today's journal"), kbd: keys('shift', 'mod', 'J'), run: () => this.openJournal() },
- { icon: 'board', label: t('New issue'), kbd: keys('shift', 'mod', 'I'), run: () => this.newIssue() },
- { icon: 'tag', label: t('Make this page an issue'), hint: t('Adds status, priority, assignee, estimate'),
- run: () => this.makeIssue() },
- { icon: 'markdown', label: t('Import Markdown…'), run: () => this.openImport() },
{ icon: 'graph', label: t('Graph'), run: () => this.openGraph() },
- { icon: 'print', label: t('Print or save as PDF'), kbd: keys('mod', 'P'), run: () => this.openPrint() },
- { icon: 'info', label: t('About this space'), run: () => this.openAbout() },
+ { icon: 'print', label: t('Export PDF (print)'), kbd: keys('mod', 'P'), run: () => this.openPrint() },
]
// In the bar's corner as in slides — the globe and the `?` — and in ⋯ only
- // once the bar has folded them away. A help screen only reachable by
- // pressing the key it documents is a help screen for people who did not
- // need it, which is why `?` is a button at all.
- const helpB = iconBtn('help', `${t('Keyboard shortcuts')} (?)`, () => this.openHelp())
+ // once the bar has folded them away.
+ const helpB = iconBtn('help', t('Shortcuts & tips (?)'), () => this.openHelp())
helpB.classList.add('sp-help')
// slides' glyph — a bold `?`, the key it stands for — not a circled icon
helpB.innerHTML = '<b class="sp-help-q" aria-hidden="true">?</b>'
@@ -416,59 +410,33 @@ export class Editor {
return b
})
- // The ways to write this document somewhere else — a CONSEQUENCE menu, so
- // every row says what it leaves behind (D2). One list for the caret and
- // for the folded ⋯, so the two can never offer different things.
- const saveRows = (m: Menu) => {
- row(m, { icon: ICONS.copy, label: t('Save a copy…'), hint: t('A second file — the original is left alone'),
- run: () => { void this.saveAs('copy') } })
- row(m, { icon: ICONS.markdown, label: t('Export as Markdown…'), hint: t('Every page, as one .md file'),
- run: () => this.exportMarkdown() })
- row(m, { icon: ICONS.page, label: t('Export page as a space…'), hint: t('One page and what is under it, as its own file'),
- run: () => this.openExportSpace() })
- }
+ // The file's own commands (D2: a consequence menu). One list for the caret
+ // and for the folded ⋯, so the two can never offer different things.
+ const saveList = (m: Menu) => saveRows(m, this.docHost())
const more = barMenu({
- icon: ICONS.more, label: '', tip: t('More'), end: true, scroll: true, className: 'sp-more',
+ icon: ICONS.more, label: '', tip: t('More actions'), end: true, scroll: true, className: 'sp-more',
fill: (m) => {
- // On a PHONE the ⋯ menu also carries the history pair and the other
- // ways to save. Measured at 390px with a coarse pointer: eleven bar
- // controls wanted 467px of a 390px viewport, and Save — the one action
- // that must never be off-screen — ended at x = 426. Undo/redo, the
- // wordmark and the save caret are what a phone gives up so that the
- // document title beside them is still wide enough to read.
- //
- // The list SCROLLS (`scroll`). Folded, it was sixteen rows — 950px in
- // an 844px phone viewport — and the last three, the ONLY ways to save
- // a copy or export on a phone, sat below the screen with nothing to
- // scroll them into view.
- const folded = this.isFolded()
- if (folded) {
- // THE PROPERTIES PANEL, ONCE THE BAR HAS FOLDED: its 40px button took
- // the document title from 70px to 26px at 375px.
- row(m, { icon: ICONS.panelRight, label: t('Properties'), kbd: ']', run: () => this.toggleInsp() })
- row(m, { icon: ICONS.undo, label: t('Undo'), kbd: keys('mod', 'Z'), off: !this.store.canUndo,
- run: () => { this.store.undo(); this.repaint() } })
- row(m, { icon: ICONS.redo, label: t('Redo'), kbd: keys('shift', 'mod', 'Z'), off: !this.store.canRedo,
- run: () => { this.store.redo(); this.repaint() } })
- m.separator()
- }
- for (const a of menuActions) row(m, { icon: ICONS[a.icon], label: a.label, kbd: a.kbd, hint: a.hint, run: a.run })
- // …and only THEN what the bar itself has had to give up. Listing these
- // unconditionally is what made ⋯ a duplicate of the visible row.
- if (folded) {
- for (const a of barActions) row(m, { icon: ICONS[a.icon], label: a.label, kbd: a.kbd, run: a.run })
- // The globe's list, one tap further: a menu cannot hold a menu, so
- // the row opens the same list as its own popup (a sheet on a phone).
- const moreB = m.trigger
- row(m, { icon: ICONS.globe, label: t('Language'), run: () => {
- queueMicrotask(() => anchoredMenu(moreB, (lm) => this.fillLanguages(lm),
- { label: t('Language'), sheet: this.isDrawer(), returnFocus: moreB }))
- } })
- row(m, { icon: ICONS.help, label: t('Keyboard shortcuts'), kbd: '?', run: () => this.openHelp() })
- m.separator()
- saveRows(m)
- }
+ // Slides' folded ⋯: the controls the bar gave up, in the bar's own
+ // order, then the Save list. The list SCROLLS (`scroll`): folded it is
+ // taller than a phone, and its last rows are the ONLY way to save a
+ // copy or export there.
+ row(m, { icon: ICONS.undo, label: t('Undo'), kbd: keys('mod', 'Z'), off: !this.store.canUndo,
+ run: () => { this.store.undo(); this.repaint() } })
+ row(m, { icon: ICONS.redo, label: t('Redo'), kbd: keys('shift', 'mod', 'Z'), off: !this.store.canRedo,
+ run: () => { this.store.redo(); this.repaint() } })
+ row(m, { icon: ICONS.panelRight, label: t('Properties'), kbd: ']', run: () => this.toggleInsp() })
+ for (const a of barActions) row(m, { icon: ICONS[a.icon], label: a.label, kbd: a.kbd, run: a.run })
+ // The globe's list, one tap further: a menu cannot hold a menu, so
+ // the row opens the same list as its own popup (a sheet on a phone).
+ const moreB = m.trigger
+ row(m, { icon: ICONS.globe, label: t('Language'), run: () => {
+ queueMicrotask(() => anchoredMenu(moreB, (lm) => this.fillLanguages(lm),
+ { label: t('Language'), sheet: this.isDrawer(), returnFocus: moreB }))
+ } })
+ row(m, { icon: ICONS.help, label: t('Shortcuts & tips'), kbd: '?', run: () => this.openHelp() })
+ m.separator()
+ saveList(m)
},
}).root
@@ -496,8 +464,9 @@ export class Editor {
: t('Unsaved changes — ⌘S downloads an updated copy')
saveB.append(this.dirtyDot)
const saveMore = barMenu({
- icon: ICONS.chevronDown, label: '', tip: t('Other ways to save'), end: true, className: 'sp-caret',
- fill: saveRows,
+ // slides' caret is the ▾ glyph at 10px, not a 12px chevron icon
+ icon: '<span class="sp-caret-g" aria-hidden="true">▾</span>', label: '', tip: t('Save as… — copy, new space, password'), end: true, className: 'sp-caret sp-savemenu',
+ scroll: true, fill: saveList,
}).root
// LEFT = the document (mark · title · save state · history), RIGHT = doing
@@ -515,8 +484,8 @@ export class Editor {
// document (mark · title · history), then the insert tools — here the one
// + Insert, which is right for a document — then the RIGHT group, doing
// things with it, ending in the language globe and `?` as slides' does.
- // ⋯ closes the row: it is a home at every width here (slides has it only
- // folded), and last is where slides' folded bar puts it.
+ // ⋯ closes the row once the bar has folded — only then, as in slides — and
+ // last is where slides' folded bar puts it.
const insertGroup = el('div', 'sp-group sp-group-insert')
insertGroup.append(insert)
const right = el('div', 'sp-group sp-group-right')
@@ -532,13 +501,12 @@ export class Editor {
//
// The Pages button (drawer widths only) follows the title, as slides'
// Slides button does: the corner is the suite's mark, at every width.
- bar.append(mark, title, pagesB, history, insertGroup, this.statusEl, right)
+ bar.append(mark, chip, title, pagesB, history, insertGroup, this.statusEl, right)
// Drive the fit now, and again whenever the bar's size or its CONTENT
// changes — topbar.ts, slides' algorithm with its tiers, its 120px title
// floor and its 700px phone. A rebuilt bar gets a fresh fit; the old one's
// observers and its window listener go with it.
- this.topbar = bar
this.barFit?.destroy()
this.barFit = createTopbarFit(bar, {
tiers: ['sp-bar-compact', 'sp-bar-tight', 'sp-bar-fold'],
@@ -738,21 +706,6 @@ export class Editor {
return window.matchMedia(`(max-width: ${DRAWER_BELOW}px)`).matches
}
- /**
- * Has the bar FOLDED — are undo/redo and the save caret currently inside ⋯
- * rather than in the bar?
- *
- * This used to be `matchMedia('(max-width: 600px)')`, with a comment saying
- * the number was duplicated from the stylesheet on purpose. It is not needed
- * at all now: the fit (topbar.ts) puts the tier on the bar as a class, so the menu can
- * ASK what is on screen instead of re-deriving it from a width and hoping
- * the two agree. When they disagreed the symptom was a menu offering Undo
- * while Undo sat in the bar two centimetres away.
- */
- private isFolded(): boolean {
- return !!this.topbar?.classList.contains('sp-bar-fold')
- }
-
/**
* The language list — the globe's, and ⋯'s once the bar has folded. The same
* rows slides' globe shows: every language this build carries, each in its
@@ -2812,7 +2765,6 @@ export class Editor {
/** the live session, once main.ts has handed it over (connectSync) */
private session: import('./sync/session.ts').SyncSession | null = null
private liveSlot!: HTMLElement
- private topbar: HTMLElement | null = null
private barFit: TopbarFit | null = null
private treeTimer: ReturnType<typeof setTimeout> | undefined
private paintTreeSoon(): void {
@@ -3277,7 +3229,7 @@ export class Editor {
['[', t('Show or hide the page list')],
[']', t('Show or hide properties')],
[M('mod', 'S'), t('Save')],
- [M('mod', 'P'), t('Print or save as PDF')],
+ [M('mod', 'P'), t('Export PDF (print)')],
['?', t('This list')],
['Esc', t('Leave the reading view')],
]],
@@ -3291,7 +3243,7 @@ export class Editor {
// On the kernel dialog like every other modal: the card no longer takes
// the focus itself, which painted a 2px ring round the whole sheet on
// open, and `?` pressed again cannot stack a second copy.
- this.openOverlay(t('Keyboard shortcuts'), (card) => {
+ this.openOverlay(t('Shortcuts & tips'), (card) => {
const grid = el('div', 'sp-keys-grid')
for (const [title, rows] of groups) {
const g = el('section', 'sp-keys-g')
@@ -3908,6 +3860,13 @@ export class Editor {
} })
row(m, { icon: ICONS.plus, label: t('New page inside'), run: () => this.newPage(pageId) })
+ // Moved here from ⋯ (DECISIONS 2026-09-26): it acts on ONE page, and the
+ // page's own menu is where slides keeps what acts on one slide. A
+ // consequence row (D2): it adds four fields.
+ if (!s.readOnly && !isIssue(page)) {
+ row(m, { icon: ICONS.tag, label: t('Make this page an issue'), hint: t('Adds status, priority, assignee, estimate'),
+ run: () => this.makeIssue(pageId) })
+ }
// A thread about the PAGE — the second and last anchor. It is offered
// where the page's own actions are, and only for the page in view,
@@ -5065,25 +5024,60 @@ export class Editor {
this.collab?.sync()
}
- /** One About, one copy path — both entry points route through saveAs('copy'). */
- private openAbout(): void {
+ /** About: what the app is, whether it is current, and the viewer's preferences. */
+ private openAbout(runCheck = false): void {
openAbout({
store: this.store,
onRepaint: () => this.build(),
- onSaveCopy: () => { void this.saveAs('copy') },
- onImport: () => this.openImport(),
- onExportSpace: () => this.openExportSpace(),
- // "Duplicate as a new space…" writes a DIFFERENT document, so it takes
- // the extract's writer rather than the copy path: that one keeps no file
- // handle, which is what leaves you editing this space afterwards.
- onWriteCopy: (out) => this.onExportSpace?.(out) ?? Promise.resolve(false),
onStatus: (msg) => this.notice(msg),
+ runCheck,
onUpdateInPlace: (rel) => this.onUpdateInPlace?.(rel) ?? Promise.resolve(null),
// both self-update writes carry this space's CRDT state, as ⌘S does
onBeforeWrite: () => shareModule.stampSync(this.store, this.session),
})
}
+ /** What the Save menu's rows reach (doccmds.ts). One copy path: saveAs('copy'). */
+ private docHost(): DocHost {
+ return {
+ store: this.store,
+ openOverlay: (title, build, o) => this.openOverlay(title, build, o),
+ repaint: () => this.repaint(),
+ notice: (msg) => this.notice(msg),
+ saveCopy: () => { void this.saveAs('copy') },
+ exportMarkdown: () => this.exportMarkdown(),
+ exportSpace: () => this.openExportSpace(),
+ // "Duplicate as new space…" writes a DIFFERENT document, so it takes
+ // the extract's writer rather than the copy path: that one keeps no file
+ // handle, which is what leaves you editing this space afterwards.
+ writeCopy: (out) => this.onExportSpace?.(out) ?? Promise.resolve(false),
+ importMarkdown: () => this.openImport(),
+ }
+ }
+
+ /** The pages you can add — the foot of + Insert, in shortcut order. */
+ private pageRows(m: Menu): void {
+ row(m, { icon: ICONS.page, label: t('New page'), kbd: keys('alt', 'mod', 'N'), run: () => this.newPage() })
+ row(m, { icon: ICONS.book, label: t("Today's journal"), kbd: keys('shift', 'mod', 'J'), run: () => this.openJournal() })
+ row(m, { icon: ICONS.board, label: t('New issue'), kbd: keys('shift', 'mod', 'I'), run: () => this.newIssue() })
+ }
+
+ private updateVersion: string | null = null
+ private updateChip: HTMLButtonElement | null = null
+
+ /** The launch check found `version`: show slides' chip, and say so once (D3). */
+ updateFound(version: string): void {
+ this.updateVersion = version
+ if (this.updateChip) { this.updateChip.hidden = false; this.paintUpdateChip(this.updateChip, version) }
+ this.notice(t('Update available: v{v} — click the peach button to update', { v: version }))
+ }
+
+ private paintUpdateChip(b: HTMLButtonElement, version: string): void {
+ b.innerHTML = `${ICONS.sync}<span>v${escapeHtml(version)}</span>`
+ b.title = t('Version {v} is available — click to update', { v: version })
+ b.setAttribute('aria-label', b.title)
+ }
+
// ---- routing ------------------------------------------------------------
/**
* `#p/<page>` today, and `#p/<page>/<block>` tolerated for later.
@@ -5377,7 +5371,7 @@ function caretRect(): DOMRect {
* THE HEIGHT IS THE ROOM IT ACTUALLY HAS, not a fraction of the window. The
* CSS capped every popover at 44vh, which on a 900px-tall window is 396px —
* and the share panel wants 543. Measured before this: 149px clipped, with
- * "Start live session" and "Reset access…" both below the fold. The primary
+ * "Go live" and "Reset access…" both below the fold. The primary
* action of the sharing panel was reachable only by noticing that a box with
* no visible scrollbar scrolls. A laptop at 800px fares worse.
*
@@ -5388,7 +5382,9 @@ function caretRect(): DOMRect {
*/
function place(pop: HTMLElement, anchor: HTMLElement | DOMRect): void {
const r = anchor instanceof HTMLElement ? anchor.getBoundingClientRect() : anchor
- const GAP = 6, EDGE = 8
+ // 4px off the anchor: slides' `.ed-menu` offset, which every popover here
+ // now shares with the menus (the kernel's default is 6)
+ const GAP = 4, EDGE = 8
const below = innerHeight - r.bottom - GAP - EDGE
const above = r.top - GAP - EDGE
const useBelow = below >= above || below >= 320
@@ -5397,7 +5393,9 @@ function place(pop: HTMLElement, anchor: HTMLElement | DOMRect): void {
// actually have rather than the one CSS would have forced on it
const w = pop.offsetWidth || 260
const h = pop.offsetHeight || 260
- let left = r.left
+ // a popover hanging off a control at the bar's END grows inward and lines up
+ // with it, as slides' share popover does (`inset-inline-end: 0`)
+ let left = pop.classList.contains('sp-pop-end') ? r.right - w : r.left
if (left + w > innerWidth - EDGE) left = Math.max(EDGE, innerWidth - w - EDGE)
pop.style.left = `${Math.max(EDGE, left)}px`
pop.style.top = `${useBelow ? r.bottom + GAP : Math.max(EDGE, r.top - h - GAP)}px`
diff --git a/spaces/src/i18n/de.ts b/spaces/src/i18n/de.ts
index d720d8fc..ee996128 100644
--- a/spaces/src/i18n/de.ts
+++ b/spaces/src/i18n/de.ts
@@ -158,7 +158,7 @@ export const de: Catalog = {
"Drag to resize · double-click to reset": "Ziehen zum Anpassen · Doppelklick setzt zurück",
"Drop .md files or a folder here": ".md-Dateien oder einen Ordner hierher ziehen",
"Duplicate": "Duplizieren",
- "Duplicate as a new space…": "Als neuen Space duplizieren…",
+ "Duplicate as new space…": "Als neuen Space duplizieren…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "Jede .md-Datei wird eine Seite, Ordner werden zum Seitenbaum, [[Wikilinks]] werden echte Links. Seiten kommen hinzu — nichts hier wird ersetzt.",
"Edit": "Bearbeiten",
"Edit this link card": "Diese Link-Karte bearbeiten",
@@ -262,7 +262,6 @@ export const de: Catalog = {
"Manual order": "Manuelle Reihenfolge",
"Match my system": "Systemeinstellung folgen",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Erzeugt brandneue Schlüssel. Jede bereits gesendete Kopie synchronisiert endgültig nicht mehr; teile danach frische Kopien.",
- "More": "Mehr",
"Move down": "Nach unten",
"Move up": "Nach oben",
"Muted": "Stumm",
@@ -305,7 +304,6 @@ export const de: Catalog = {
"Open only": "Nur offene",
"Orange": "Orange",
"Other": "Sonstige",
- "Other ways to save": "Weitere Speicheroptionen",
"Out of the sidebar, still searchable and linkable": "Weg aus der Seitenleiste, weiterhin auffindbar und verlinkbar",
"Owner": "Eigentümer",
"Page": "Seite",
@@ -412,7 +410,7 @@ export const de: Catalog = {
"Sort by {field}": "Nach {field} sortieren",
"Space name": "Space-Name",
"Square": "Quadratisch",
- "Start live session": "Live-Sitzung starten",
+ "Go live": "Live gehen",
"Start silent": "Ohne Ton starten",
"Stop sharing": "Freigabe beenden",
"Stop widening every page": "Nicht mehr alle Seiten verbreitern",
@@ -600,7 +598,6 @@ export const de: Catalog = {
"Formatting": "Formatierung",
"Getting around": "Navigieren",
"Indent, or move back out": "Einrücken, oder wieder heraus",
- "Keyboard shortcuts": "Tastaturkürzel",
"Leave the reading view": "Leseansicht verlassen",
"Link the selected words": "Die markierten Wörter verlinken",
"Link to another page": "Auf eine andere Seite verlinken",
@@ -632,4 +629,28 @@ export const de: Catalog = {
"Date": "Datum",
"Person": "Person",
"Labels": "Labels",
+ "People": "Personen",
+ "Share a copy": "Kopie teilen",
+ "Same pages, new identity — it never syncs with this one": "Dieselben Seiten, neue Identität — synchronisiert nie mit diesem Space",
+ "The next save writes plain, readable JSON": "Die nächste Speicherung schreibt einfaches, lesbares JSON",
+ "Encrypt with password…": "Mit Passwort verschlüsseln…",
+ "No recovery — lose the password and the space is gone": "Keine Wiederherstellung — Passwort verloren, Space verloren",
+ "Version history…": "Versionsverlauf…",
+ "Replaces every page — ⌘Z undoes": "Ersetzt alle Seiten — ⌘Z macht es rückgängig",
+ "The password cannot be recovered — if it is lost, the file is lost.": "Das Passwort kann nicht wiederhergestellt werden — geht es verloren, ist die Datei verloren.",
+ "Confirm password": "Passwort bestätigen",
+ "Passwords do not match": "Passwörter stimmen nicht überein",
+ "Set password": "Passwort festlegen",
+ "Version history": "Versionsverlauf",
+ "Replace from JSON": "Aus JSON ersetzen",
+ "Update available: v{v} — click the peach button to update": "Update verfügbar: v{v} — zum Aktualisieren auf den pfirsichfarbenen Button klicken",
+ "Version {v} is available — click to update": "Version {v} verfügbar — klicken zum Aktualisieren",
+ "Plain JSON of every page — no live-session keys": "Reines JSON aller Seiten — ohne Schlüssel der Live-Sitzung",
+ "Takes effect on the next save": "Gilt ab der nächsten Speicherung",
+ "Shortcuts & tips": "Tastenkürzel & Tipps",
+ "Shortcuts & tips (?)": "Tastenkürzel & Tipps (?)",
+ "More actions": "Weitere Aktionen",
+ "Export PDF (print)": "PDF exportieren (Drucken)",
+ "Save as… — copy, new space, password": "Speichern unter… — Kopie, neuer Space, Passwort",
+ "About bento/spaces — version, updates, licenses": "Über bento/spaces — Version, Updates, Lizenzen",
}
diff --git a/spaces/src/i18n/es.ts b/spaces/src/i18n/es.ts
index 617417fc..3d53bb39 100644
--- a/spaces/src/i18n/es.ts
+++ b/spaces/src/i18n/es.ts
@@ -158,7 +158,7 @@ export const es: Catalog = {
"Drag to resize · double-click to reset": "Arrastra para redimensionar · doble clic para restablecer",
"Drop .md files or a folder here": "Suelta aquí archivos .md o una carpeta",
"Duplicate": "Duplicar",
- "Duplicate as a new space…": "Duplicar como espacio nuevo…",
+ "Duplicate as new space…": "Duplicar como espacio nuevo…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "Cada archivo .md se convierte en una página, las carpetas forman el árbol de páginas y los [[wikilinks]] se vuelven enlaces reales. Las páginas se añaden: aquí no se reemplaza nada.",
"Edit": "Editar",
"Edit this link card": "Editar esta tarjeta de enlace",
@@ -262,7 +262,6 @@ export const es: Catalog = {
"Manual order": "Orden manual",
"Match my system": "Según el sistema",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Genera claves totalmente nuevas. Todas las copias enviadas dejan de sincronizarse para siempre; comparte copias nuevas después.",
- "More": "Más",
"Move down": "Bajar",
"Move up": "Subir",
"Muted": "Silenciado",
@@ -305,7 +304,6 @@ export const es: Catalog = {
"Open only": "Solo abiertas",
"Orange": "Naranja",
"Other": "Otras",
- "Other ways to save": "Otras formas de guardar",
"Out of the sidebar, still searchable and linkable": "Fuera de la barra lateral, pero aún se puede buscar y enlazar",
"Owner": "Propietario",
"Page": "Página",
@@ -412,7 +410,7 @@ export const es: Catalog = {
"Sort by {field}": "Ordenar por {field}",
"Space name": "Nombre del espacio",
"Square": "Cuadrado",
- "Start live session": "Iniciar sesión en vivo",
+ "Go live": "Ir en vivo",
"Start silent": "Empezar en silencio",
"Stop sharing": "Dejar de compartir",
"Stop widening every page": "Dejar de ensanchar todas las páginas",
@@ -600,7 +598,6 @@ export const es: Catalog = {
"Formatting": "Formato",
"Getting around": "Moverse",
"Indent, or move back out": "Sangrar, o volver a salir",
- "Keyboard shortcuts": "Atajos de teclado",
"Leave the reading view": "Salir de la vista de lectura",
"Link the selected words": "Enlazar las palabras seleccionadas",
"Link to another page": "Enlazar a otra página",
@@ -632,4 +629,28 @@ export const es: Catalog = {
"Date": "Fecha",
"Person": "Persona",
"Labels": "Etiquetas",
+ "People": "Personas",
+ "Share a copy": "Compartir una copia",
+ "Same pages, new identity — it never syncs with this one": "Las mismas páginas, una identidad nueva — nunca se sincroniza con este",
+ "The next save writes plain, readable JSON": "El próximo guardado escribe JSON plano y legible",
+ "Encrypt with password…": "Cifrar con contraseña…",
+ "No recovery — lose the password and the space is gone": "Sin recuperación: si pierdes la contraseña, pierdes el espacio",
+ "Version history…": "Historial de versiones…",
+ "Replaces every page — ⌘Z undoes": "Reemplaza todas las páginas — ⌘Z lo deshace",
+ "The password cannot be recovered — if it is lost, the file is lost.": "La contraseña no se puede recuperar: si se pierde, el archivo se pierde.",
+ "Confirm password": "Confirmar contraseña",
+ "Passwords do not match": "Las contraseñas no coinciden",
+ "Set password": "Establecer contraseña",
+ "Version history": "Historial de versiones",
+ "Replace from JSON": "Reemplazar desde JSON",
+ "Update available: v{v} — click the peach button to update": "Actualización disponible: v{v} — haz clic en el botón melocotón para actualizar",
+ "Version {v} is available — click to update": "Versión {v} disponible — clic para actualizar",
+ "Plain JSON of every page — no live-session keys": "JSON plano de todas las páginas — sin claves de la sesión en vivo",
+ "Takes effect on the next save": "Se aplica en el próximo guardado",
+ "Shortcuts & tips": "Atajos y consejos",
+ "Shortcuts & tips (?)": "Atajos y consejos (?)",
+ "More actions": "Más acciones",
+ "Export PDF (print)": "Exportar PDF (imprimir)",
+ "Save as… — copy, new space, password": "Guardar como… — copia, espacio nuevo, contraseña",
+ "About bento/spaces — version, updates, licenses": "Acerca de bento/spaces — versión, actualizaciones, licencias",
}
diff --git a/spaces/src/i18n/fr.ts b/spaces/src/i18n/fr.ts
index eefe8be2..d1d1b190 100644
--- a/spaces/src/i18n/fr.ts
+++ b/spaces/src/i18n/fr.ts
@@ -158,7 +158,7 @@ export const fr: Catalog = {
"Drag to resize · double-click to reset": "Glisser pour redimensionner · double-clic pour réinitialiser",
"Drop .md files or a folder here": "Déposez ici des fichiers .md ou un dossier",
"Duplicate": "Dupliquer",
- "Duplicate as a new space…": "Dupliquer comme nouvel espace…",
+ "Duplicate as new space…": "Dupliquer comme nouvel espace…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "Chaque fichier .md devient une page, les dossiers deviennent l’arborescence des pages, et les [[wikilinks]] deviennent de vrais liens. Les pages s’ajoutent — rien n’est remplacé.",
"Edit": "Modifier",
"Edit this link card": "Modifier cette carte de lien",
@@ -262,7 +262,6 @@ export const fr: Catalog = {
"Manual order": "Ordre manuel",
"Match my system": "Comme le système",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Génère des clés toutes neuves. Chaque copie déjà envoyée cesse définitivement de se synchroniser ; partagez ensuite de nouvelles copies.",
- "More": "Plus",
"Move down": "Descendre",
"Move up": "Monter",
"Muted": "Muet",
@@ -305,7 +304,6 @@ export const fr: Catalog = {
"Open only": "Ouverts seulement",
"Orange": "Orange",
"Other": "Autres",
- "Other ways to save": "Autres façons d’enregistrer",
"Out of the sidebar, still searchable and linkable": "Hors de la barre latérale, toujours dans la recherche et les liens",
"Owner": "Propriétaire",
"Page": "Page",
@@ -412,7 +410,7 @@ export const fr: Catalog = {
"Sort by {field}": "Trier par {field}",
"Space name": "Nom de l’espace",
"Square": "Carré",
- "Start live session": "Démarrer la session en direct",
+ "Go live": "Passer en direct",
"Start silent": "Démarrer sans le son",
"Stop sharing": "Arrêter le partage",
"Stop widening every page": "Ne plus élargir toutes les pages",
@@ -600,7 +598,6 @@ export const fr: Catalog = {
"Formatting": "Mise en forme",
"Getting around": "Se déplacer",
"Indent, or move back out": "Indenter, ou revenir en arrière",
- "Keyboard shortcuts": "Raccourcis clavier",
"Leave the reading view": "Quitter la vue lecture",
"Link the selected words": "Lier les mots sélectionnés",
"Link to another page": "Lier vers une autre page",
@@ -632,4 +629,28 @@ export const fr: Catalog = {
"Date": "Date",
"Person": "Personne",
"Labels": "Étiquettes",
+ "People": "Personnes",
+ "Share a copy": "Partager une copie",
+ "Same pages, new identity — it never syncs with this one": "Les mêmes pages, une nouvelle identité — il ne se synchronise jamais avec celui-ci",
+ "The next save writes plain, readable JSON": "Le prochain enregistrement écrit du JSON en clair, lisible",
+ "Encrypt with password…": "Chiffrer avec un mot de passe…",
+ "No recovery — lose the password and the space is gone": "Aucune récupération : perdez le mot de passe et l’espace est perdu",
+ "Version history…": "Historique des versions…",
+ "Replaces every page — ⌘Z undoes": "Remplace toutes les pages — ⌘Z annule",
+ "The password cannot be recovered — if it is lost, the file is lost.": "Le mot de passe ne peut pas être récupéré — s'il est perdu, le fichier l'est aussi.",
+ "Confirm password": "Confirmer le mot de passe",
+ "Passwords do not match": "Les mots de passe ne correspondent pas",
+ "Set password": "Définir le mot de passe",
+ "Version history": "Historique des versions",
+ "Replace from JSON": "Remplacer depuis JSON",
+ "Update available: v{v} — click the peach button to update": "Mise à jour disponible : v{v} — cliquez sur le bouton pêche pour mettre à jour",
+ "Version {v} is available — click to update": "Version {v} disponible — cliquez pour mettre à jour",
+ "Plain JSON of every page — no live-session keys": "Le JSON brut de toutes les pages — sans les clés de la session en direct",
+ "Takes effect on the next save": "Prend effet au prochain enregistrement",
+ "Shortcuts & tips": "Raccourcis et astuces",
+ "Shortcuts & tips (?)": "Raccourcis et astuces (?)",
+ "More actions": "Plus d’actions",
+ "Export PDF (print)": "Exporter en PDF (imprimer)",
+ "Save as… — copy, new space, password": "Enregistrer sous… — copie, nouvel espace, mot de passe",
+ "About bento/spaces — version, updates, licenses": "À propos de bento/spaces — version, mises à jour, licences",
}
diff --git a/spaces/src/i18n/it.ts b/spaces/src/i18n/it.ts
index 76f406b4..a5c9e748 100644
--- a/spaces/src/i18n/it.ts
+++ b/spaces/src/i18n/it.ts
@@ -158,7 +158,7 @@ export const it: Catalog = {
"Drag to resize · double-click to reset": "Trascina per ridimensionare · doppio clic per reimpostare",
"Drop .md files or a folder here": "Trascina qui file .md o una cartella",
"Duplicate": "Duplica",
- "Duplicate as a new space…": "Duplica come nuovo spazio…",
+ "Duplicate as new space…": "Duplica come nuovo spazio…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "Ogni file .md diventa una pagina, le cartelle diventano l’albero delle pagine e i [[wikilink]] diventano link veri. Le pagine si aggiungono: qui non viene sostituito nulla.",
"Edit": "Modifica",
"Edit this link card": "Modifica questa scheda di collegamento",
@@ -262,7 +262,6 @@ export const it: Catalog = {
"Manual order": "Ordine manuale",
"Match my system": "Come il sistema",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Genera chiavi nuove di zecca. Ogni copia già inviata smette per sempre di sincronizzarsi; condividi poi copie nuove.",
- "More": "Altro",
"Move down": "Sposta giù",
"Move up": "Sposta su",
"Muted": "Muto",
@@ -305,7 +304,6 @@ export const it: Catalog = {
"Open only": "Solo aperte",
"Orange": "Arancione",
"Other": "Altre",
- "Other ways to save": "Altri modi per salvare",
"Out of the sidebar, still searchable and linkable": "Fuori dalla barra laterale, ma sempre ricercabile e collegabile",
"Owner": "Proprietario",
"Page": "Pagina",
@@ -412,7 +410,7 @@ export const it: Catalog = {
"Sort by {field}": "Ordina per {field}",
"Space name": "Nome dello spazio",
"Square": "Quadrato",
- "Start live session": "Avvia sessione dal vivo",
+ "Go live": "Vai live",
"Start silent": "Parti senza audio",
"Stop sharing": "Interrompi condivisione",
"Stop widening every page": "Smetti di allargare tutte le pagine",
@@ -600,7 +598,6 @@ export const it: Catalog = {
"Formatting": "Formattazione",
"Getting around": "Spostarsi",
"Indent, or move back out": "Rientra, o torna indietro",
- "Keyboard shortcuts": "Scorciatoie da tastiera",
"Leave the reading view": "Esci dalla vista di lettura",
"Link the selected words": "Collega le parole selezionate",
"Link to another page": "Collega a un’altra pagina",
@@ -632,4 +629,28 @@ export const it: Catalog = {
"Date": "Data",
"Person": "Persona",
"Labels": "Etichette",
+ "People": "Persone",
+ "Share a copy": "Condividi una copia",
+ "Same pages, new identity — it never syncs with this one": "Le stesse pagine, una nuova identità — non si sincronizza mai con questo",
+ "The next save writes plain, readable JSON": "Il prossimo salvataggio scrive JSON in chiaro, leggibile",
+ "Encrypt with password…": "Cifra con password…",
+ "No recovery — lose the password and the space is gone": "Nessun recupero: se perdi la password, perdi lo spazio",
+ "Version history…": "Cronologia versioni…",
+ "Replaces every page — ⌘Z undoes": "Sostituisce tutte le pagine — ⌘Z annulla",
+ "The password cannot be recovered — if it is lost, the file is lost.": "La password non può essere recuperata — se la perdi, perdi il file.",
+ "Confirm password": "Conferma password",
+ "Passwords do not match": "Le password non coincidono",
+ "Set password": "Imposta password",
+ "Version history": "Cronologia versioni",
+ "Replace from JSON": "Sostituisci da JSON",
+ "Update available: v{v} — click the peach button to update": "Aggiornamento disponibile: v{v} — fai clic sul pulsante pesca per aggiornare",
+ "Version {v} is available — click to update": "Versione {v} disponibile — clic per aggiornare",
+ "Plain JSON of every page — no live-session keys": "JSON semplice di tutte le pagine — senza chiavi della sessione live",
+ "Takes effect on the next save": "Ha effetto dal prossimo salvataggio",
+ "Shortcuts & tips": "Scorciatoie e suggerimenti",
+ "Shortcuts & tips (?)": "Scorciatoie e suggerimenti (?)",
+ "More actions": "Altre azioni",
+ "Export PDF (print)": "Esporta PDF (stampa)",
+ "Save as… — copy, new space, password": "Salva come… — copia, nuovo spazio, password",
+ "About bento/spaces — version, updates, licenses": "Informazioni su bento/spaces — versione, aggiornamenti, licenze",
}
diff --git a/spaces/src/i18n/ja.ts b/spaces/src/i18n/ja.ts
index 0346feea..fe5b359d 100644
--- a/spaces/src/i18n/ja.ts
+++ b/spaces/src/i18n/ja.ts
@@ -158,7 +158,7 @@ export const ja: Catalog = {
"Drag to resize · double-click to reset": "ドラッグで幅を変更 · ダブルクリックで既定に戻す",
"Drop .md files or a folder here": ".md ファイルかフォルダーをここにドロップ",
"Duplicate": "複製",
- "Duplicate as a new space…": "新しいスペースとして複製…",
+ "Duplicate as new space…": "新しいスペースとして複製…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": ".md ファイルは 1 つずつページになり、フォルダーはページのツリーに、[[ウィキリンク]] は本物のリンクになります。ページは追加されるだけで、今あるものは置き換わりません。",
"Edit": "編集",
"Edit this link card": "このリンクカードを編集",
@@ -262,7 +262,6 @@ export const ja: Catalog = {
"Manual order": "手動の並び順",
"Match my system": "システムに合わせる",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "まったく新しい鍵を発行します。これまでに送ったコピーは永久に同期しなくなります。以後は新しいコピーを共有してください。",
- "More": "その他",
"Move down": "下へ移動",
"Move up": "上へ移動",
"Muted": "ミュート",
@@ -305,7 +304,6 @@ export const ja: Catalog = {
"Open only": "未完了のみ",
"Orange": "オレンジ",
"Other": "その他",
- "Other ways to save": "その他の保存方法",
"Out of the sidebar, still searchable and linkable": "サイドバーから外れますが、検索もリンクもできます",
"Owner": "オーナー",
"Page": "ページ",
@@ -412,7 +410,7 @@ export const ja: Catalog = {
"Sort by {field}": "{field}で並べ替え",
"Space name": "スペース名",
"Square": "正方形",
- "Start live session": "ライブセッションを開始",
+ "Go live": "ライブ開始",
"Start silent": "音を出さずに開始する",
"Stop sharing": "共有を停止",
"Stop widening every page": "すべてのページを広げるのをやめる",
@@ -600,7 +598,6 @@ export const ja: Catalog = {
"Formatting": "書式",
"Getting around": "移動",
"Indent, or move back out": "字下げ、または戻す",
- "Keyboard shortcuts": "キーボードショートカット",
"Leave the reading view": "読書ビューを終了",
"Link the selected words": "選択した語句にリンクを付ける",
"Link to another page": "別のページへリンク",
@@ -632,4 +629,28 @@ export const ja: Catalog = {
"Date": "日付",
"Person": "担当者",
"Labels": "ラベル",
+ "People": "メンバー",
+ "Share a copy": "コピーを共有",
+ "Same pages, new identity — it never syncs with this one": "同じページ、新しい ID — このスペースとは同期しません",
+ "The next save writes plain, readable JSON": "次の保存では、誰でも読めるプレーンな JSON で書き出します",
+ "Encrypt with password…": "パスワードで暗号化…",
+ "No recovery — lose the password and the space is gone": "復元できません — パスワードを失うとスペースも失われます",
+ "Version history…": "バージョン履歴…",
+ "Replaces every page — ⌘Z undoes": "すべてのページを置き換えます — ⌘Z で元に戻せます",
+ "The password cannot be recovered — if it is lost, the file is lost.": "パスワードは復元できません — 紛失するとファイルも失われます。",
+ "Confirm password": "パスワードを確認",
+ "Passwords do not match": "パスワードが一致しません",
+ "Set password": "パスワードを設定",
+ "Version history": "バージョン履歴",
+ "Replace from JSON": "JSON から置き換え",
+ "Update available: v{v} — click the peach button to update": "更新があります: v{v} — ピーチ色のボタンをクリックで更新",
+ "Version {v} is available — click to update": "バージョン {v} があります — クリックで更新",
+ "Plain JSON of every page — no live-session keys": "全ページのプレーンな JSON — ライブセッションの鍵は含みません",
+ "Takes effect on the next save": "次の保存から有効になります",
+ "Shortcuts & tips": "ショートカットとヒント",
+ "Shortcuts & tips (?)": "ショートカットとヒント(?)",
+ "More actions": "その他の操作",
+ "Export PDF (print)": "PDF 書き出し(印刷)",
+ "Save as… — copy, new space, password": "別名で保存… — コピー・新しいスペース・パスワード",
+ "About bento/spaces — version, updates, licenses": "bento/spaces について — バージョン・更新・ライセンス",
}
diff --git a/spaces/src/i18n/packed.ts b/spaces/src/i18n/packed.ts
index 762040be..3aa796fe 100644
--- a/spaces/src/i18n/packed.ts
+++ b/spaces/src/i18n/packed.ts
@@ -22,14 +22,13 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"A new block": ["新しいブロック","新建一个块","新增一個區塊","Un bloque nuevo","Un nouveau bloc","Ein neuer Block","Un nuovo blocco","Um bloco novo"],
"A note, tip or warning": ["メモ・ヒント・注意","注释、提示或警告","註記、提示或警告","Una nota, un consejo o una advertencia","Une note, un conseil ou un avertissement","Eine Notiz, ein Tipp oder eine Warnung","Una nota, un consiglio o un avviso","Uma nota, dica ou aviso"],
"A page cannot contain itself": ["ページを自分自身に入れることはできません","页面不能包含自身","頁面不能包含自己","Una página no puede contenerse a sí misma","Une page ne peut pas se contenir elle-même","Eine Seite kann sich nicht selbst enthalten","Una pagina non può contenere sé stessa","Uma página não pode conter-se a si própria"],
- "A password encrypts the document inside the file. There is no recovery — lose it and the space is gone.": ["パスワードはファイル内のドキュメントを暗号化します。復元手段はありません — 忘れたらこのスペースは失われます。","密码会加密文件内的文档。没有任何找回方式 — 密码丢了,空间就没了。","密碼會加密檔案內的文件。沒有任何復原方式 — 密碼一旦遺失,這個空間就沒了。","Una contraseña cifra el documento dentro del archivo. No hay forma de recuperarla — si la pierdes, el espacio desaparece.","Un mot de passe chiffre le document à l’intérieur du fichier. Il n’y a aucune récupération — perdez-le et l’espace est perdu.","Ein Passwort verschlüsselt das Dokument in der Datei. Es gibt keine Wiederherstellung — verlierst du es, ist der Space weg.","Una password cifra il documento dentro il file. Non c’è modo di recuperarla — se la perdi, lo spazio è perso.","Uma palavra-passe encripta o documento dentro do ficheiro. Não há recuperação — se a perder, o espaço desaparece."],
"A picture across the top of this page": ["このページ上部に表示する画像","显示在此页面顶部的图片","顯示在此頁面頂部的圖片","Una imagen en la parte superior de esta página","Une image en haut de cette page","Ein Bild am oberen Rand dieser Seite","Un'immagine in cima a questa pagina","Uma imagem no topo desta página"],
"A second file — the original is left alone": ["2 つ目のファイル — 元のファイルはそのまま","另存一个新文件 — 原文件不动","第二個檔案 — 原檔案不受影響","Un segundo archivo — el original queda intacto","Un second fichier — l’original reste intact","Eine zweite Datei — das Original bleibt unberührt","Un secondo file — l’originale resta intatto","Um segundo ficheiro — o original fica intacto"],
"A sort here is newer than this build and was not applied.": ["このビューには、このバージョンより新しい並び順があり、適用されていません。","此视图中有比当前版本更新的排序方式,未被应用。","此檢視中有比目前版本更新的排序方式,未被套用。","Un orden de esta vista es más reciente que esta versión y no se ha aplicado.","Un tri de cette vue est plus récent que cette version et n’a pas été appliqué.","Eine Sortierung dieser Ansicht ist neuer als diese Version und wurde nicht angewendet.","Un ordinamento di questa vista è più recente di questa versione e non è stato applicato.","Uma ordenação desta vista é mais recente do que esta versão e não foi aplicada."],
- "A space is never a dead end: the whole document is plain JSON in this file, and every page exports as Markdown.": ["スペースは行き止まりになりません。ドキュメント全体はこのファイル内のプレーンな JSON で、どのページも Markdown に書き出せます。","空间绝不是死胡同:整个文档就是这个文件里的纯 JSON,每个页面都能导出为 Markdown。","空間永遠不會是死路:整份文件就是此檔案中的純 JSON,每個頁面也都能匯出成 Markdown。","Un espacio nunca es un callejón sin salida: todo el documento es JSON plano dentro de este archivo, y cada página se exporta como Markdown.","Un espace n’est jamais une impasse : tout le document est du JSON brut dans ce fichier, et chaque page s’exporte en Markdown.","Ein Space ist nie eine Sackgasse: Das ganze Dokument ist reines JSON in dieser Datei, und jede Seite lässt sich als Markdown exportieren.","Uno spazio non è mai un vicolo cieco: l’intero documento è JSON puro dentro questo file, e ogni pagina si esporta in Markdown.","Um espaço nunca é um beco sem saída: todo o documento é JSON simples dentro deste ficheiro e todas as páginas se exportam para Markdown."],
"A space needs at least one page": ["スペースには少なくとも 1 ページが必要です","空间至少要有一个页面","空間至少要有一個頁面","Un espacio necesita al menos una página","Un espace doit contenir au moins une page","Ein Space braucht mindestens eine Seite","Uno spazio deve avere almeno una pagina","Um espaço precisa de pelo menos uma página"],
"A still frame, shown before play — and what a printout or a file preview shows": ["再生前に表示される静止画 — 印刷やファイルのプレビューで表示されるのもこれです","播放前显示的静帧 — 打印和文件预览中显示的也是它","播放前顯示的靜態畫面 — 列印和檔案預覽顯示的也是它","Un fotograma fijo, que se muestra antes de reproducir — y es lo que aparece al imprimir o en la vista previa del archivo","Une image fixe, affichée avant la lecture — et c’est elle qui apparaît à l’impression et dans l’aperçu du fichier","Ein Standbild, das vor dem Abspielen zu sehen ist — und das, was im Ausdruck und in der Dateivorschau erscheint","Un fotogramma fisso, mostrato prima della riproduzione — ed è quello che compare in stampa e nell’anteprima del file","Uma imagem fixa, mostrada antes da reprodução — e é o que aparece na impressão e na pré-visualização do ficheiro"],
"A typed value on this page": ["このページの型付きの値","此页面上的类型化值","此頁面上的型別值","Un valor con tipo en esta página","Une valeur typée sur cette page","Ein typisierter Wert auf dieser Seite","Un valore tipizzato su questa pagina","Um valor tipado nesta página"],
+ "About bento/spaces — version, updates, licenses": ["bento/spaces について — バージョン・更新・ライセンス","关于 bento/spaces — 版本、更新、许可证","關於 bento/spaces — 版本、更新、授權","Acerca de bento/spaces — versión, actualizaciones, licencias","À propos de bento/spaces — version, mises à jour, licences","Über bento/spaces — Version, Updates, Lizenzen","Informazioni su bento/spaces — versione, aggiornamenti, licenze","Acerca do bento/spaces — versão, atualizações, licenças"],
"About this space": ["このスペースについて","关于此空间","關於此空間","Acerca de este espacio","À propos de cet espace","Über diesen Space","Informazioni su questo spazio","Sobre este espaço"],
"Access reset — only copies saved from now on can join": ["アクセスをリセットしました — 今後保存したコピーだけが参加できます","访问已重置 — 只有此后保存的副本才能加入","存取已重設 — 只有此後儲存的副本才能加入","Acceso restablecido — solo las copias guardadas a partir de ahora podrán unirse","Accès réinitialisé — seules les copies enregistrées désormais pourront rejoindre","Zugriff zurückgesetzt — nur ab jetzt gespeicherte Kopien können beitreten","Accesso reimpostato — solo le copie salvate d’ora in poi potranno unirsi","Acesso redefinido — apenas cópias salvas de agora em diante podem entrar"],
"Add": ["追加","添加","新增","Añadir","Ajouter","Hinzufügen","Aggiungi","Adicionar"],
@@ -54,7 +53,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Alt text": ["代替テキスト","替代文本","替代文字","Texto alternativo","Texte alternatif","Alternativtext","Testo alternativo","Texto alternativo"],
"An update check is the only network this app makes on its own. It asks the release server for a signed manifest and sends nothing about you or this document — no ids, no telemetry.": ["更新の確認は、このアプリが自分から行う唯一の通信です。リリースサーバーに署名済みのマニフェストを求めるだけで、あなたやこの文書に関する情報は何も送りません。ID もテレメトリもありません。","检查更新是这个应用唯一会自行发起的网络请求。它只向发布服务器索取一份已签名的清单,不发送任何关于你或这份文档的信息——没有标识符,没有遥测。","檢查更新是這個應用程式唯一會自行發起的網路請求。它只向發布伺服器索取一份已簽署的清單,不傳送任何關於你或這份文件的資訊——沒有識別碼,沒有遙測。","La comprobación de actualizaciones es la única conexión de red que esta aplicación hace por su cuenta. Pide al servidor de versiones un manifiesto firmado y no envía nada sobre ti ni sobre este documento: sin identificadores, sin telemetría.","La vérification des mises à jour est la seule connexion réseau que cette application établit d’elle-même. Elle demande au serveur de versions un manifeste signé et n’envoie rien sur vous ni sur ce document — aucun identifiant, aucune télémétrie.","Die Update-Prüfung ist die einzige Netzverbindung, die diese App von sich aus herstellt. Sie holt vom Release-Server ein signiertes Manifest und sendet nichts über Sie oder dieses Dokument — keine Kennungen, keine Telemetrie.","Il controllo degli aggiornamenti è l’unica connessione di rete che questa app apre da sola. Chiede al server delle versioni un manifesto firmato e non invia nulla su di te o su questo documento: nessun identificativo, nessuna telemetria.","A verificação de atualizações é a única ligação de rede que esta aplicação faz por iniciativa própria. Pede ao servidor de versões um manifesto assinado e não envia nada sobre si nem sobre este documento — sem identificadores, sem telemetria."],
"Another bento/spaces file arrives as pages under the one you choose — its images come too, and the links inside it keep working.": ["別の bento/spaces ファイルは、選んだページの下にページとして取り込まれます。画像も一緒に入り、その中のリンクもそのまま使えます。","另一个 bento/spaces 文件会作为页面加入到你选择的页面之下——图片一并带入,其内部的链接照常可用。","另一個 bento/spaces 檔案會作為頁面加入到你選擇的頁面之下——圖片一併帶入,其內部的連結照常可用。","Otro archivo bento/spaces llega como páginas debajo de la que elijas: sus imágenes vienen también y los enlaces internos siguen funcionando.","Un autre fichier bento/spaces arrive sous la page que vous choisissez : ses images viennent aussi, et les liens qu’il contient continuent de fonctionner.","Eine andere bento/spaces-Datei kommt als Seiten unter der von Ihnen gewählten Seite an — ihre Bilder kommen mit, und die Links darin funktionieren weiter.","Un altro file bento/spaces arriva come pagine sotto quella che scegli: arrivano anche le sue immagini e i collegamenti al suo interno continuano a funzionare.","Outro ficheiro bento/spaces chega como páginas por baixo da que escolher — as imagens vêm também e as ligações lá dentro continuam a funcionar."],
- "Another bento/spaces file can arrive the same way, nested under any page.": ["別の bento/spaces ファイルも同じ方法で、任意のページの下に取り込めます。","另一个 bento/spaces 文件也能以同样的方式,嵌入到任意页面之下。","另一個 bento/spaces 檔案也能以同樣的方式,嵌入到任意頁面之下。","Otro archivo bento/spaces puede llegar del mismo modo, anidado bajo cualquier página.","Un autre fichier bento/spaces peut arriver de la même manière, imbriqué sous n’importe quelle page.","Eine andere bento/spaces-Datei kann auf dieselbe Weise ankommen, verschachtelt unter jeder beliebigen Seite.","Un altro file bento/spaces può arrivare allo stesso modo, annidato sotto qualsiasi pagina.","Outro ficheiro bento/spaces pode chegar da mesma forma, aninhado sob qualquer página."],
"Appearance": ["外観","外观","外觀","Apariencia","Apparence","Darstellung","Aspetto","Aspeto"],
"Apply": ["適用","应用","套用","Aplicar","Appliquer","Anwenden","Applica","Aplicar"],
"Archive": ["アーカイブ","归档","封存","Archivar","Archiver","Archivieren","Archivia","Arquivar"],
@@ -82,7 +80,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Cancel": ["キャンセル","取消","取消","Cancelar","Annuler","Abbrechen","Annulla","Cancelar"],
"Canvas": ["キャンバス","画布","畫布","Lienzo","Canevas","Leinwand","Tela","Tela"],
"Cards you place by hand": ["自由に配置できるカード","由你手动摆放的卡片","由你手動擺放的卡片","Tarjetas que colocas a mano","Des cartes que vous placez à la main","Karten, die du selbst platzierst","Schede che disponi a mano","Cartões que você posiciona à mão"],
- "Careful": ["取り扱い注意","请谨慎","請謹慎","Con cuidado","Prudence","Vorsicht","Attenzione","Cuidado"],
"Caution": ["注意","当心","當心","Precaución","Attention","Achtung","Attenzione","Cuidado"],
"Change password…": ["パスワードを変更…","更改密码…","變更密碼…","Cambiar contraseña…","Changer le mot de passe…","Passwort ändern…","Cambia password…","Alterar senha…"],
"Change the kind of callout": ["囲みの種類を変更","更改标注类型","變更標註類型","Cambiar el tipo de aviso","Changer le type d'encadré","Art des Hinweisfelds ändern","Cambia il tipo di riquadro","Alterar o tipo de destaque"],
@@ -98,7 +95,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Choose a different file": ["別のファイルを選ぶ","选择另一个文件","選擇另一個檔案","Elegir otro archivo","Choisir un autre fichier","Eine andere Datei wählen","Scegli un altro file","Escolher outro ficheiro"],
"Choose a file…": ["ファイルを選ぶ…","选择文件…","選擇檔案…","Elegir un archivo…","Choisir un fichier…","Datei wählen…","Scegli un file…","Escolher um ficheiro…"],
"Choose a folder…": ["フォルダーを選ぶ…","选择文件夹…","選擇資料夾…","Elegir una carpeta…","Choisir un dossier…","Ordner wählen…","Scegli una cartella…","Escolher uma pasta…"],
- "Choose a password. There is no way to recover it.": ["パスワードを決めてください。復元する方法はありません。","设置一个密码。它无法找回。","請設定密碼。沒有任何方法可以找回它。","Elige una contraseña. No hay forma de recuperarla.","Choisissez un mot de passe. Il est impossible de le récupérer.","Wähle ein Passwort. Es lässt sich nicht wiederherstellen.","Scegli una password. Non c’è modo di recuperarla.","Escolha uma palavra-passe. Não há forma de a recuperar."],
"Choose a space…": ["スペースを選ぶ…","选择一个空间…","選擇一個空間…","Elegir un espacio…","Choisir un espace…","Space auswählen…","Scegli uno spazio…","Escolher um espaço…"],
"Choose the field the columns come from": ["列のもとになるフィールドを選ぶ","选择用作分栏的字段","選擇作為欄的欄位","Elige el campo del que salen las columnas","Choisir le champ dont viennent les colonnes","Feld wählen, aus dem die Spalten kommen","Scegli il campo da cui nascono le colonne","Escolha o campo de onde vêm as colunas"],
"Choose the order": ["並び順を選ぶ","选择排序方式","選擇排序方式","Elige el orden","Choisir l’ordre","Reihenfolge wählen","Scegli l’ordine","Escolha a ordem"],
@@ -121,12 +117,12 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Comment · block": ["コメント · ブロック","评论 · 块","註解 · 區塊","Comentario · bloque","Commentaire · bloc","Kommentar · Block","Commento · blocco","Comentário · bloco"],
"Comment · page": ["コメント · ページ","评论 · 页面","註解 · 頁面","Comentario · página","Commentaire · page","Kommentar · Seite","Commento · pagina","Comentário · página"],
"Comment:": ["コメント:","评论:","註解:","Comentario:","Commentaire :","Kommentar:","Commento:","Comentário:"],
+ "Confirm password": ["パスワードを確認","确认密码","確認密碼","Confirmar contraseña","Confirmer le mot de passe","Passwort bestätigen","Conferma password","Confirmar senha"],
"Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": ["新しいコピーを保存せずにライブセッションへ接続します — 以前送ったコピーがここで合流します。","无需保存新副本即可连接实时会话 — 之前发送的副本会在这里与你会合。","無需儲存新副本即可連線即時會話 — 之前傳送的副本會在這裡與你會合。","Conéctate a la sesión en vivo sin guardar una copia nueva — las copias ya enviadas se unirán aquí.","Connectez-vous à la session live sans enregistrer de copie — les copies déjà envoyées vous y rejoindront.","Mit der Live-Sitzung verbinden, ohne eine neue Kopie zu speichern — bereits gesendete Kopien treffen dich hier.","Connettiti alla sessione live senza salvare una nuova copia — le copie già inviate ti raggiungeranno qui.","Conecte-se à sessão ao vivo sem salvar uma nova cópia — as cópias que você enviou antes encontrarão você lá."],
"Connecting…": ["接続中…","连接中…","連線中…","Conectando…","Connexion…","Verbinden…","Connessione…","Conectando…"],
"Contents": ["目次","目录","目錄","Índice","Sommaire","Inhalt","Indice","Índice"],
"Contents page": ["目次ページ","目录页","目錄頁","Página de índice","Page de sommaire","Inhaltsverzeichnis","Pagina indice","Página de índice"],
"Controls": ["コントロール","控件","控制項","Controles","Contrôles","Steuerelemente","Controlli","Controlos"],
- "Copied ✓": ["コピーしました ✓","已复制 ✓","已複製 ✓","Copiado ✓","Copié ✓","Kopiert ✓","Copiato ✓","Copiado ✓"],
"Copy document JSON": ["ドキュメント JSON をコピー","复制文档 JSON","複製文件 JSON","Copiar JSON del documento","Copier le JSON du document","Dokument-JSON kopieren","Copia JSON del documento","Copiar JSON do documento"],
"Copy saved — you are still editing the original": ["コピーを保存しました — 編集中なのは引き続き元のファイルです","副本已保存 — 你仍在编辑原文件","副本已儲存 — 你仍在編輯原始檔案","Copia guardada: sigues editando el original","Copie enregistrée — vous modifiez toujours l'original","Kopie gespeichert — du bearbeitest weiterhin das Original","Copia salvata: stai ancora modificando l'originale","Cópia guardada — continuas a editar o original"],
"Copy the document JSON": ["ドキュメント JSON をコピー","复制此文档的 JSON","複製文件 JSON","Copiar el JSON del documento","Copier le JSON du document","Dokument-JSON kopieren","Copia il JSON del documento","Copiar o JSON do documento"],
@@ -160,7 +156,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Drag to resize · double-click to reset": ["ドラッグで幅を変更 · ダブルクリックで既定に戻す","拖动可调整宽度 · 双击恢复默认","拖曳可調整寬度 · 雙擊還原預設","Arrastra para redimensionar · doble clic para restablecer","Glisser pour redimensionner · double-clic pour réinitialiser","Ziehen zum Anpassen · Doppelklick setzt zurück","Trascina per ridimensionare · doppio clic per reimpostare","Arrasta para redimensionar · duplo clique para repor"],
"Drop .md files or a folder here": [".md ファイルかフォルダーをここにドロップ","把 .md 文件或文件夹拖到这里","把 .md 檔案或資料夾拖到這裡","Suelta aquí archivos .md o una carpeta","Déposez ici des fichiers .md ou un dossier",".md-Dateien oder einen Ordner hierher ziehen","Trascina qui file .md o una cartella","Largue aqui ficheiros .md ou uma pasta"],
"Duplicate": ["複製","创建副本","建立副本","Duplicar","Dupliquer","Duplizieren","Duplica","Duplicar"],
- "Duplicate as a new space…": ["新しいスペースとして複製…","复制为新空间…","複製為新空間…","Duplicar como espacio nuevo…","Dupliquer comme nouvel espace…","Als neuen Space duplizieren…","Duplica come nuovo spazio…","Duplicar como novo espaço…"],
+ "Duplicate as new space…": ["新しいスペースとして複製…","复制为新空间…","複製為新空間…","Duplicar como espacio nuevo…","Dupliquer comme nouvel espace…","Als neuen Space duplizieren…","Duplica come nuovo spazio…","Duplicar como novo espaço…"],
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": [".md ファイルは 1 つずつページになり、フォルダーはページのツリーに、[[ウィキリンク]] は本物のリンクになります。ページは追加されるだけで、今あるものは置き換わりません。","每个 .md 文件变成一个页面,文件夹变成页面树,[[wiki 链接]] 变成真正的链接。页面是新增的——已有内容不会被替换。","每個 .md 檔案變成一個頁面,資料夾變成頁面樹,[[wiki 連結]] 變成真正的連結。頁面是新增的——既有內容不會被取代。","Cada archivo .md se convierte en una página, las carpetas forman el árbol de páginas y los [[wikilinks]] se vuelven enlaces reales. Las páginas se añaden: aquí no se reemplaza nada.","Chaque fichier .md devient une page, les dossiers deviennent l’arborescence des pages, et les [[wikilinks]] deviennent de vrais liens. Les pages s’ajoutent — rien n’est remplacé.","Jede .md-Datei wird eine Seite, Ordner werden zum Seitenbaum, [[Wikilinks]] werden echte Links. Seiten kommen hinzu — nichts hier wird ersetzt.","Ogni file .md diventa una pagina, le cartelle diventano l’albero delle pagine e i [[wikilink]] diventano link veri. Le pagine si aggiungono: qui non viene sostituito nulla.","Cada ficheiro .md passa a ser uma página, as pastas passam a ser a árvore de páginas e os [[wikilinks]] passam a ser ligações verdadeiras. As páginas são acrescentadas — nada aqui é substituído."],
"Edit": ["編集","编辑","編輯","Editar","Modifier","Bearbeiten","Modifica","Editar"],
"Edit this link card": ["このリンクカードを編集","编辑此链接卡片","編輯此連結卡片","Editar esta tarjeta de enlace","Modifier cette carte de lien","Diese Link-Karte bearbeiten","Modifica questa scheda di collegamento","Editar este cartão de link"],
@@ -169,14 +165,15 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Editor": ["編集者","编辑者","編輯者","Editor","Éditeur","Bearbeiter","Editor","Editor"],
"Editor copy saved — recipients join live with edit access": ["編集者コピーを保存しました — 受け取った人は編集権限つきでライブに参加します","编辑者副本已保存 — 收到的人可带编辑权限加入实时会话","編輯者副本已儲存 — 收到的人可帶編輯權限加入即時會話","Copia de editor guardada — quien la reciba se une en vivo con acceso de edición","Copie éditeur enregistrée — les destinataires rejoignent la session en direct avec accès en écriture","Bearbeiter-Kopie gespeichert — Empfänger treten live mit Schreibzugriff bei","Copia editor salvata — chi la riceve entra live con accesso in modifica","Cópia de editor salva — quem receber entra ao vivo com acesso de edição"],
"Embedded in the file": ["ファイルに埋め込み済み","已嵌入文件","已嵌入檔案","Incrustado en el archivo","Intégré au fichier","In der Datei eingebettet","Incorporato nel file","Embutido no arquivo"],
+ "Encrypt with password…": ["パスワードで暗号化…","使用密码加密…","以密碼加密…","Cifrar con contraseña…","Chiffrer avec un mot de passe…","Mit Passwort verschlüsseln…","Cifra con password…","Criptografar com senha…"],
"Enter the password to open it.": ["開くにはパスワードを入力してください。","输入密码以打开。","請輸入密碼以開啟。","Introduce la contraseña para abrirlo.","Saisissez le mot de passe pour l’ouvrir.","Gib das Passwort ein, um ihn zu öffnen.","Inserisci la password per aprirlo.","Introduza a palavra-passe para o abrir."],
"Every page opens wide on this screen from now on": ["この画面では今後すべてのページを広く表示します","在此屏幕上,之后所有页面都会以加宽方式打开","在此螢幕上,之後所有頁面都會以加寬方式開啟","A partir de ahora todas las páginas se abren anchas en esta pantalla","Désormais toutes les pages s’ouvrent en large sur cet écran","Auf diesem Bildschirm öffnen ab jetzt alle Seiten breit","Da ora tutte le pagine si aprono larghe su questo schermo","A partir de agora todas as páginas abrem largas neste ecrã"],
"Every page with a status": ["ステータスを持つすべてのページ","所有带状态的页面","所有帶狀態的頁面","Todas las páginas con estado","Toutes les pages ayant un statut","Jede Seite mit einem Status","Ogni pagina con uno stato","Todas as páginas com estado"],
"Every page, as one .md file": ["すべてのページを 1 つの .md ファイルに","所有页面合并为一个 .md 文件","所有頁面合併為一個 .md 檔","Todas las páginas, en un solo archivo .md","Toutes les pages, en un seul fichier .md","Jede Seite, in einer .md-Datei","Tutte le pagine, in un unico file .md","Todas as páginas num único ficheiro .md"],
"Everything in this space is replaced by what you paste. ⌘Z undoes it, but only while this window stays open.": ["このスペースの内容はすべて貼り付けた内容に置き換わります。⌘Z で元に戻せますが、それはこのウィンドウを開いている間だけです。","这个空间里的所有内容都会被你粘贴的内容替换。⌘Z 可以撤销,但仅限于这个窗口保持打开时。","這個空間裡的所有內容都會被你貼上的內容取代。⌘Z 可以復原,但僅限於這個視窗保持開啟時。","Todo lo que hay en este espacio se sustituye por lo que pegues. ⌘Z lo deshace, pero solo mientras esta ventana siga abierta.","Tout ce que contient cet espace est remplacé par ce que vous collez. ⌘Z annule l’opération, mais seulement tant que cette fenêtre reste ouverte.","Alles in diesem Space wird durch das ersetzt, was Sie einfügen. ⌘Z macht das rückgängig, aber nur solange dieses Fenster geöffnet bleibt.","Tutto ciò che si trova in questo spazio viene sostituito da quello che incolli. ⌘Z annulla l’operazione, ma solo finché questa finestra resta aperta.","Tudo o que está neste espaço é substituído pelo que colar. ⌘Z desfaz, mas só enquanto esta janela continuar aberta."],
"Export": ["書き出す","导出","匯出","Exportar","Exporter","Exportieren","Esporta","Exportar"],
+ "Export PDF (print)": ["PDF 書き出し(印刷)","导出 PDF(打印)","匯出 PDF(列印)","Exportar PDF (imprimir)","Exporter en PDF (imprimer)","PDF exportieren (Drucken)","Esporta PDF (stampa)","Exportar PDF (imprimir)"],
"Export a page as a space": ["ページをスペースとして書き出す","将页面导出为空间","將頁面匯出為空間","Exportar una página como espacio","Exporter une page comme espace","Eine Seite als Space exportieren","Esportare una pagina come spazio","Exportar uma página como espaço"],
- "Export as Markdown": ["Markdown で書き出す","导出为 Markdown","匯出為 Markdown","Exportar como Markdown","Exporter en Markdown","Als Markdown exportieren","Esporta come Markdown","Exportar como Markdown"],
"Export as Markdown…": ["Markdown で書き出す…","导出为 Markdown…","匯出為 Markdown…","Exportar como Markdown…","Exporter en Markdown…","Als Markdown exportieren…","Esporta come Markdown…","Exportar como Markdown…"],
"Export page as a space…": ["ページをスペースとして書き出す…","将页面导出为空间…","將頁面匯出為空間…","Exportar la página como espacio…","Exporter la page comme espace…","Seite als Space exportieren…","Esporta la pagina come spazio…","Exportar a página como espaço…"],
"Exported {n} page(s) as a new space": ["{n} ページを新しいスペースとして書き出しました","已将 {n} 个页面导出为新的空间","已將 {n} 個頁面匯出為新的空間","Se exportaron {n} página(s) como un espacio nuevo","{n} page(s) exportée(s) comme nouvel espace","{n} Seite(n) als neuen Space exportiert","{n} pagina/e esportata/e come nuovo spazio","{n} página(s) exportada(s) como um novo espaço"],
@@ -195,6 +192,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Full width": ["全幅","全宽","全寬","Ancho completo","Pleine largeur","Volle Breite","Larghezza piena","Largura total"],
"Gallery": ["ギャラリー","图库","圖庫","Galería","Galerie","Galerie","Galleria","Galeria"],
"Getting around": ["移動","导航","導覽","Moverse","Se déplacer","Navigieren","Spostarsi","Navegar"],
+ "Go live": ["ライブ開始","开始直播","開始直播","Ir en vivo","Passer en direct","Live gehen","Vai live","Ficar ao vivo"],
"Graph": ["グラフ","关系图","關係圖","Grafo","Graphe","Graph","Grafo","Grafo"],
"Gray": ["グレー","灰色","灰色","Gris","Gris","Grau","Grigio","Cinza"],
"Green": ["緑","绿色","綠色","Verde","Vert","Grün","Verde","Verde"],
@@ -208,7 +206,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Hide the page list ([)": ["ページ一覧を隠す([)","隐藏页面列表([)","隱藏頁面清單([)","Ocultar la lista de páginas ([)","Masquer la liste des pages ([)","Seitenliste ausblenden ([)","Nascondi l'elenco delle pagine ([)","Ocultar a lista de páginas ([)"],
"Highlight": ["ハイライト","高亮","螢光標示","Resaltado","Surlignage","Hervorhebung","Evidenziazione","Destaque"],
"Highlight — ⇧⌘H": ["ハイライト — ⇧⌘H","高亮 — ⇧⌘H","螢光標示 — ⇧⌘H","Resaltado — ⇧⌘H","Surlignage — ⇧⌘H","Hervorhebung — ⇧⌘H","Evidenziazione — ⇧⌘H","Destaque — ⇧⌘H"],
- "History": ["履歴","历史记录","歷史記錄","Historial","Historique","Verlauf","Cronologia","Histórico"],
"Icon": ["アイコン","图标","圖示","Icono","Icône","Symbol","Icona","Ícone"],
"Image": ["画像","图片","影像","Imagen","Image","Bild","Immagine","Imagem"],
"Image added ({size})": ["画像を追加しました({size})","已添加图片 ({size})","已新增圖片 ({size})","Imagen añadida ({size})","Image ajoutée ({size})","Bild hinzugefügt ({size})","Immagine aggiunta ({size})","Imagem adicionada ({size})"],
@@ -236,7 +233,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Italic — ⌘I": ["イタリック — ⌘I","斜体 — ⌘I","斜體 — ⌘I","Cursiva — ⌘I","Italique — ⌘I","Kursiv — ⌘I","Corsivo — ⌘I","Itálico — ⌘I"],
"Journal date": ["ジャーナルの日付","日志日期","日誌日期","Fecha del diario","Date du journal","Journaldatum","Data del diario","Data do diário"],
"Key-verified identity": ["鍵で検証済みのアイデンティティ","密钥验证的身份","金鑰驗證的身份","Identidad verificada por clave","Identité vérifiée par clé","Schlüssel-verifizierte Identität","Identità verificata da chiave","Identidade verificada por chave"],
- "Keyboard shortcuts": ["キーボードショートカット","键盘快捷键","鍵盤快速鍵","Atajos de teclado","Raccourcis clavier","Tastaturkürzel","Scorciatoie da tastiera","Atalhos de teclado"],
"Labels": ["ラベル","标签","標籤","Etiquetas","Étiquettes","Labels","Etichette","Etiquetas"],
"Language": ["言語","语言","語言","Idioma","Langue","Sprache","Lingua","Idioma"],
"Language follows whoever opens the file. It is never written into the document.": ["言語はファイルを開いた人に従います。ドキュメントには書き込まれません。","语言跟随打开文件的人,绝不会写入文档。","語言取決於開啟檔案的人,永遠不會寫入文件中。","El idioma sigue a quien abre el archivo. Nunca se escribe en el documento.","La langue suit la personne qui ouvre le fichier. Elle n’est jamais écrite dans le document.","Die Sprache richtet sich danach, wer die Datei öffnet. Sie wird nie ins Dokument geschrieben.","La lingua segue chi apre il file. Non viene mai scritta nel documento.","O idioma segue quem abre o ficheiro. Nunca é escrito no documento."],
@@ -270,7 +266,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Manual order": ["手動の並び順","手动排序","手動排序","Orden manual","Ordre manuel","Manuelle Reihenfolge","Ordine manuale","Ordem manual"],
"Match my system": ["システムに合わせる","跟随系统","跟隨系統","Según el sistema","Comme le système","Systemeinstellung folgen","Come il sistema","Acompanhar o sistema"],
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": ["まったく新しい鍵を発行します。これまでに送ったコピーは永久に同期しなくなります。以後は新しいコピーを共有してください。","铸造全新密钥。之前发送的所有副本将永久停止同步;此后请分享新副本。","鑄造全新金鑰。之前傳送的所有副本將永久停止同步;此後請分享新副本。","Genera claves totalmente nuevas. Todas las copias enviadas dejan de sincronizarse para siempre; comparte copias nuevas después.","Génère des clés toutes neuves. Chaque copie déjà envoyée cesse définitivement de se synchroniser ; partagez ensuite de nouvelles copies.","Erzeugt brandneue Schlüssel. Jede bereits gesendete Kopie synchronisiert endgültig nicht mehr; teile danach frische Kopien.","Genera chiavi nuove di zecca. Ogni copia già inviata smette per sempre di sincronizzarsi; condividi poi copie nuove.","Gera chaves novas em folha. Toda cópia enviada antes para de sincronizar de vez; compartilhe cópias novas depois."],
- "More": ["その他","更多","更多","Más","Plus","Mehr","Altro","Mais"],
+ "More actions": ["その他の操作","更多操作","更多操作","Más acciones","Plus d’actions","Weitere Aktionen","Altre azioni","Mais ações"],
"Move down": ["下へ移動","下移","下移","Bajar","Descendre","Nach unten","Sposta giù","Mover para baixo"],
"Move up": ["上へ移動","上移","上移","Subir","Monter","Nach oben","Sposta su","Mover para cima"],
"Muted": ["ミュート","静音","靜音","Silenciado","Muet","Stumm","Muto","Sem som"],
@@ -290,6 +286,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"No issues match this filter.": ["この条件に一致するイシューはありません。","没有符合此筛选条件的事项。","沒有符合此篩選條件的項目。","Ninguna incidencia coincide con este filtro.","Aucun ticket ne correspond à ce filtre.","Keine Issues entsprechen diesem Filter.","Nessuna issue corrisponde a questo filtro.","Nenhuma tarefa corresponde a este filtro."],
"No issues yet. Add a status field to any page and it appears here.": ["まだイシューはありません。どれかのページにステータス項目を追加すると、ここに表示されます。","还没有事项。给任意页面添加状态字段,它就会出现在这里。","還沒有項目。為任一頁面新增狀態欄位,它就會出現在這裡。","Aún no hay incidencias. Añade un campo de estado a cualquier página y aparecerá aquí.","Aucun ticket pour l’instant. Ajoutez un champ statut à une page et elle apparaîtra ici.","Noch keine Issues. Gib einer Seite ein Status-Feld, dann erscheint sie hier.","Ancora nessuna issue. Aggiungi un campo stato a una pagina e comparirà qui.","Ainda não há tarefas. Adiciona um campo de estado a qualquer página e ela aparece aqui."],
"No pages yet": ["ページがまだありません","还没有页面","尚無頁面","Aún no hay páginas","Aucune page pour l’instant","Noch keine Seiten","Ancora nessuna pagina","Ainda sem páginas"],
+ "No recovery — lose the password and the space is gone": ["復元できません — パスワードを失うとスペースも失われます","无法找回 — 丢失密码,空间也就没了","無法找回 — 遺失密碼,空間也就沒了","Sin recuperación: si pierdes la contraseña, pierdes el espacio","Aucune récupération : perdez le mot de passe et l’espace est perdu","Keine Wiederherstellung — Passwort verloren, Space verloren","Nessun recupero: se perdi la password, perdi lo spazio","Sem recuperação — perca a senha e o espaço se perde"],
"No versions yet — they build up as you write and save.": ["まだバージョンはありません。書いて保存するたびに増えていきます。","暂无版本。随着你的书写和保存,版本会逐渐累积。","尚無版本。隨著你的書寫與儲存,版本會逐漸累積。","Aún no hay versiones: se acumulan a medida que escribes y guardas.","Pas encore de versions — elles s’accumulent à mesure que vous écrivez et enregistrez.","Noch keine Versionen — sie sammeln sich beim Schreiben und Speichern an.","Ancora nessuna versione: si accumulano mentre scrivi e salvi.","Ainda sem versões — vão-se acumulando à medida que escreves e guardas."],
"Not in this file: it needs the network, and the site is told when someone opens the page": ["このファイルの中にはありません。再生にはネットワークが必要で、誰かがこのページを開いたことがそのサイトに伝わります","不在此文件内:播放需要联网,而且该网站会知道有人打开了这个页面","不在這個檔案裡:播放需要網路,而且該網站會知道有人開啟了這個頁面","No está en este archivo: necesita la red, y ese sitio sabrá que alguien ha abierto esta página","N’est pas dans ce fichier : la lecture nécessite le réseau, et ce site saura que quelqu’un a ouvert cette page","Nicht in dieser Datei: das Abspielen braucht das Netz, und die Website erfährt, dass jemand diese Seite geöffnet hat","Non è dentro questo file: per riprodurla serve la rete, e quel sito saprà che qualcuno ha aperto questa pagina","Não está neste ficheiro: precisa da rede, e esse site fica a saber que alguém abriu esta página"],
"Not live — turns on when you share": ["未接続 — 共有すると自動的にライブになります","未上线 — 分享时自动开启","未上線 — 分享時自動開啟","Sin conexión — se activa al compartir","Hors ligne — s’active quand vous partagez","Nicht live — startet beim Teilen","Non live — si attiva quando condividi","Fora do ar — ativa quando você compartilha"],
@@ -317,7 +314,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Open only": ["未完了のみ","仅未完成","僅未完成","Solo abiertas","Ouverts seulement","Nur offene","Solo aperte","Apenas em aberto"],
"Orange": ["オレンジ","橙色","橘色","Naranja","Orange","Orange","Arancione","Laranja"],
"Other": ["その他","其他","其他","Otras","Autres","Sonstige","Altre","Outras"],
- "Other ways to save": ["その他の保存方法","其他保存方式","其他儲存方式","Otras formas de guardar","Autres façons d’enregistrer","Weitere Speicheroptionen","Altri modi per salvare","Outras formas de guardar"],
"Out of the sidebar, still searchable and linkable": ["サイドバーから外れますが、検索もリンクもできます","移出侧边栏,仍可搜索和链接","移出側邊欄,仍可搜尋與連結","Fuera de la barra lateral, pero aún se puede buscar y enlazar","Hors de la barre latérale, toujours dans la recherche et les liens","Weg aus der Seitenleiste, weiterhin auffindbar und verlinkbar","Fuori dalla barra laterale, ma sempre ricercabile e collegabile","Fora da barra lateral, mas continua pesquisável e ligável"],
"Owner": ["オーナー","所有者","擁有者","Propietario","Propriétaire","Eigentümer","Proprietario","Dono"],
"Page": ["ページ","页面","頁面","Página","Page","Seite","Pagina","Página"],
@@ -330,13 +326,15 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Password": ["パスワード","密码","密碼","Contraseña","Mot de passe","Passwort","Password","Palavra-passe"],
"Password removed. Save to write the space unencrypted.": ["パスワードを削除しました。保存すると、このスペースは暗号化なしで書き込まれます。","已移除密码。保存后空间将以未加密方式写入。","已移除密碼。儲存後空間將以未加密方式寫入。","Contraseña eliminada. Guarda para escribir el espacio sin cifrar.","Mot de passe supprimé. Enregistrez pour écrire l’espace non chiffré.","Passwort entfernt. Speichere, um den Space unverschlüsselt zu schreiben.","Password rimossa. Salva per scrivere lo spazio non cifrato.","Palavra-passe removida. Guarde para escrever o espaço sem encriptação."],
"Password set. Save to write the space encrypted.": ["パスワードを設定しました。保存すると、このスペースは暗号化して書き込まれます。","已设置密码。保存后空间将以加密方式写入。","已設定密碼。儲存後空間將以加密方式寫入。","Contraseña establecida. Guarda para escribir el espacio cifrado.","Mot de passe défini. Enregistrez pour écrire l’espace chiffré.","Passwort gesetzt. Speichere, um den Space verschlüsselt zu schreiben.","Password impostata. Salva per scrivere lo spazio cifrato.","Palavra-passe definida. Guarde para escrever o espaço encriptado."],
+ "Passwords do not match": ["パスワードが一致しません","两次输入的密码不一致","兩次輸入的密碼不一致","Las contraseñas no coinciden","Les mots de passe ne correspondent pas","Passwörter stimmen nicht überein","Le password non coincidono","As senhas não coincidem"],
"Paste document JSON here…": ["ここにドキュメント JSON を貼り付け…","在此粘贴文档 JSON…","在此貼上文件 JSON…","Pega aquí el JSON del documento…","Collez le JSON du document ici…","Dokument-JSON hier einfügen…","Incolla qui il JSON del documento…","Cole aqui o JSON do documento…"],
"Paste or type a link": ["リンクを貼り付けるか入力してください","粘贴或输入链接","貼上或輸入連結","Pega o escribe un enlace","Collez ou saisissez un lien","Link einfügen oder eingeben","Incolla o scrivi un collegamento","Cole ou digite um link"],
- "People in this space": ["このスペースにいる人","此空间中的人","此空間中的人","Personas en este espacio","Personnes dans cet espace","Personen in diesem Space","Persone in questo spazio","Pessoas neste espaço"],
+ "People": ["メンバー","成员","成員","Personas","Personnes","Personen","Persone","Pessoas"],
"Person": ["担当者","人员","人員","Persona","Personne","Person","Persona","Pessoa"],
"Picture": ["画像","图片","圖片","Imagen","Image","Bild","Immagine","Imagem"],
"Picture…": ["画像…","图片…","圖片…","Imagen…","Image…","Bild…","Immagine…","Imagem…"],
"Pink": ["ピンク","粉色","粉紅色","Rosa","Rose","Rosa","Rosa","Rosa"],
+ "Plain JSON of every page — no live-session keys": ["全ページのプレーンな JSON — ライブセッションの鍵は含みません","所有页面的纯 JSON — 不含实时会话密钥","所有頁面的純 JSON — 不含即時工作階段金鑰","JSON plano de todas las páginas — sin claves de la sesión en vivo","Le JSON brut de toutes les pages — sans les clés de la session en direct","Reines JSON aller Seiten — ohne Schlüssel der Live-Sitzung","JSON semplice di tutte le pagine — senza chiavi della sessione live","JSON simples de todas as páginas — sem chaves da sessão ao vivo"],
"Plain paragraph": ["通常の段落","普通段落","一般段落","Párrafo normal","Paragraphe simple","Einfacher Absatz","Paragrafo semplice","Parágrafo simples"],
"Plain text": ["プレーンテキスト","纯文本","純文字","Texto sin formato","Texte brut","Nur Text","Testo semplice","Texto simples"],
"Plays in the page": ["ページ内で再生します","在页面中播放","在頁面中播放","Se reproduce en la página","Se lit dans la page","Wird auf der Seite abgespielt","Si riproduce nella pagina","Reproduz na página"],
@@ -375,13 +373,14 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Repeat when it reaches the end": ["最後まで再生したら繰り返す","播放到结尾后重新开始","播放到結尾後重新開始","Repetir al llegar al final","Recommencer à la fin","Am Ende von vorn beginnen","Ricomincia quando arriva alla fine","Recomeçar quando chegar ao fim"],
"Replace": ["置き換える","替换","取代","Sustituir","Remplacer","Ersetzen","Sostituisci","Substituir"],
"Replace all": ["すべて置換","全部替换","全部取代","Reemplazar todo","Tout remplacer","Alle ersetzen","Sostituisci tutto","Substituir tudo"],
- "Replace every page from pasted JSON?": ["貼り付けた JSON ですべてのページを置き換えますか?","用粘贴的 JSON 替换所有页面吗?","用貼上的 JSON 取代所有頁面嗎?","¿Sustituir todas las páginas por el JSON pegado?","Remplacer toutes les pages par le JSON collé ?","Alle Seiten durch das eingefügte JSON ersetzen?","Sostituire tutte le pagine con il JSON incollato?","Substituir todas as páginas pelo JSON colado?"],
+ "Replace from JSON": ["JSON から置き換え","从 JSON 替换","從 JSON 取代","Reemplazar desde JSON","Remplacer depuis JSON","Aus JSON ersetzen","Sostituisci da JSON","Substituir a partir de JSON"],
"Replace from JSON…": ["JSON から置き換え…","从 JSON 替换…","從 JSON 取代…","Reemplazar desde JSON…","Remplacer depuis JSON…","Aus JSON ersetzen…","Sostituisci da JSON…","Substituir a partir de JSON…"],
"Replace picture": ["画像を差し替え","替换图片","替換圖片","Sustituir la imagen","Remplacer l’image","Bild ersetzen","Sostituisci l'immagine","Substituir a imagem"],
"Replace with": ["置換後の文字列","替换为","取代為","Reemplazar por","Remplacer par","Ersetzen durch","Sostituisci con","Substituir por"],
"Replace with…": ["置換後の文字列…","替换为…","取代為…","Reemplazar por…","Remplacer par…","Ersetzen durch…","Sostituisci con…","Substituir por…"],
"Replace {n} occurrence(s) across the whole space?": ["スペース全体で {n} 件を置換しますか?","要在整个空间中替换 {n} 处吗?","要取代整個空間中的 {n} 處嗎?","¿Reemplazar {n} coincidencia(s) en todo el espacio?","Remplacer {n} occurrence(s) dans tout l’espace ?","{n} Vorkommen im ganzen Space ersetzen?","Sostituire {n} occorrenze in tutto lo spazio?","Substituir {n} ocorrência(s) em todo o espaço?"],
"Replaced": ["置換しました","已替换","已取代","Reemplazado","Remplacé","Ersetzt","Sostituite","Substituído"],
+ "Replaces every page — ⌘Z undoes": ["すべてのページを置き換えます — ⌘Z で元に戻せます","替换所有页面 — ⌘Z 可撤销","取代所有頁面 — ⌘Z 可復原","Reemplaza todas las páginas — ⌘Z lo deshace","Remplace toutes les pages — ⌘Z annule","Ersetzt alle Seiten — ⌘Z macht es rückgängig","Sostituisce tutte le pagine — ⌘Z annulla","Substitui todas as páginas — ⌘Z desfaz"],
"Replace…": ["置き換える…","替换…","取代…","Reemplazar…","Remplacer…","Ersetzen…","Sostituisci…","Substituir…"],
"Reply": ["返信","回复","回覆","Responder","Répondre","Antworten","Rispondi","Responder"],
"Reply…": ["返信…","回复…","回覆…","Responder…","Répondre…","Antworten…","Rispondi…","Responder…"],
@@ -395,10 +394,12 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Room for a board or a table": ["ボードや表にちょうどよい幅","给看板或表格留出空间","給看板或表格留出空間","Espacio para un tablero o una tabla","De la place pour un tableau","Platz für ein Board oder eine Tabelle","Spazio per una bacheca o una tabella","Espaço para um quadro ou uma tabela"],
"Rows": ["行","行","列","Filas","Lignes","Zeilen","Righe","Linhas"],
"Rows and columns": ["行と列","行和列","列與欄","Filas y columnas","Lignes et colonnes","Zeilen und Spalten","Righe e colonne","Linhas e colunas"],
+ "Same pages, new identity — it never syncs with this one": ["同じページ、新しい ID — このスペースとは同期しません","页面相同,身份全新 — 永不与此空间同步","頁面相同,身分全新 — 永不與此空間同步","Las mismas páginas, una identidad nueva — nunca se sincroniza con este","Les mêmes pages, une nouvelle identité — il ne se synchronise jamais avec celui-ci","Dieselben Seiten, neue Identität — synchronisiert nie mit diesem Space","Le stesse pagine, una nuova identità — non si sincronizza mai con questo","As mesmas páginas, uma nova identidade — nunca sincroniza com este"],
"Save": ["保存","保存","儲存","Guardar","Enregistrer","Speichern","Salva","Guardar"],
"Save (⌘S)": ["保存 (⌘S)","保存 (⌘S)","儲存 (⌘S)","Guardar (⌘S)","Enregistrer (⌘S)","Speichern (⌘S)","Salva (⌘S)","Guardar (⌘S)"],
"Save a copy…": ["コピーを保存…","保存副本…","儲存副本…","Guardar una copia…","Enregistrer une copie…","Kopie speichern…","Salva una copia…","Guardar uma cópia…"],
"Save an untouched copy…": ["元のままのコピーを保存…","另存副本,原文件不动…","儲存原封不動的副本…","Guardar una copia intacta…","Enregistrer une copie sans toucher à l’original…","Unveränderte Kopie speichern…","Salva una copia senza toccare l’originale…","Guardar uma cópia intacta…"],
+ "Save as… — copy, new space, password": ["別名で保存… — コピー・新しいスペース・パスワード","另存为… — 副本、新空间、密码","另存為… — 副本、新空間、密碼","Guardar como… — copia, espacio nuevo, contraseña","Enregistrer sous… — copie, nouvel espace, mot de passe","Speichern unter… — Kopie, neuer Space, Passwort","Salva come… — copia, nuovo spazio, password","Guardar como… — cópia, novo espaço, palavra-passe"],
"Save failed — see console": ["保存に失敗 — コンソールを確認","保存失败 — 请查看控制台","儲存失敗 — 請查看主控台","Error al guardar — mira la consola","Échec de l’enregistrement — voir la console","Speichern fehlgeschlagen — siehe Konsole","Salvataggio non riuscito — vedi console","Falha ao guardar — vê a consola"],
"Saved": ["保存しました","已保存","已儲存","Guardado","Enregistré","Gespeichert","Salvato","Guardado"],
"Saved a new copy": ["新しいコピーを保存しました","已保存新副本","已儲存新副本","Se guardó una copia nueva","Nouvelle copie enregistrée","Neue Kopie gespeichert","Salvata una nuova copia","Nova cópia guardada"],
@@ -409,9 +410,11 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Search all pages…": ["全ページを検索…","搜索所有页面…","搜尋所有頁面…","Buscar en todas las páginas…","Rechercher dans toutes les pages…","Alle Seiten durchsuchen…","Cerca in tutte le pagine…","Pesquisar em todas as páginas…"],
"Search this space": ["このスペースを検索","搜索此空间","搜尋此空間","Buscar en este espacio","Rechercher dans cet espace","Diesen Space durchsuchen","Cerca in questo spazio","Pesquisar neste espaço"],
"Select": ["選択","单选","單選","Selección","Sélection","Auswahl","Selezione","Seleção"],
- "Set a password…": ["パスワードを設定…","设置密码…","設定密碼…","Establecer una contraseña…","Définir un mot de passe…","Passwort festlegen…","Imposta una password…","Definir uma palavra-passe…"],
+ "Set password": ["パスワードを設定","设置密码","設定密碼","Establecer contraseña","Définir le mot de passe","Passwort festlegen","Imposta password","Definir senha"],
"Share": ["共有","共享","共用","Compartir","Partager","Teilen","Condividi","Compartilhar"],
- "Share this space": ["このスペースを共有","共享此空间","分享此空間","Compartir este espacio","Partager cet espace","Diesen Space teilen","Condividi questo spazio","Partilhar este espaço"],
+ "Share a copy": ["コピーを共有","分享副本","分享副本","Compartir una copia","Partager une copie","Kopie teilen","Condividi una copia","Compartilhar uma cópia"],
+ "Shortcuts & tips": ["ショートカットとヒント","快捷键与提示","快速鍵與提示","Atajos y consejos","Raccourcis et astuces","Tastenkürzel & Tipps","Scorciatoie e suggerimenti","Atalhos e dicas"],
+ "Shortcuts & tips (?)": ["ショートカットとヒント(?)","快捷键与提示(?)","快速鍵與提示(?)","Atajos y consejos (?)","Raccourcis et astuces (?)","Tastenkürzel & Tipps (?)","Scorciatoie e suggerimenti (?)","Atalhos e dicas (?)"],
"Show as a board": ["ボードで表示","以看板显示","以看板顯示","Mostrar como tablero","Afficher en tableau","Als Board anzeigen","Mostra come bacheca","Mostrar como quadro"],
"Show as a gallery": ["ギャラリーで表示","以图库显示","以圖庫顯示","Mostrar como galería","Afficher en galerie","Als Galerie anzeigen","Mostra come galleria","Mostrar como galeria"],
"Show as a list": ["リストで表示","以列表显示","以清單顯示","Mostrar como lista","Afficher en liste","Als Liste anzeigen","Mostra come elenco","Mostrar como lista"],
@@ -427,7 +430,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Sort by {field}": ["{field}で並べ替え","按{field}排序","依{field}排序","Ordenar por {field}","Trier par {field}","Nach {field} sortieren","Ordina per {field}","Ordenar por {field}"],
"Space name": ["スペース名","空间名称","空間名稱","Nombre del espacio","Nom de l’espace","Space-Name","Nome dello spazio","Nome do espaço"],
"Square": ["正方形","方形","方形","Cuadrado","Carré","Quadratisch","Quadrato","Quadrado"],
- "Start live session": ["ライブセッションを開始","开始实时会话","開始即時工作階段","Iniciar sesión en vivo","Démarrer la session en direct","Live-Sitzung starten","Avvia sessione dal vivo","Iniciar sessão ao vivo"],
"Start silent": ["音を出さずに開始する","开始时静音","開始時靜音","Empezar en silencio","Démarrer sans le son","Ohne Ton starten","Parti senza audio","Começar sem som"],
"Stop sharing": ["共有を停止","停止共享","停止共用","Dejar de compartir","Arrêter le partage","Freigabe beenden","Interrompi condivisione","Parar de compartilhar"],
"Stop widening every page": ["すべてのページを広げるのをやめる","不再加宽所有页面","不再加寬所有頁面","Dejar de ensanchar todas las páginas","Ne plus élargir toutes les pages","Nicht mehr alle Seiten verbreitern","Smetti di allargare tutte le pagine","Deixar de alargar todas as páginas"],
@@ -435,8 +437,8 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Strikethrough": ["取り消し線","删除线","刪除線","Tachado","Barré","Durchgestrichen","Barrato","Tachado"],
"Strikethrough — ⇧⌘S": ["取り消し線 — ⇧⌘S","删除线 — ⇧⌘S","刪除線 — ⇧⌘S","Tachado — ⇧⌘S","Barré — ⇧⌘S","Durchgestrichen — ⇧⌘S","Barrato — ⇧⌘S","Tachado — ⇧⌘S"],
"Table": ["表","表格","表格","Tabla","Tableau","Tabelle","Tabella","Tabela"],
- "Take it elsewhere": ["外に持ち出す","把内容带走","把內容帶走","Llévatelo a otra parte","Emportez-le ailleurs","Woanders weitermachen","Portalo altrove","Levar para outro lado"],
"Taken from the address if blank": ["空欄ならアドレスから取り込みます","留空则取自网址","留空則取自網址","Si se deja vacío, se toma de la dirección","Si vide, repris de l’adresse","Bleibt das Feld leer, wird er aus der Adresse übernommen","Se vuoto, viene preso dall'indirizzo","Se ficar vazio, é retirado do endereço"],
+ "Takes effect on the next save": ["次の保存から有効になります","下次保存时生效","下次儲存時生效","Se aplica en el próximo guardado","Prend effet au prochain enregistrement","Gilt ab der nächsten Speicherung","Ha effetto dal prossimo salvataggio","Vale a partir do próximo salvamento"],
"Tall": ["縦長","竖向","直式","Alto","Haut","Hoch","Alto","Alto"],
"Text": ["テキスト","文本","文字","Texto","Texte","Text","Testo","Texto"],
"Text and background color": ["文字色と背景色","文字与背景颜色","文字與背景顏色","Color de texto y de fondo","Couleur du texte et du fond","Text- und Hintergrundfarbe","Colore del testo e dello sfondo","Cor do texto e do plano de fundo"],
@@ -452,7 +454,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"That space is password-protected. Open it, then export the pages you want.": ["そのスペースはパスワードで保護されています。開いてから、必要なページを書き出してください。","该空间受密码保护。请先打开它,再导出你需要的页面。","該空間受密碼保護。請先開啟它,再匯出你需要的頁面。","Ese espacio está protegido con contraseña. Ábrelo y exporta desde allí las páginas que quieras.","Cet espace est protégé par un mot de passe. Ouvrez-le, puis exportez-en les pages voulues.","Dieser Space ist passwortgeschützt. Öffnen Sie ihn und exportieren Sie dort die gewünschten Seiten.","Quello spazio è protetto da password. Aprilo e da lì esporta le pagine che vuoi.","Esse espaço está protegido por palavra-passe. Abra-o e exporte de lá as páginas que quiser."],
"That version could not be read": ["そのバージョンを読み込めませんでした","无法读取该版本","無法讀取該版本","No se pudo leer esa versión","Cette version n’a pas pu être lue","Diese Version konnte nicht gelesen werden","Non è stato possibile leggere quella versione","Não foi possível ler essa versão"],
"The block menu, on an empty line": ["空行でブロックメニュー","在空行上打开块菜单","在空行上開啟區塊選單","El menú de bloques, en una línea vacía","Le menu de blocs, sur une ligne vide","Das Blockmenü, in einer leeren Zeile","Il menu dei blocchi, su una riga vuota","O menu de blocos, numa linha vazia"],
- "The counterpart of Copy document JSON: edit a space in another tool, then bring it back.": ["「文書 JSON をコピー」の対になる機能です。別のツールでスペースを編集して、ここへ戻せます。","“复制文档 JSON”的对应功能:在别的工具里编辑一个空间,再把它带回来。","「複製文件 JSON」的對應功能:在別的工具裡編輯一個空間,再把它帶回來。","La contraparte de Copiar el JSON del documento: edita un espacio en otra herramienta y vuelve a traerlo.","Le pendant de Copier le JSON du document : modifiez un espace dans un autre outil, puis ramenez-le ici.","Das Gegenstück zu „Dokument-JSON kopieren“: Bearbeiten Sie einen Space in einem anderen Werkzeug und bringen Sie ihn zurück.","Il corrispettivo di Copia il JSON del documento: modifica uno spazio in un altro strumento e riportalo qui.","O par de Copiar o JSON do documento: edite um espaço noutra ferramenta e traga-o de volta."],
"The day after": ["翌日","后一天","後一天","El día siguiente","Le lendemain","Der Tag danach","Il giorno dopo","O dia seguinte"],
"The day before": ["前日","前一天","前一天","El día anterior","La veille","Der Tag davor","Il giorno prima","O dia anterior"],
"The document block is not shaped like a space — {detail}.": ["ドキュメントブロックがスペースの形をしていません — {detail}。","文档数据块的结构不像一个空间 — {detail}。","檔案中的文件資料結構不像一個空間 — {detail}。","El bloque del documento no tiene la forma de un espacio — {detail}.","Le bloc de document n’a pas la forme d’un espace — {detail}.","Der Dokumentblock ist nicht wie ein Space aufgebaut — {detail}.","Il blocco del documento non ha la forma di uno spazio — {detail}.","O bloco do documento não tem a forma de um espaço — {detail}."],
@@ -460,8 +461,10 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"The document, the editor and the search are all in this one file. Opening it needs nothing else — no server, no account, no install.": ["文書もエディタも検索も、すべてこの 1 つのファイルに入っています。開くのに他は何も要りません。サーバーもアカウントもインストールも不要です。","文档、编辑器和搜索都在这一个文件里。打开它不需要别的东西——不需要服务器、账号或安装。","文件、編輯器和搜尋都在這一個檔案裡。開啟它不需要別的東西——不需要伺服器、帳號或安裝。","El documento, el editor y la búsqueda están todos en este único archivo. Abrirlo no necesita nada más: ni servidor, ni cuenta, ni instalación.","Le document, l’éditeur et la recherche tiennent tous dans ce seul fichier. L’ouvrir ne demande rien d’autre : ni serveur, ni compte, ni installation.","Das Dokument, der Editor und die Suche stecken alle in dieser einen Datei. Zum Öffnen braucht es sonst nichts — keinen Server, kein Konto, keine Installation.","Il documento, l’editor e la ricerca stanno tutti in questo unico file. Per aprirlo non serve altro: nessun server, nessun account, nessuna installazione.","O documento, o editor e a pesquisa estão todos neste único ficheiro. Abri-lo não precisa de mais nada — nem servidor, nem conta, nem instalação."],
"The images in these notes come to {size} so far, and they all travel inside the file. Keep embedding them?": ["これらのノートの画像はすでに {size} あり、すべてファイルの中を一緒に運ばれます。埋め込みを続けますか?","这些笔记里的图片已经有 {size},而且都会随文件一起走。继续嵌入吗?","這些筆記裡的圖片已經有 {size},而且都會隨檔案一起走。要繼續嵌入嗎?","Las imágenes de estas notas suman ya {size} y todas viajan dentro del archivo. ¿Seguir incrustándolas?","Les images de ces notes font déjà {size}, et elles voyagent toutes dans le fichier. Continuer à les intégrer ?","Die Bilder in diesen Notizen ergeben bisher {size}, und sie reisen alle in der Datei mit. Weiter einbetten?","Le immagini di queste note sono già {size} e viaggiano tutte dentro il file. Continuare a incorporarle?","As imagens destas notas já somam {size} e viajam todas dentro do ficheiro. Continuar a incorporá-las?"],
"The live session couldn’t store that change. It’s saved in your copy, but collaborators won’t see it.": ["ライブセッションがこの変更を保存できませんでした。自分のコピーには保存されますが、共同編集者には表示されません。","实时会话无法保存该更改。它已保存在你的副本中,但协作者不会看到。","即時工作階段無法儲存此變更。它已儲存在你的副本中,但協作者不會看到。","La sesión en vivo no pudo guardar ese cambio. Se guarda en tu copia, pero los colaboradores no lo verán.","La session en direct n’a pas pu enregistrer cette modification. Elle est enregistrée dans votre copie, mais les collaborateurs ne la verront pas.","Die Live-Sitzung konnte diese Änderung nicht speichern. Sie ist in deiner Kopie gespeichert, aber Mitarbeitende sehen sie nicht.","La sessione dal vivo non è riuscita a salvare questa modifica. È salvata nella tua copia, ma i collaboratori non la vedranno.","A sessão ao vivo não conseguiu armazenar essa alteração. Ela fica salva na sua cópia, mas os colaboradores não a verão."],
+ "The next save writes plain, readable JSON": ["次の保存では、誰でも読めるプレーンな JSON で書き出します","下次保存将写入可直接阅读的纯 JSON","下次儲存將寫入可直接閱讀的純 JSON","El próximo guardado escribe JSON plano y legible","Le prochain enregistrement écrit du JSON en clair, lisible","Die nächste Speicherung schreibt einfaches, lesbares JSON","Il prossimo salvataggio scrive JSON in chiaro, leggibile","O próximo salvamento grava JSON simples e legível"],
"The next save writes this space as plain, readable JSON — anybody who opens the file can read every page.": ["次の保存で、このスペースはそのまま読める JSON として書き出されます。ファイルを開いた人は誰でも全ページを読めます。","下一次保存会把这个空间写成可直接阅读的 JSON——任何打开这个文件的人都能读到每一页。","下一次儲存會把這個空間寫成可直接閱讀的 JSON——任何開啟這個檔案的人都能讀到每一頁。","El próximo guardado escribe este espacio como JSON legible: cualquiera que abra el archivo podrá leer todas las páginas.","Le prochain enregistrement écrira cet espace en JSON lisible : quiconque ouvre le fichier pourra lire toutes les pages.","Beim nächsten Speichern wird dieser Space als lesbares JSON geschrieben — wer die Datei öffnet, kann jede Seite lesen.","Il prossimo salvataggio scrive questo spazio come JSON leggibile: chiunque apra il file potrà leggere ogni pagina.","A próxima gravação escreve este espaço como JSON legível — quem abrir o ficheiro consegue ler todas as páginas."],
"The page becomes a new file of its own: a whole space, with a new document id and none of this one’s sharing keys.": ["そのページが独立した新しいファイルになります。ひとつの完全なスペースで、新しいドキュメント ID を持ち、このスペースの共有キーは一切引き継ぎません。","该页面会成为一个独立的新文件:一个完整的空间,拥有新的文档 ID,且不带本空间的任何共享密钥。","該頁面會成為獨立的新檔案:一個完整的空間,擁有新的文件 ID,且不帶本空間的任何共用金鑰。","La página se convierte en un archivo propio: un espacio completo, con un nuevo id de documento y sin ninguna de las claves de uso compartido de este.","La page devient un fichier à part entière : un espace complet, avec un nouvel identifiant de document et aucune des clés de partage de celui-ci.","Die Seite wird zu einer eigenen Datei: ein vollständiger Space mit einer neuen Dokument-ID und ohne die Freigabeschlüssel dieses Space.","La pagina diventa un file a sé: uno spazio completo, con un nuovo id di documento e senza nessuna delle chiavi di condivisione di questo.","A página passa a ser um ficheiro próprio: um espaço completo, com um novo id de documento e sem nenhuma das chaves de partilha deste."],
+ "The password cannot be recovered — if it is lost, the file is lost.": ["パスワードは復元できません — 紛失するとファイルも失われます。","密码无法找回 — 密码丢失即文件丢失。","密碼無法復原 — 密碼遺失即檔案遺失。","La contraseña no se puede recuperar: si se pierde, el archivo se pierde.","Le mot de passe ne peut pas être récupéré — s'il est perdu, le fichier l'est aussi.","Das Passwort kann nicht wiederhergestellt werden — geht es verloren, ist die Datei verloren.","La password non può essere recuperata — se la perdi, perdi il file.","A senha não pode ser recuperada — se ela for perdida, o arquivo é perdido."],
"The rest name notes that were not in the selection, and are left as text.": ["残りは選択に含まれていないノートを指しており、テキストのまま残ります。","其余指向不在所选范围内的笔记,保留为文字。","其餘指向不在所選範圍內的筆記,保留為文字。","El resto nombra notas que no estaban en la selección y se dejan como texto.","Les autres désignent des notes absentes de la sélection et restent en texte.","Der Rest nennt Notizen, die nicht in der Auswahl waren, und bleibt als Text stehen.","Gli altri nominano note che non erano nella selezione e restano come testo.","Os restantes nomeiam notas que não estavam na seleção e ficam como texto."],
"The theme follows whoever opens the file. It is never written into the document.": ["テーマはファイルを開いた人に従います。ドキュメントには書き込まれません。","主题跟随打开文件的人,绝不会写入文档。","主題取決於開啟檔案的人,永遠不會寫入文件中。","El tema sigue a quien abre el archivo. Nunca se escribe en el documento.","Le thème suit la personne qui ouvre le fichier. Il n’est jamais écrit dans le document.","Das Design richtet sich danach, wer die Datei öffnet. Es wird nie ins Dokument geschrieben.","Il tema segue chi apre il file. Non viene mai scritto nel documento.","O tema segue quem abre o ficheiro. Nunca é escrito no documento."],
"The whole space": ["スペース全体","整个空间","整個空間","Todo el espacio","Tout l’espace","Der ganze Space","L’intero spazio","Todo o espaço"],
@@ -488,7 +491,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"This space has no live session to follow": ["この Space には追従できるライブセッションがありません","此 Space 没有可跟随的实时会话","此 Space 沒有可跟隨的即時會話","Este Space no tiene sesión en vivo que seguir","Cet espace n’a pas de session live à suivre","Dieser Space hat keine Live-Sitzung zum Folgen","Questo Space non ha una sessione live da seguire","Este Space não tem sessão ao vivo para acompanhar"],
"This space has no pages.": ["このスペースにはページがありません。","此空间没有页面。","此空間沒有任何頁面。","Este espacio no tiene páginas.","Cet espace n’a aucune page.","Dieser Space hat keine Seiten.","Questo spazio non ha pagine.","Este espaço não tem páginas."],
"This space is encrypted, so no versions are kept.": ["このスペースは暗号化されているため、バージョンは保存されません。","此空间已加密,因此不保存任何版本。","此空間已加密,因此不保存任何版本。","Este espacio está cifrado, así que no se guarda ninguna versión.","Cet espace est chiffré : aucune version n’est conservée.","Dieser Space ist verschlüsselt, deshalb werden keine Versionen aufbewahrt.","Questo spazio è cifrato, quindi non viene conservata alcuna versione.","Este espaço está cifrado, por isso não são guardadas versões."],
- "This space is encrypted. Saves stay encrypted.": ["このスペースは暗号化されています。保存しても暗号化されたままです。","此空间已加密。保存时仍保持加密。","此空間已加密。往後的儲存也會維持加密。","Este espacio está cifrado. Los guardados siguen cifrados.","Cet espace est chiffré. Les enregistrements restent chiffrés.","Dieser Space ist verschlüsselt. Speichern bleibt verschlüsselt.","Questo spazio è cifrato. I salvataggi restano cifrati.","Este espaço está encriptado. Continua encriptado sempre que guardar."],
"This space is locked": ["このスペースはロックされています","此空间已锁定","此空間已鎖定","Este espacio está bloqueado","Cet espace est verrouillé","Dieser Space ist gesperrt","Questo spazio è bloccato","Este espaço está bloqueado"],
"This window is still running v{v} — reload to finish. A v{v} backup was downloaded.": ["このウィンドウはまだ v{v} で動作中 — 再読込で完了します。v{v} のバックアップをダウンロード済み。","此窗口仍在运行 v{v} — 重新加载以完成。已下载 v{v} 备份。","此視窗仍在執行 v{v} — 重新載入以完成。已下載 v{v} 備份。","Esta ventana sigue en v{v} — recarga para terminar. Se descargó una copia de seguridad v{v}.","Cette fenêtre tourne encore en v{v} — rechargez pour terminer. Une sauvegarde v{v} a été téléchargée.","Dieses Fenster läuft noch mit v{v} — zum Abschließen neu laden. Ein v{v}-Backup wurde heruntergeladen.","Questa finestra esegue ancora la v{v} — ricarica per completare. È stato scaricato un backup v{v}.","Esta janela ainda está executando a v{v} — recarregue para concluir. Um backup da v{v} foi baixado."],
"This window is still running v{v} — reload to finish. A v{v} backup was saved beside this file.": ["このウィンドウはまだ v{v} で動作中 — 再読込で完了します。v{v} のバックアップをこのファイルの隣に保存しました。","此窗口仍在运行 v{v} — 重新加载以完成。已在此文件旁保存 v{v} 备份。","此視窗仍在執行 v{v} — 重新載入以完成。已在此檔案旁儲存 v{v} 備份。","Esta ventana sigue en v{v} — recarga para terminar. Se guardó una copia de seguridad v{v} junto a este archivo.","Cette fenêtre tourne encore en v{v} — rechargez pour terminer. Une sauvegarde v{v} a été enregistrée à côté de ce fichier.","Dieses Fenster läuft noch mit v{v} — zum Abschließen neu laden. Ein v{v}-Backup wurde neben dieser Datei gespeichert.","Questa finestra esegue ancora la v{v} — ricarica per completare. Un backup v{v} è stato salvato accanto a questo file.","Esta janela ainda está executando a v{v} — recarregue para concluir. Um backup da v{v} foi salvo ao lado deste arquivo."],
@@ -518,6 +520,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Unsaved changes — ⌘S downloads an updated copy": ["未保存の変更 — ⌘S で更新版をダウンロードします","未保存的更改 — ⌘S 会下载更新后的副本","未儲存的變更 — ⌘S 會下載更新後的副本","Cambios sin guardar: ⌘S descarga una copia actualizada","Modifications non enregistrées — ⌘S télécharge une copie à jour","Ungespeicherte Änderungen — ⌘S lädt eine aktualisierte Kopie herunter","Modifiche non salvate — ⌘S scarica una copia aggiornata","Alterações não guardadas — ⌘S transfere uma cópia atualizada"],
"Unsaved changes — ⌘S rewrites this file": ["未保存の変更 — ⌘S でこのファイルを書き換えます","未保存的更改 — ⌘S 会重写此文件","未儲存的變更 — ⌘S 會重寫此檔案","Cambios sin guardar: ⌘S reescribe este archivo","Modifications non enregistrées — ⌘S réécrit ce fichier","Ungespeicherte Änderungen — ⌘S schreibt diese Datei neu","Modifiche non salvate — ⌘S riscrive questo file","Alterações não guardadas — ⌘S reescreve este ficheiro"],
"Untitled": ["無題","未命名","未命名","Sin título","Sans titre","Ohne Titel","Senza titolo","Sem título"],
+ "Update available: v{v} — click the peach button to update": ["更新があります: v{v} — ピーチ色のボタンをクリックで更新","有可用更新:v{v} — 点击桃色按钮更新","有可用更新:v{v} — 點按桃色按鈕更新","Actualización disponible: v{v} — haz clic en el botón melocotón para actualizar","Mise à jour disponible : v{v} — cliquez sur le bouton pêche pour mettre à jour","Update verfügbar: v{v} — zum Aktualisieren auf den pfirsichfarbenen Button klicken","Aggiornamento disponibile: v{v} — fai clic sul pulsante pesca per aggiornare","Atualização disponível: v{v} — clique no botão pêssego para atualizar"],
"Update failed: {m}": ["更新に失敗: {m}","更新失败:{m}","更新失敗:{m}","Falló la actualización: {m}","Échec de la mise à jour : {m}","Update fehlgeschlagen: {m}","Aggiornamento non riuscito: {m}","Falha na atualização: {m}"],
"Update this file": ["このファイルを更新","更新此文件","更新此檔案","Actualizar este archivo","Mettre à jour ce fichier","Diese Datei aktualisieren","Aggiorna questo file","Atualizar este ficheiro"],
"Update this file…": ["このファイルを更新…","更新此文件…","更新此檔案…","Actualizar este archivo…","Mettre à jour ce fichier…","Diese Datei aktualisieren…","Aggiorna questo file…","Atualizar este arquivo…"],
@@ -527,6 +530,9 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Use this width for every page": ["この幅をすべてのページに使う","将此宽度用于所有页面","將此寬度用於所有頁面","Usar esta anchura en todas las páginas","Utiliser cette largeur pour toutes les pages","Diese Breite für alle Seiten verwenden","Usa questa larghezza per tutte le pagine","Usar esta largura em todas as páginas"],
"Verifies and builds the new version with this document inside, then asks where to save it — pick the file you have open to update it.": ["このドキュメントを含む新バージョンを検証・生成し、保存先を尋ねます — 開いているファイルを選べば更新されます。","验证并生成包含此文档的新版本,然后询问保存位置 — 选择当前打开的文件即可更新。","驗證並建立包含此文件的新版本,然後詢問儲存位置 — 選擇目前開啟的檔案即可更新。","Verifica y construye la nueva versión con este documento dentro, y pregunta dónde guardarla — elige el archivo que tienes abierto para actualizarlo.","Vérifie et construit la nouvelle version avec ce document, puis demande où l'enregistrer — choisissez le fichier ouvert pour le mettre à jour.","Verifiziert und erstellt die neue Version mit diesem Dokument und fragt nach dem Speicherort — wählen Sie die geöffnete Datei, um sie zu aktualisieren.","Verifica e costruisce la nuova versione con questo documento, poi chiede dove salvarla — scegli il file aperto per aggiornarlo.","Verifica e monta a nova versão com este documento dentro e depois pergunta onde salvá-la — escolha o arquivo que você tem aberto para atualizá-lo."],
"Verifying…": ["検証中…","验证中…","驗證中…","Verificando…","Vérification…","Verifiziere…","Verifica…","Verificando…"],
+ "Version history": ["バージョン履歴","版本历史","版本歷程","Historial de versiones","Historique des versions","Versionsverlauf","Cronologia versioni","Histórico de versões"],
+ "Version history…": ["バージョン履歴…","版本历史…","版本歷程…","Historial de versiones…","Historique des versions…","Versionsverlauf…","Cronologia versioni…","Histórico de versões…"],
+ "Version {v} is available — click to update": ["バージョン {v} があります — クリックで更新","版本 {v} 可用 — 点击更新","版本 {v} 可用 — 點按以更新","Versión {v} disponible — clic para actualizar","Version {v} disponible — cliquez pour mettre à jour","Version {v} verfügbar — klicken zum Aktualisieren","Versione {v} disponibile — clic per aggiornare","A versão {v} está disponível — clique para atualizar"],
"Version {v} is available.": ["バージョン {v} が利用可能です。","版本 {v} 可用。","版本 {v} 可用。","Versión {v} disponible.","La version {v} est disponible.","Version {v} ist verfügbar.","È disponibile la versione {v}.","A versão {v} está disponível."],
"Versions are kept in this browser only — never in the file, never online. Restoring is undoable.": ["バージョンはこのブラウザーにのみ保存されます。ファイルにもオンラインにも残りません。復元は取り消せます。","版本仅保存在此浏览器中,不会写入文件,也不会上传。恢复操作可以撤销。","版本僅保存在此瀏覽器中,不會寫入檔案,也不會上傳。還原操作可以復原。","Las versiones se guardan solo en este navegador: nunca en el archivo ni en línea. Restaurar se puede deshacer.","Les versions sont conservées uniquement dans ce navigateur — jamais dans le fichier, jamais en ligne. La restauration est annulable.","Versionen liegen nur in diesem Browser — nie in der Datei, nie online. Das Wiederherstellen lässt sich rückgängig machen.","Le versioni restano solo in questo browser: mai nel file, mai online. Il ripristino si può annullare.","As versões ficam apenas neste navegador — nunca no ficheiro, nunca online. Restaurar pode ser desfeito."],
"Video": ["動画","视频","影片","Vídeo","Vidéo","Video","Video","Vídeo"],
diff --git a/spaces/src/i18n/pt.ts b/spaces/src/i18n/pt.ts
index f409512b..a3131a8c 100644
--- a/spaces/src/i18n/pt.ts
+++ b/spaces/src/i18n/pt.ts
@@ -158,7 +158,7 @@ export const pt: Catalog = {
"Drag to resize · double-click to reset": "Arrasta para redimensionar · duplo clique para repor",
"Drop .md files or a folder here": "Largue aqui ficheiros .md ou uma pasta",
"Duplicate": "Duplicar",
- "Duplicate as a new space…": "Duplicar como novo espaço…",
+ "Duplicate as new space…": "Duplicar como novo espaço…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "Cada ficheiro .md passa a ser uma página, as pastas passam a ser a árvore de páginas e os [[wikilinks]] passam a ser ligações verdadeiras. As páginas são acrescentadas — nada aqui é substituído.",
"Edit": "Editar",
"Edit this link card": "Editar este cartão de link",
@@ -262,7 +262,6 @@ export const pt: Catalog = {
"Manual order": "Ordem manual",
"Match my system": "Acompanhar o sistema",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Gera chaves novas em folha. Toda cópia enviada antes para de sincronizar de vez; compartilhe cópias novas depois.",
- "More": "Mais",
"Move down": "Mover para baixo",
"Move up": "Mover para cima",
"Muted": "Sem som",
@@ -305,7 +304,6 @@ export const pt: Catalog = {
"Open only": "Apenas em aberto",
"Orange": "Laranja",
"Other": "Outras",
- "Other ways to save": "Outras formas de guardar",
"Out of the sidebar, still searchable and linkable": "Fora da barra lateral, mas continua pesquisável e ligável",
"Owner": "Dono",
"Page": "Página",
@@ -412,7 +410,7 @@ export const pt: Catalog = {
"Sort by {field}": "Ordenar por {field}",
"Space name": "Nome do espaço",
"Square": "Quadrado",
- "Start live session": "Iniciar sessão ao vivo",
+ "Go live": "Ficar ao vivo",
"Start silent": "Começar sem som",
"Stop sharing": "Parar de compartilhar",
"Stop widening every page": "Deixar de alargar todas as páginas",
@@ -600,7 +598,6 @@ export const pt: Catalog = {
"Formatting": "Formatação",
"Getting around": "Navegar",
"Indent, or move back out": "Avançar, ou recuar de novo",
- "Keyboard shortcuts": "Atalhos de teclado",
"Leave the reading view": "Sair da vista de leitura",
"Link the selected words": "Ligar as palavras selecionadas",
"Link to another page": "Ligar a outra página",
@@ -632,4 +629,28 @@ export const pt: Catalog = {
"Date": "Data",
"Person": "Pessoa",
"Labels": "Etiquetas",
+ "People": "Pessoas",
+ "Share a copy": "Compartilhar uma cópia",
+ "Same pages, new identity — it never syncs with this one": "As mesmas páginas, uma nova identidade — nunca sincroniza com este",
+ "The next save writes plain, readable JSON": "O próximo salvamento grava JSON simples e legível",
+ "Encrypt with password…": "Criptografar com senha…",
+ "No recovery — lose the password and the space is gone": "Sem recuperação — perca a senha e o espaço se perde",
+ "Version history…": "Histórico de versões…",
+ "Replaces every page — ⌘Z undoes": "Substitui todas as páginas — ⌘Z desfaz",
+ "The password cannot be recovered — if it is lost, the file is lost.": "A senha não pode ser recuperada — se ela for perdida, o arquivo é perdido.",
+ "Confirm password": "Confirmar senha",
+ "Passwords do not match": "As senhas não coincidem",
+ "Set password": "Definir senha",
+ "Version history": "Histórico de versões",
+ "Replace from JSON": "Substituir a partir de JSON",
+ "Update available: v{v} — click the peach button to update": "Atualização disponível: v{v} — clique no botão pêssego para atualizar",
+ "Version {v} is available — click to update": "A versão {v} está disponível — clique para atualizar",
+ "Plain JSON of every page — no live-session keys": "JSON simples de todas as páginas — sem chaves da sessão ao vivo",
+ "Takes effect on the next save": "Vale a partir do próximo salvamento",
+ "Shortcuts & tips": "Atalhos e dicas",
+ "Shortcuts & tips (?)": "Atalhos e dicas (?)",
+ "More actions": "Mais ações",
+ "Export PDF (print)": "Exportar PDF (imprimir)",
+ "Save as… — copy, new space, password": "Guardar como… — cópia, novo espaço, palavra-passe",
+ "About bento/spaces — version, updates, licenses": "Acerca do bento/spaces — versão, atualizações, licenças",
}
diff --git a/spaces/src/i18n/zh-Hans.ts b/spaces/src/i18n/zh-Hans.ts
index 409c8110..0929e3c9 100644
--- a/spaces/src/i18n/zh-Hans.ts
+++ b/spaces/src/i18n/zh-Hans.ts
@@ -158,7 +158,7 @@ export const zh_Hans: Catalog = {
"Drag to resize · double-click to reset": "拖动可调整宽度 · 双击恢复默认",
"Drop .md files or a folder here": "把 .md 文件或文件夹拖到这里",
"Duplicate": "创建副本",
- "Duplicate as a new space…": "复制为新空间…",
+ "Duplicate as new space…": "复制为新空间…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "每个 .md 文件变成一个页面,文件夹变成页面树,[[wiki 链接]] 变成真正的链接。页面是新增的——已有内容不会被替换。",
"Edit": "编辑",
"Edit this link card": "编辑此链接卡片",
@@ -262,7 +262,6 @@ export const zh_Hans: Catalog = {
"Manual order": "手动排序",
"Match my system": "跟随系统",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "铸造全新密钥。之前发送的所有副本将永久停止同步;此后请分享新副本。",
- "More": "更多",
"Move down": "下移",
"Move up": "上移",
"Muted": "静音",
@@ -305,7 +304,6 @@ export const zh_Hans: Catalog = {
"Open only": "仅未完成",
"Orange": "橙色",
"Other": "其他",
- "Other ways to save": "其他保存方式",
"Out of the sidebar, still searchable and linkable": "移出侧边栏,仍可搜索和链接",
"Owner": "所有者",
"Page": "页面",
@@ -412,7 +410,7 @@ export const zh_Hans: Catalog = {
"Sort by {field}": "按{field}排序",
"Space name": "空间名称",
"Square": "方形",
- "Start live session": "开始实时会话",
+ "Go live": "开始直播",
"Start silent": "开始时静音",
"Stop sharing": "停止共享",
"Stop widening every page": "不再加宽所有页面",
@@ -600,7 +598,6 @@ export const zh_Hans: Catalog = {
"Formatting": "格式",
"Getting around": "导航",
"Indent, or move back out": "缩进,或退回一级",
- "Keyboard shortcuts": "键盘快捷键",
"Leave the reading view": "退出阅读视图",
"Link the selected words": "为选中的文字添加链接",
"Link to another page": "链接到另一个页面",
@@ -632,4 +629,28 @@ export const zh_Hans: Catalog = {
"Date": "日期",
"Person": "人员",
"Labels": "标签",
+ "People": "成员",
+ "Share a copy": "分享副本",
+ "Same pages, new identity — it never syncs with this one": "页面相同,身份全新 — 永不与此空间同步",
+ "The next save writes plain, readable JSON": "下次保存将写入可直接阅读的纯 JSON",
+ "Encrypt with password…": "使用密码加密…",
+ "No recovery — lose the password and the space is gone": "无法找回 — 丢失密码,空间也就没了",
+ "Version history…": "版本历史…",
+ "Replaces every page — ⌘Z undoes": "替换所有页面 — ⌘Z 可撤销",
+ "The password cannot be recovered — if it is lost, the file is lost.": "密码无法找回 — 密码丢失即文件丢失。",
+ "Confirm password": "确认密码",
+ "Passwords do not match": "两次输入的密码不一致",
+ "Set password": "设置密码",
+ "Version history": "版本历史",
+ "Replace from JSON": "从 JSON 替换",
+ "Update available: v{v} — click the peach button to update": "有可用更新:v{v} — 点击桃色按钮更新",
+ "Version {v} is available — click to update": "版本 {v} 可用 — 点击更新",
+ "Plain JSON of every page — no live-session keys": "所有页面的纯 JSON — 不含实时会话密钥",
+ "Takes effect on the next save": "下次保存时生效",
+ "Shortcuts & tips": "快捷键与提示",
+ "Shortcuts & tips (?)": "快捷键与提示(?)",
+ "More actions": "更多操作",
+ "Export PDF (print)": "导出 PDF(打印)",
+ "Save as… — copy, new space, password": "另存为… — 副本、新空间、密码",
+ "About bento/spaces — version, updates, licenses": "关于 bento/spaces — 版本、更新、许可证",
}
diff --git a/spaces/src/i18n/zh-Hant.ts b/spaces/src/i18n/zh-Hant.ts
index 74568d88..a9545315 100644
--- a/spaces/src/i18n/zh-Hant.ts
+++ b/spaces/src/i18n/zh-Hant.ts
@@ -158,7 +158,7 @@ export const zh_Hant: Catalog = {
"Drag to resize · double-click to reset": "拖曳可調整寬度 · 雙擊還原預設",
"Drop .md files or a folder here": "把 .md 檔案或資料夾拖到這裡",
"Duplicate": "建立副本",
- "Duplicate as a new space…": "複製為新空間…",
+ "Duplicate as new space…": "複製為新空間…",
"Each .md file becomes a page, folders become the page tree, and [[wikilinks]] become real links. Pages are added — nothing here is replaced.": "每個 .md 檔案變成一個頁面,資料夾變成頁面樹,[[wiki 連結]] 變成真正的連結。頁面是新增的——既有內容不會被取代。",
"Edit": "編輯",
"Edit this link card": "編輯此連結卡片",
@@ -262,7 +262,6 @@ export const zh_Hant: Catalog = {
"Manual order": "手動排序",
"Match my system": "跟隨系統",
"Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "鑄造全新金鑰。之前傳送的所有副本將永久停止同步;此後請分享新副本。",
- "More": "更多",
"Move down": "下移",
"Move up": "上移",
"Muted": "靜音",
@@ -305,7 +304,6 @@ export const zh_Hant: Catalog = {
"Open only": "僅未完成",
"Orange": "橘色",
"Other": "其他",
- "Other ways to save": "其他儲存方式",
"Out of the sidebar, still searchable and linkable": "移出側邊欄,仍可搜尋與連結",
"Owner": "擁有者",
"Page": "頁面",
@@ -412,7 +410,7 @@ export const zh_Hant: Catalog = {
"Sort by {field}": "依{field}排序",
"Space name": "空間名稱",
"Square": "方形",
- "Start live session": "開始即時工作階段",
+ "Go live": "開始直播",
"Start silent": "開始時靜音",
"Stop sharing": "停止共用",
"Stop widening every page": "不再加寬所有頁面",
@@ -600,7 +598,6 @@ export const zh_Hant: Catalog = {
"Formatting": "格式",
"Getting around": "導覽",
"Indent, or move back out": "縮排,或退回一層",
- "Keyboard shortcuts": "鍵盤快速鍵",
"Leave the reading view": "離開閱讀檢視",
"Link the selected words": "為選取的文字加上連結",
"Link to another page": "連結到另一個頁面",
@@ -632,4 +629,28 @@ export const zh_Hant: Catalog = {
"Date": "日期",
"Person": "人員",
"Labels": "標籤",
+ "People": "成員",
+ "Share a copy": "分享副本",
+ "Same pages, new identity — it never syncs with this one": "頁面相同,身分全新 — 永不與此空間同步",
+ "The next save writes plain, readable JSON": "下次儲存將寫入可直接閱讀的純 JSON",
+ "Encrypt with password…": "以密碼加密…",
+ "No recovery — lose the password and the space is gone": "無法找回 — 遺失密碼,空間也就沒了",
+ "Version history…": "版本歷程…",
+ "Replaces every page — ⌘Z undoes": "取代所有頁面 — ⌘Z 可復原",
+ "The password cannot be recovered — if it is lost, the file is lost.": "密碼無法復原 — 密碼遺失即檔案遺失。",
+ "Confirm password": "確認密碼",
+ "Passwords do not match": "兩次輸入的密碼不一致",
+ "Set password": "設定密碼",
+ "Version history": "版本歷程",
+ "Replace from JSON": "從 JSON 取代",
+ "Update available: v{v} — click the peach button to update": "有可用更新:v{v} — 點按桃色按鈕更新",
+ "Version {v} is available — click to update": "版本 {v} 可用 — 點按以更新",
+ "Plain JSON of every page — no live-session keys": "所有頁面的純 JSON — 不含即時工作階段金鑰",
+ "Takes effect on the next save": "下次儲存時生效",
+ "Shortcuts & tips": "快速鍵與提示",
+ "Shortcuts & tips (?)": "快速鍵與提示(?)",
+ "More actions": "更多操作",
+ "Export PDF (print)": "匯出 PDF(列印)",
+ "Save as… — copy, new space, password": "另存為… — 副本、新空間、密碼",
+ "About bento/spaces — version, updates, licenses": "關於 bento/spaces — 版本、更新、授權",
}
diff --git a/spaces/src/icons.ts b/spaces/src/icons.ts
index de0bcf12..d54720bd 100644
--- a/spaces/src/icons.ts
+++ b/spaces/src/icons.ts
@@ -62,6 +62,10 @@ export const ICONS = {
arrowUp: svg('<line x1="12" y1="19" x2="12" y2="5"/><polyline points="5 12 12 5 19 12"/>'),
arrowDown: svg('<line x1="12" y1="5" x2="12" y2="19"/><polyline points="19 12 12 19 5 12"/>'),
close: svg('<line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/>'),
+ // slides' own glyphs (slides/src/icons.ts), for the commands that moved to
+ // the Save menu and the Share popover in slides' order and slides' look
+ history: svg('<circle cx="12" cy="12" r="8.5"/><polyline points="12 7 12 12 15.5 14"/>'),
+ broadcast: svg('<path d="M12 20V4"/><path d="M4.5 8.5a11 11 0 0 1 15 0"/><path d="M7.5 12.5a7 7 0 0 1 9 0"/><circle cx="12" cy="20" r="2" fill="currentColor" stroke="none"/>'),
sync: svg('<path d="M21 2v6h-6"/><path d="M3 12a9 9 0 0 1 15-6.7L21 8"/><path d="M3 22v-6h6"/><path d="M21 12a9 9 0 0 1-15 6.7L3 16"/>'),
comment: svg('<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>'),
diff --git a/spaces/src/main.ts b/spaces/src/main.ts
index efcb99ec..7c41946c 100644
--- a/spaces/src/main.ts
+++ b/spaces/src/main.ts
@@ -608,7 +608,12 @@ function boot(doc: SpacesDoc, repaired: string[], frozen?: 'policy' | 'version')
* Never fatal, and never in the way: the result only changes a sentence in
* the About dialog.
*/
- void launchUpdateCheck().catch(() => { /* an unreachable server is not an error here */ })
+ // A found update also puts slides' peach chip beside the wordmark, and says
+ // so once — the one launch result a reader must not miss (D3's pill). "Up to
+ // date" stays a sentence in About, where slides' toast also repeats it.
+ void launchUpdateCheck()
+ .then((r) => { if (r?.status === 'update') editor.updateFound(r.release.version) })
+ .catch(() => { /* an unreachable server is not an error here */ })
}
function banner(text: string, actions: Array<[string, () => void]> = []): void {
diff --git a/spaces/src/menus.ts b/spaces/src/menus.ts
index 397108e8..7012213e 100644
--- a/spaces/src/menus.ts
+++ b/spaces/src/menus.ts
@@ -52,6 +52,13 @@ export interface Row {
* line (D2): the name is the description.
*/
hint?: string
+ /**
+ * What the row does, NOT drawn: the hover tooltip (`title`, as slides' Save
+ * rows) and the row's accessible description through a visually hidden
+ * element, so a screen reader still hears it. The Save menu's rows use this
+ * rather than `hint` since the maintainer revised D2 for that menu.
+ */
+ desc?: string
/** a keyboard shortcut, shown right-aligned in the row (D8) */
kbd?: string
off?: boolean
@@ -60,11 +67,36 @@ export interface Row {
run: () => void
}
+let descSeq = 0
+
/** One row. Composition over the kernel's `item()`: the shortcut slot is ours. */
export function row(m: Menu, r: Row): HTMLButtonElement {
const b = m.item(r.label, r.run, {
icon: r.icon, hint: r.hint, off: r.off, selected: r.selected, keepOpen: r.keepOpen,
})
+ // D2's second line is the row's DESCRIPTION, not part of its name: the name
+ // is the accessible name, the hint is announced through aria-describedby
+ // (slides' menuLabel, #573). Without this a screen reader read name and
+ // sentence as one run-on label.
+ if (r.desc) {
+ const d = document.createElement('span')
+ d.className = 'sp-vh'
+ d.id = `sp-mdesc-${++descSeq}`
+ d.textContent = r.desc
+ // inside the label, after the name — where slides' `.ed-sr-only` sits
+ ;(b.querySelector('.bkm-body') ?? b).append(d)
+ // the native tooltip on the row itself, as slides' Save rows (#573). With
+ // aria-describedby present, `title` is not also read as the description.
+ b.title = r.desc
+ b.setAttribute('aria-label', r.label)
+ b.setAttribute('aria-describedby', d.id)
+ }
+ const hint = b.querySelector<HTMLElement>('.bkm-hint')
+ if (hint) {
+ hint.id = `sp-mdesc-${++descSeq}`
+ b.setAttribute('aria-label', r.label)
+ b.setAttribute('aria-describedby', hint.id)
+ }
if (r.kbd) {
const k = document.createElement('kbd')
k.className = 'sp-mkbd'
@@ -146,7 +178,7 @@ export interface AnchoredOpts {
role?: 'menu' | 'dialog' | 'listbox'
}
-const GAP = 6
+const GAP = 4 // slides' .ed-menu offset
const EDGE = 8
/**
diff --git a/spaces/src/starter.ts b/spaces/src/starter.ts
index 08fca541..a659d6b8 100644
--- a/spaces/src/starter.ts
+++ b/spaces/src/starter.ts
@@ -324,7 +324,7 @@ export function starterDoc(): SpacesDoc {
b('p', 'Sending someone this file sends them <strong>the whole space</strong> — every page, including the archived one. There is no per-page permission, because there is no server to enforce one. The file <em>is</em> the capability: whoever has it can read it and can edit it.'),
b('h2', 'Working live'),
b('p', 'Two tabs of the same space, or two people with the same file, edit it together: changes merge per character, and the file you save carries the state, so a copy edited on a plane rejoins as a fork rather than overwriting anybody. A coloured initial sits on the page each person is reading; click somebody in the people panel to go to where they are.'),
- b('p', 'A space goes live only when it arrived carrying a session — a file that was saved or shared — or when you start one from the button beside ⋯. A fresh space and a template stay offline. That button says which of the three situations you are in, including the usual one, which is that nothing is shared at all.'),
+ b('p', 'A space goes live only when it arrived carrying a session — a file that was saved or shared — or when you start one from the Share button in the bar. A fresh space and a template stay offline. That button says which of the three situations you are in, including the usual one, which is that nothing is shared at all.'),
b('p', 'The awkward part: a session is a room whose keys live in the file. Whoever holds a copy holds the room, and there are no accounts to take it back from them. <strong>Rotate keys</strong> is what revocation looks like here — it mints a new room and leaves the old copies talking to nobody.'),
b('h2', 'Comments'),
commented,
diff --git a/spaces/src/styles.css b/spaces/src/styles.css
index bc49ac75..2f59ef37 100644
--- a/spaces/src/styles.css
+++ b/spaces/src/styles.css
@@ -147,6 +147,20 @@
--tone-important: #8a72cc;
--tone-warning: #d9a326;
--tone-caution: #cd6a63;
+ /* WHAT OPENS FROM THE BAR wears slides' surfaces (the parity block, below
+ the menus). Light they are spaces' own; dark they are slides' #21262e
+ family, a step lighter than spaces' panels, so a menu over the page reads
+ exactly as it does over a slide. */
+ --pop-bg: #ffffff;
+ --pop-line: #e3e8ef;
+ --pop-hover: #eceff4;
+ --update-bg: #ff9e8a;
+ --update-ink: #0d1b2e;
+ --share-wait: #b8860b;
+ --share-ok: #2e8b57;
+ --dirty-ring: #16273e;
+ --pop-shadow: 0 8px 24px rgb(20 30 45 / 0.14);
+ --pop-chrome: #f5f7fa; /* the Share popover's you-row ground: slides' --chrome */
/* The BROWSER's own furniture — scrollbars, form controls, the canvas behind
a rubber-band scroll — follows this, and CSS cannot reach any of it.
@@ -192,6 +206,17 @@
--tone-important: #8a72cc;
--tone-warning: #d9a326;
--tone-caution: #cd6a63;
+ --pop-bg: #21262e;
+ --pop-line: #333a45;
+ --pop-hover: #262b34;
+ --update-bg: #ff9e8a;
+ --update-ink: #0d1b2e;
+ --share-wait: #b8860b;
+ --share-ok: #2e8b57;
+ --dirty-ring: #16273e;
+ /* slides #573: navy at 14% lifts nothing off dark chrome; black, deeper */
+ --pop-shadow: 0 8px 24px rgb(0 0 0 / 0.5);
+ --pop-chrome: #1b1f26;
color-scheme: only dark;
}
}
@@ -227,6 +252,17 @@
--tone-important: #8a72cc;
--tone-warning: #d9a326;
--tone-caution: #cd6a63;
+ --pop-bg: #21262e;
+ --pop-line: #333a45;
+ --pop-hover: #262b34;
+ --update-bg: #ff9e8a;
+ --update-ink: #0d1b2e;
+ --share-wait: #b8860b;
+ --share-ok: #2e8b57;
+ --dirty-ring: #16273e;
+ /* slides #573: navy at 14% lifts nothing off dark chrome; black, deeper */
+ --pop-shadow: 0 8px 24px rgb(0 0 0 / 0.5);
+ --pop-chrome: #1b1f26;
color-scheme: only dark;
}
}
@@ -316,6 +352,11 @@ option { background: var(--field); color: var(--ink); }
have been white on near-white the moment the theme flipped. */
.sp-primary { background: var(--ink); color: var(--bg); padding: 6px 14px; }
.sp-primary:hover { background: var(--ink-2); }
+/* slides' update chip (.ed-btn-update): peach, bold, beside the wordmark,
+ and in the DOM only while an update is waiting */
+.sp-btn.sp-update { background: var(--update-bg); color: var(--update-ink); font-weight: 700; }
+.sp-btn.sp-update:hover { background: var(--update-bg); filter: brightness(0.96); }
+.sp-btn.sp-update[hidden] { display: none; }
/* `relative`: a panel below the drawer breakpoint is an absolute overlay of
THIS box (the kernel's `.bkp-drawer`), under the bar and over the page. */
@@ -853,10 +894,31 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
--bkd-scrim: var(--scrim);
--bkd-body-ink: var(--ink);
}
+/* ————— SLIDES PARITY: dialogs —————
+ slides' `.ed-about` card and `.ed-about-overlay` scrim (slides/src/
+ styles.css): the same 14px corner, no frame, 20px in, 13px text, slides'
+ shadow and scrim, and slides' surface in dark. Widths are slides' too:
+ About 440, the shortcut sheet 700. The heading stays the kernel's 17px/650
+ title where a dialog has one (D4) — slides' 19.5px/700 `h2` is the deviation,
+ filed for slides. Kernel defaults that differ: frame 1px --line (none),
+ padding 20px 22px (20px), shadow 0 18px 60px /.30 (0 18px 50px
+ rgb(15 23 36 / .3)), scrim rgb(20 30 45 / .44) (rgb(15 23 36 / .38)). */
+:root {
+ --bkd-bg: var(--pop-bg);
+ --bkd-border: transparent;
+ --bkd-shadow: 0 18px 50px rgb(15 23 36 / 0.3);
+ --bkd-scrim: rgb(15 23 36 / 0.38);
+}
+.bkd-card.sp-dlg { padding: 20px; font-size: 13px; }
+/* slides' .ed-about width, for About and the Save menu's own dialogs */
+.bkd-card.sp-dlg.sp-dlg-about, .bkd-card.sp-dlg.sp-dlg-narrow { width: 440px; }
+.sp-dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding: 0; }
+.sp-note.sp-dlg-err { color: var(--c-red); min-height: 1em; margin: 0 4px; }
+.sp-ab-field > span { flex: 0 0 120px; font-size: 12px; color: var(--muted); }
/* Selectors carry `.bkd-*` twice where they override the kernel sheet, which
the bundle places after this file. */
.bkd-card.sp-dlg { width: 560px; }
-.bkd-card.sp-dlg-wide { width: 720px; max-width: min(720px, 100%); }
+.bkd-card.sp-dlg-wide { width: 700px; max-width: min(700px, 100%); }
.bkd-card.sp-dlg .bkd-title { letter-spacing: -0.005em; }
/* a palette (search, "link to page") sits high and grows DOWN, so a result
list arriving does not re-centre the card under the pointer */
@@ -865,26 +927,26 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
.bkd-card.sp-dlg-graph { width: auto; max-width: none; padding: 0; overflow: hidden; }
.bkd-overlay:has(.sp-dlg-graph) { padding: 14px; }
.sp-card-h {
- font-size: 11px; font-weight: 600; text-transform: uppercase;
- letter-spacing: 0.07em; color: var(--muted); margin: 2px 4px 8px;
+ font-size: 11px; font-weight: 700; text-transform: uppercase;
+ letter-spacing: 0.06em; color: var(--muted); margin: 2px 4px 8px;
}
.sp-find {
- width: 100%; font: inherit; font-size: 14px; padding: 9px 11px; color: var(--ink);
- background: var(--field); border: 1px solid var(--line); border-radius: 8px;
+ width: 100%; font: inherit; font-size: 13px; padding: 5px 8px; color: var(--ink);
+ background: var(--field); border: 1px solid var(--line); border-radius: 6px;
}
.sp-find:focus { border-color: var(--blue); outline: none; }
.sp-results { list-style: none; margin: 8px 0 0; padding: 0; }
.sp-result {
display: flex; align-items: center; gap: 10px;
width: 100%; text-align: start; font: inherit; color: var(--ink);
- background: transparent; border: 0; border-radius: 7px; padding: 8px 10px; cursor: pointer;
+ background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 6px 9px; cursor: pointer;
}
-.sp-result:hover, .sp-result.sp-sel { background: var(--chrome-2); }
+.sp-result:hover, .sp-result.sp-sel { background: var(--pop-hover); }
.sp-result-ico { flex: 0 0 auto; color: var(--muted); display: flex; }
.sp-result-txt { min-width: 0; }
-.sp-result strong { display: block; font-size: 14px; font-weight: 600; }
+.sp-result strong { display: block; font-size: 13px; font-weight: 600; }
.sp-result span {
- display: block; color: var(--muted); font-size: 12.5px;
+ display: block; color: var(--muted); font-size: 12px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-result.sp-new { color: var(--blue); }
@@ -898,8 +960,9 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
panel's primary action off the bottom on an ordinary laptop. This value is
only the fallback for a popover placed some other way. */
position: fixed; z-index: 60; width: 260px; max-height: 80vh; overflow: auto;
- background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
- box-shadow: 0 12px 34px rgb(var(--shade) / .2); padding: 6px;
+ /* slides' menu surface (the parity block), as every popover from the bar */
+ background: var(--pop-bg); border: 1px solid var(--pop-line); border-radius: var(--radius);
+ box-shadow: var(--pop-shadow); padding: 6px;
}
/* ————— banners + gates ————— */
@@ -963,9 +1026,11 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
on its own row. 112 makes it 2×2 on a phone and one row of four on a
desktop card, which is the same readout either way rather than a ragged
one. Measured inner widths: 315px at 375, 524px at 1600. */
- display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
+ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px; margin: 0 2px 4px;
}
+/* four across in slides' 440 card; two by two on a narrow phone */
+@media (max-width: 420px) { .sp-ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-ab-stat {
background: var(--chrome); border: 1px solid var(--line); border-radius: 8px;
padding: 8px 10px; min-width: 0;
@@ -979,7 +1044,7 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
/* a labelled field, the shape slides' document properties use */
.sp-ab-field { display: flex; align-items: center; gap: 10px; padding: 2px 4px 8px; }
.sp-ab-field label { flex: 0 0 auto; font-size: 12px; color: var(--muted); }
-.sp-ab-field .sp-input { flex: 1 1 auto; min-width: 0; }
+.sp-ab-field .sp-input { flex: 1 1 auto; min-width: 0; font-size: 13px; padding: 5px 8px; border-radius: 6px; background: var(--field); }
/* `.sp-btn` is transparent by design — the topbar is icon-only and a row of
outlined boxes there would be noise. In THIS card the same class has to read
@@ -990,7 +1055,7 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
space…" and Export's "Close" rendered as bare words beside a filled primary,
with nothing to say they were buttons. And the primary's ink is the GROUND,
never `#fff` — on the dark theme's near-white fill `#fff` was invisible. */
-.bkd-card .sp-btn { border-color: var(--line); background: var(--chrome); }
+.bkd-card .sp-btn { border-color: var(--line); background: var(--pop-bg); } /* slides' About: --surface */
.bkd-card .sp-btn:hover { background: var(--chrome-2); }
.bkd-card .sp-primary { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.bkd-card .sp-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
@@ -1173,25 +1238,89 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
answers. Structure and behaviour are the kernel's and are not restated here.
Menus keep `--radius` (10px): `--radius-lg` is the DIALOG corner, and the
kernel's chain would otherwise hand a menu 14px. */
+/* ————— SLIDES PARITY: menus —————
+ Every value in this block is slides' `.ed-menu` / `.ed-btn` / `.ed-menu-sep`
+ (slides/src/styles.css), so a menu opened from either app's bar is the same
+ object: 13px/400 rows in --ink-2, 16px icons in the same ink, 30px rows
+ (6px 9px, a 1px transparent frame, 6px gap, 8px corners), a 4px list
+ padding, 4px off the trigger, hairline separators 3px 2px, slides' shadow,
+ and the Save menu at 12.5px. scripts/test-spaces-chrome.ts reads slides'
+ numbers out of slides' stylesheet and holds these computed values to them.
+
+ It is ONE block because it is a set of answers to the kernel menu's hooks,
+ not a fork of it. Where the kernel has a hook (`--bkm-*`) it is used; where
+ it has none — the list padding, a row's padding, gap and frame, the
+ separator's margin, a pressed state — the rule is here, and each of those is
+ filed for the kernel as a proposed default (board, 2026-09-26), so that
+ slides can one day adopt the kernel menu without changing how it looks.
+ Kernel defaults that differ from slides': offset 6 (slides 4), list padding
+ 5 (4), row padding 7px 9px (6px 9px), row gap 9 (6), row frame 0 (1px
+ transparent), row radius 7 (8), row ink --ink-2 via chain (same), icon ink
+ --muted (--ink-2), font 13 (same), min-width 200 (150), shadow
+ 0 12px 32px /.16 (0 8px 24px /.14), separator margin 4px 6px (3px 2px), no
+ :active (--line). */
.sp-app, .sp-mn-anchored {
--bkm-radius: var(--radius);
- --bkm-item-radius: var(--radius-sm);
- --bkm-shadow: var(--shadow-pop);
- --bkm-ink: var(--ink);
- --bkm-font-size: 13.5px;
- --bkm-min-width: 240px;
+ --bkm-item-radius: 8px;
+ --bkm-shadow: var(--pop-shadow);
+ --bkm-bg: var(--pop-bg);
+ --bkm-border: var(--pop-line);
+ --bkm-hover: var(--pop-hover);
+ --bkm-ink: var(--ink-2);
+ --bkm-ico: var(--ink-2);
+ --bkm-font-size: 13px;
+ --bkm-min-width: 150px;
+ --bkm-gap: 4px;
--bkm-z: var(--z-pop);
}
.sp-mn-pop { font-family: inherit; }
-.sp-mn-pop .bkm-text { font-weight: 600; }
-.sp-mn-pop .bkm-hint { font-size: var(--fs-hint); }
-.sp-mn-pop .bkm-item { min-height: var(--ctl-h); }
+.bkm-menu.sp-mn-pop { padding: 4px; }
+.sp-mn-pop .bkm-item {
+ gap: 6px; padding: 6px 9px; border: 1px solid transparent;
+ min-height: var(--ctl-h); line-height: normal;
+}
+.sp-mn-pop .bkm-item:active { background: var(--pop-line); }
+/* a row is ONE line, as slides' (`.ed-btn` is nowrap): the list is as wide as
+ its longest name. Without it an absolutely placed list shrinks toward its
+ 150px floor and names wrap into 44px rows. A description still wraps, under
+ the name, at the width the names set; a name longer than the cap ellipses. */
+.sp-mn-pop .bkm-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 16px; }
+/* 16px, not `normal`: a language row carries `lang="ja"`, and the Japanese
+ face's normal line is 20px — its row came out 34px among 30px ones */
+.sp-mn-pop .bkm-body { min-width: 0; }
+/* a scrolling list is a flex column with a max-height, so its 1px separators
+ SHRANK to nothing — the folded ⋯ lost the rule between the bar's controls
+ and the Save list. Nothing in a menu shrinks; the list scrolls instead. */
+.bkm-menu.sp-mn-pop > * { flex-shrink: 0; }
+.sp-mn-pop .bkm-sep { margin: 3px 2px; }
+/* read by a screen reader, never drawn: a Save row's description */
+.sp-vh {
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
+ overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
+}
+/* D2 descriptions, slides' `.ed-mi-desc` (#573): 12px/1.35 --muted, 2px under
+ the name, regular weight; the icon lines up with the NAME, not the middle */
+.sp-mn-pop .bkm-hint { font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--muted); margin-top: 2px; }
+.sp-mn-pop .bkm-item:has(.bkm-hint) { align-items: flex-start; }
+.sp-mn-pop .bkm-item:has(.bkm-hint) > .bkm-ico { margin-top: 1px; }
+/* slides' Save menu is the one list set a half-point smaller, and at least 190
+ wide; its descriptions (D2) wrap under the name rather than widening it */
+/* slides #573: the list is 264 wide (less on a phone) and scrolls in the room
+ under the bar, which topbar.ts publishes as --sp-bar-bottom */
+.sp-savemenu > .bkm-menu.sp-mn-pop {
+ width: min(264px, calc(100vw - 16px));
+ max-height: calc(100dvh - var(--sp-bar-bottom, 56px) - 12px);
+}
+.sp-savemenu .bkm-item { font-size: 12.5px; }
/* Selectors that override the kernel sheet carry `.bkm`/`.bkm-menu`: the
bundle places that sheet AFTER this file, so equal specificity loses.
A row that TEACHES may wrap, but no menu here is wider than a phone column. */
.bkm-menu.sp-mn-pop { max-width: min(320px, calc(100vw - 16px)); }
+.sp-savemenu > .bkm-menu.sp-mn-pop { max-width: min(264px, calc(100vw - 16px)); }
.sp-mn-pop .bkm-body { flex: 1 1 auto; }
-.sp-mn-pop .bkm-selected { background: var(--chrome-2); }
+/* ⋯ exists only once the bar has folded, as slides' does */
+.sp-bar .sp-more { display: none; }
+.sp-bar.sp-bar-fold .sp-more { display: inline-flex; }
/* a SHORTCUT sits at the row's end, in the interface face, right-aligned, in
⌃⌥⇧⌘ order (D8) — never a second line under the name, where it read as a
description of the command */
@@ -1456,7 +1585,7 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
}
.sp-keys-g { min-width: 0; }
.sp-keys-h {
- margin: 16px 2px 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em;
+ margin: 16px 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
text-transform: uppercase; color: var(--muted);
}
.sp-keys-g:first-child .sp-keys-h, .sp-keys-g:nth-child(2) .sp-keys-h { margin-top: 8px; }
@@ -1465,12 +1594,12 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
margin: 0; align-items: baseline;
}
.sp-keys-list dt { justify-self: end; }
-.sp-keys-list dd { margin: 0; font-size: 13.5px; color: var(--ink-2); }
+.sp-keys-list dd { margin: 0; font-size: 13px; color: var(--ink); }
.sp-kbd {
- display: inline-block; padding: 2px 7px; font: inherit; font-size: 12px;
+ display: inline-block; padding: 2px 6px; font: inherit; font-size: 12px; font-weight: 600;
font-variant-numeric: tabular-nums; color: var(--ink);
- background: var(--chrome-2); border: 1px solid var(--line);
- border-radius: 6px; white-space: nowrap;
+ background: var(--pop-hover); border: 1px solid var(--line);
+ border-radius: 5px; white-space: nowrap;
}
/* ⋯ IS A HOME, NOT JUST AN OVERFLOW. It used to be display:none until the bar
@@ -1520,6 +1649,7 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
and a SQUARE one, the icon centred. */
.sp-bar-fold .sp-split > .sp-btn:first-child {
border-start-end-radius: 8px; border-end-end-radius: 8px;
+ border-inline-end: 1px solid var(--ink);
padding-inline: 9px; justify-content: center;
}
/* THE STATUS LINE LEAVES THE FLOW. It is a nowrap span, so a long message
@@ -1545,13 +1675,14 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
inverse of the surface — ink fill, ground text — like slides' toast and the
kernel tooltip, above a dialog on purpose. */
.sp-notice {
- position: fixed; left: 50%; bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
- transform: translate(-50%, 6px); z-index: var(--z-toast);
+ position: fixed; left: 50%; bottom: max(26px, calc(env(safe-area-inset-bottom) + 16px));
+ transform: translate(-50%, 12px); z-index: var(--z-toast);
max-width: min(520px, calc(100vw - 32px)); padding: 9px 16px;
- border-radius: 999px; background: var(--ink); color: var(--bg);
- font-size: 13px; line-height: 1.35; text-align: center;
- box-shadow: var(--shadow-pop); pointer-events: none;
- opacity: 0; transition: opacity .18s ease, transform .18s ease;
+ /* slides' .ed-toast: --ink pill, --surface ink, no shadow, .25s */
+ border-radius: 999px; background: var(--ink); color: var(--pop-bg);
+ font-size: 13px; text-align: center;
+ pointer-events: none;
+ opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.sp-notice.sp-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .sp-notice { transition: none; } }
@@ -1603,19 +1734,27 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
proportions (a 70×30 half and a 21px caret, where spaces' were 97 and 30);
spaces' fill, because Save is the primary action in both apps (D1). */
.sp-split { display: inline-flex; align-items: stretch; }
+/* Slides' split as #568 made it primary: --surface ink on an --ink fill, a
+ 1px --ink frame with no seam on the Save half, and the caret parted from it
+ by a hairline in the text colour mixed into the fill — slides' `.ed-split`
+ and `.ed-split-caret`, value for value, measured at 1440 and at the compact
+ tier (Save 70/35 wide, caret 21, both 30 tall). */
.sp-split > .sp-btn:first-child {
position: relative;
border-start-end-radius: 0; border-end-end-radius: 0;
padding: 6px 9px;
+ border-color: var(--ink); border-inline-end: none; color: var(--pop-bg);
}
+.sp-split > .sp-btn:first-child:hover { border-color: var(--ink-2); }
.sp-split .sp-caret > .sp-btn {
- height: 100%; padding: 6px 4px;
+ height: 100%; padding: 6px 7px;
border-start-start-radius: 0; border-end-start-radius: 0;
- margin-inline-start: 1px;
- background: var(--ink); color: var(--bg);
+ border-color: var(--ink);
+ border-inline-start-color: color-mix(in srgb, var(--pop-bg) 35%, var(--ink));
+ background: var(--ink); color: var(--pop-bg);
}
-.sp-split .sp-caret > .sp-btn svg { width: 12px; height: 12px; }
-.sp-split .sp-caret > .sp-btn:hover { background: var(--ink-2); }
+.sp-caret-g { font-size: 10px; line-height: 1; }
+.sp-split .sp-caret > .sp-btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
/* The unsaved dot lives ON Save: the place you look to find out whether you
need to press it is the button itself. A BADGE on the corner, as slides'
@@ -1624,7 +1763,7 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
.sp-dirty {
position: absolute; top: 3px; inset-inline-end: 3px;
width: 7px; height: 7px; border-radius: 50%;
- background: var(--accent); box-shadow: 0 0 0 2px var(--ink);
+ background: var(--accent); box-shadow: 0 0 0 1.5px var(--dirty-ring);
opacity: 0; transition: opacity .18s; pointer-events: none;
}
.sp-dirty.sp-on { opacity: 1; }
@@ -1650,6 +1789,8 @@ button.sp-callout-chip:hover { text-decoration: underline; text-underline-offset
.sp-bar, .sp-bar.sp-bar-compact, .sp-bar.sp-bar-tight {
padding: 6px max(6px, env(safe-area-inset-right)) 6px max(6px, env(safe-area-inset-left));
}
+ /* slides' phone rows: 44px targets, the desktop padding (D5) */
+ .sp-mn-pop .bkm-item { min-height: var(--tap); }
.sp-bar .sp-btn, .sp-bar .sp-live { min-width: var(--tap); min-height: var(--tap); justify-content: center; }
/* the mark is a button (About), so it is a 44px target like the rest (D5);
the glyph stays slides' 20px, centred in it */
@@ -2075,39 +2216,70 @@ button.sp-issue-set:hover { background: var(--chrome-2); border-color: var(--edg
}
.sp-dot-more { background: var(--chrome-2); color: var(--muted); }
-.sp-people { min-width: 260px; padding: 10px; }
-.sp-pop-title { font-weight: 650; margin: 0 0 8px; }
+/* ————— SLIDES PARITY: the Share popover —————
+ slides' `.ed-share-pop` and its parts (slides/src/styles.css), value for
+ value: 12px padding, 7px between parts, 250–290 wide, your name on one line,
+ 10.5px/700 uppercase section labels, the status in amber or green, and the
+ actions as framed 12.5px buttons with the first one filled. The one thing
+ that is not slides' is the second line on each action — D2 rules Share a
+ consequence menu, so what a button does is written on it. */
+.sp-pop.sp-people {
+ display: flex; flex-direction: column; gap: 7px;
+ width: auto; min-width: 250px; max-width: 290px; padding: 12px;
+}
+.sp-pop.sp-people.sp-sheet { max-width: none; }
+/* slides' popover sits at its 250px floor (it is sized against its button);
+ a fixed popover would instead grow to the cap as soon as a note wraps */
+.sp-pop.sp-people:not(.sp-sheet) { width: 250px; }
+.sp-share-name { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
+.sp-share-name .sp-input { flex: 1; min-width: 0; padding: 5px 8px; border-radius: 6px; font-size: 12.5px; background: var(--field); }
+/* a stacked field (the link card's) */
.sp-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.sp-field-lbl { font-size: 12px; color: var(--muted); }
+.sp-share-label {
+ font-size: 10.5px; font-weight: 700; text-transform: uppercase;
+ letter-spacing: 0.07em; color: var(--muted); margin-top: 3px;
+}
.sp-input {
font: inherit; padding: 6px 8px; border: 1px solid var(--line);
border-radius: 7px; background: var(--bg); color: var(--ink); width: 100%;
}
-.sp-plist { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
+.sp-plist { display: flex; flex-direction: column; gap: 2px; max-height: 240px; overflow-y: auto; }
.sp-pitem {
display: flex; align-items: center; gap: 8px; width: 100%;
- border: 0; background: none; font: inherit; color: inherit;
- padding: 5px 6px; border-radius: 7px; cursor: pointer; text-align: start;
+ border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--ink);
+ padding: 4px 6px; border-radius: 6px; cursor: pointer; text-align: start;
}
-.sp-pitem:hover { background: var(--chrome-2); }
-.sp-pname { font-weight: 550; }
+.sp-pitem:hover { background: var(--pop-hover); }
+.sp-pname { font-weight: 550; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* where they are, quietly — the page title is context, not the subject */
-.sp-ppage { color: var(--muted); font-size: 12px; margin-inline-start: auto;
+.sp-ppage { color: var(--muted); font-size: 11.5px; margin-inline-start: auto;
max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.sp-pempty, .sp-pnote { color: var(--muted); font-size: 12px; margin: 0 0 10px; }
-.sp-pacts { display: flex; flex-direction: column; gap: 4px; }
+.sp-pempty, .sp-pnote { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 0; }
+.sp-pacts { display: flex; flex-direction: column; gap: 0; }
+/* slides #573: Share's actions are plain menu rows — `.ed-btn` in a menu:
+ 12.5px, one 30px line, 6px 9px inside a transparent 1px frame, a hover fill
+ and nothing at rest, no filled primary; adjacent rows touch */
.sp-paction {
- display: flex; flex-direction: column; gap: 1px; text-align: start;
- border: 0; background: none; font: inherit; color: inherit;
- padding: 7px 8px; border-radius: 7px; cursor: pointer;
-}
-.sp-paction:hover { background: var(--chrome-2); }
-.sp-paction-sep { height: 1px; background: var(--line); margin: 8px 4px 10px; }
-.sp-paction span { color: var(--muted); font-size: 12px; }
-
-/* THIS device's row in the People list: it is you, so it is not a target. */
-.sp-pme { cursor: default; }
-.sp-pme:hover { background: none; }
+ display: flex; align-items: center; gap: 6px; width: 100%; text-align: start;
+ font: inherit; font-size: 12.5px; color: var(--ink-2);
+ background: transparent; border: 1px solid transparent; border-radius: 8px;
+ padding: 6px 9px; cursor: pointer; white-space: nowrap;
+}
+.sp-paction:hover { background: var(--pop-hover); }
+.sp-paction:active { background: var(--pop-line); }
+.sp-paction-ico { display: flex; flex: none; }
+.sp-paction-ico svg { display: block; }
+.sp-paction-body { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
+/* the rows touch, so the rule carries the popover's 7px either side, as
+ slides' `.ed-share-sep` gets from its gap */
+.sp-paction-sep { height: 1px; background: var(--pop-line); margin: 9px 0; }
+
+/* THIS device's row in the People list, on a chrome ground as slides' */
+.sp-pme { cursor: default; background: var(--pop-chrome); border-radius: 7px; gap: 7px; }
+.sp-pme:hover { background: var(--pop-chrome); }
+.sp-pme .sp-pname { font-weight: 600; }
+.sp-pme .sp-ppage { font-size: 11px; font-variant-numeric: tabular-nums; }
/* Remove, on a peer row. Deliberately faint until the row is hovered — a
revocation is one click and it is not undoable, so it must not read as
@@ -2119,15 +2291,15 @@ button.sp-issue-set:hover { background: var(--chrome-2); border-color: var(--edg
.sp-pitem:hover .sp-pkick { opacity: 1; }
.sp-pkick:hover { background: color-mix(in srgb, var(--c-red) 18%, transparent); color: var(--c-red); }
-/* The connection line. One glance = which of the five states this copy is in,
- and the dot carries the colour so the words never have to. */
-.sp-pstatus { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
-.sp-pstatus.ok { color: var(--accent-ink); }
+/* The connection line, slides' `.ed-share-status`: amber until live, green
+ once it is. One glance = which of the five states this copy is in. */
+.sp-pstatus { font-size: 12.5px; font-weight: 600; color: var(--share-wait); }
+.sp-pstatus.ok { color: var(--share-ok); }
/* A heading inside a menu: the three width rows are a CHOICE among themselves,
not three more actions in the list above them. */
.sp-menu-label {
- font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
+ font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
color: var(--muted); padding: 10px 10px 4px; margin-top: 4px;
border-top: 1px solid var(--line);
}
@@ -2468,3 +2640,17 @@ body.sp-canvas-dragging { user-select: none; cursor: grabbing; }
.sp-canvas-body { background: none; background-image: none; }
.sp-cv-grip, .sp-canvas-btn { display: none !important; }
}
+
+/* ————— SLIDES PARITY: the keyboard ring —————
+ slides #573 (and the kernel's .bkm-item): 2px --accent-ink. Bar and dialog
+ buttons draw it OUTSIDE, on the surface they sit on (inside, it would vanish
+ into Save's ink fill); rows in a list draw it INSIDE, where the list's own
+ padding would clip it. :focus-visible, so a pointer never sees it. */
+.sp-bar button:not(.bkm-item):focus-visible, .bkd-card button:not(.bkm-item):focus-visible {
+ outline: 2px solid var(--accent-ink); outline-offset: 2px;
+}
+.sp-pop .sp-paction:focus-visible, .sp-pop .sp-pitem:focus-visible, .sp-mn-pop .bkm-item:focus-visible,
+.bkd-card .sp-result:focus-visible, .bkd-card .sp-ab-version:focus-visible {
+ outline: 2px solid var(--accent-ink); outline-offset: -2px;
+}
+