Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

Merge remote-tracking branch 'origin/main' into reduce-motion

nyblnet33a09b237d94
diff --cc CHANGELOG.md
index 059e256e,96c49fc8..829b24d8
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -11,14 -11,26 +11,34 @@@ pre-1.0
## [Unreleased]
+- **Reduce motion during a presentation.** A calmer show for motion sensitivity,
+ a laggy projector, or a weak machine. It honours the OS *prefers-reduced-motion*
+ setting automatically; the presenter can also toggle it with **M** (or the ⏸
+ button in speaker view). When on, slide transitions cut instantly and every
+ animation — morph, entrance staggers, count-ups, dash-march / motion-path loops,
+ ken-burns — is skipped, so elements just show their final state. It's a
+ viewer/presenter preference (persisted per browser), never written into the
+ document.
+ - **Fix: live edits no longer lose focus when a collaborator changes something.**
+ A remote collab op used to trigger a full canvas repaint that tore down the
+ text (or table-cell) node you were typing in — stealing focus and resetting
+ the caret. The canvas now defers the repaint while an inline edit is in
+ progress (a burst of remote ops coalesces into one repaint), and catches up
+ the instant the edit commits. Your edit is untouched; everyone else's changes
+ still land — you just see them when you finish typing. (The most-reported
+ rough edge from the Show HN launch.)
+
+ - **Fix: charts with negative values now baseline at zero.** A bar/line chart
+ whose data crosses zero drew everything from the bottom of the plot — negative
+ bars pointed up and the x-axis was pinned to the floor. Bars now grow from the
+ zero line (positive up, negative down), and the x-axis line sits at zero so
+ values dip below it. All-positive charts are unchanged.
+
+ - **Fix: two-finger pinch no longer breaks selection on mobile Safari.** A pinch
+ over the canvas started a rubber-band marquee and, combined with the page
+ zoom, threw the selection box off and could crash the page. Multi-touch
+ gestures are now ignored by the marquee and the page pinch-zoom is suppressed
+ over the canvas; single-touch scroll and selection are unaffected.
## [1.0.7] — 2026-07-22
diff --cc slides/src/i18n/de.ts
index 585b804a,2873eb9d..c699ea87
--- a/slides/src/i18n/de.ts
+++ b/slides/src/i18n/de.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const de: Catalog = {
+ "Reduced motion: on": "Bewegung reduziert: an",
+ "Reduced motion: off": "Bewegung reduziert: aus",
+ "Reduce motion — pause animations (also honours your OS setting)": "Bewegung reduzieren — Animationen pausieren (berücksichtigt auch die OS-Einstellung)",
+ "Reduce motion (M)": "Bewegung reduzieren (M)",
+ "Visit bento.page (opens in a new tab)": "bento.page besuchen (öffnet in neuem Tab)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "Neu bei Bento? Vorlagen, die Galerie und den KI-Bearbeitungsleitfaden findest du auf {home} — oder gib ⭐ auf {gh}.",
"Morph": "Morph",
"Morph id": "Morph-ID",
"Pair with": "Verknüpfen mit",
diff --cc slides/src/i18n/es.ts
index c3914b78,aae8fb4b..38e60024
--- a/slides/src/i18n/es.ts
+++ b/slides/src/i18n/es.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const es: Catalog = {
+ "Reduced motion: on": "Movimiento reducido: activado",
+ "Reduced motion: off": "Movimiento reducido: desactivado",
+ "Reduce motion — pause animations (also honours your OS setting)": "Reducir movimiento — pausa las animaciones (respeta también el ajuste del sistema)",
+ "Reduce motion (M)": "Reducir movimiento (M)",
+ "Visit bento.page (opens in a new tab)": "Visitar bento.page (se abre en una pestaña nueva)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "¿Nuevo en Bento? Encuentra plantillas, la galería y la guía de edición con IA en {home} — o dale ⭐ en {gh}.",
"Morph": "Morph",
"Morph id": "Id de morph",
"Pair with": "Emparejar con",
diff --cc slides/src/i18n/fr.ts
index c9aedb57,ccc3badd..0dc8f105
--- a/slides/src/i18n/fr.ts
+++ b/slides/src/i18n/fr.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const fr: Catalog = {
+ "Reduced motion: on": "Animations réduites : activées",
+ "Reduced motion: off": "Animations réduites : désactivées",
+ "Reduce motion — pause animations (also honours your OS setting)": "Réduire les animations — met en pause les animations (respecte aussi le réglage du système)",
+ "Reduce motion (M)": "Réduire les animations (M)",
+ "Visit bento.page (opens in a new tab)": "Visiter bento.page (nouvel onglet)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "Nouveau sur Bento ? Trouvez des modèles, la galerie et le guide d’édition par IA sur {home} — ou mettez une ⭐ sur {gh}.",
"Morph": "Morph",
"Morph id": "Id de morph",
"Pair with": "Associer à",
diff --cc slides/src/i18n/it.ts
index 9f7abb75,89e78474..b29d1967
--- a/slides/src/i18n/it.ts
+++ b/slides/src/i18n/it.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const it: Catalog = {
+ "Reduced motion: on": "Movimento ridotto: attivo",
+ "Reduced motion: off": "Movimento ridotto: disattivato",
+ "Reduce motion — pause animations (also honours your OS setting)": "Riduci il movimento — mette in pausa le animazioni (rispetta anche l’impostazione del sistema)",
+ "Reduce motion (M)": "Riduci il movimento (M)",
+ "Visit bento.page (opens in a new tab)": "Visita bento.page (si apre in una nuova scheda)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "Nuovo su Bento? Trovi modelli, la galleria e la guida all’editing con IA su {home} — o metti una ⭐ su {gh}.",
"Morph": "Morph",
"Morph id": "Id morph",
"Pair with": "Abbina a",
diff --cc slides/src/i18n/ja.ts
index 74b44742,d8357782..db70a50f
--- a/slides/src/i18n/ja.ts
+++ b/slides/src/i18n/ja.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const ja: Catalog = {
+ "Reduced motion: on": "モーション軽減:オン",
+ "Reduced motion: off": "モーション軽減:オフ",
+ "Reduce motion — pause animations (also honours your OS setting)": "モーションを減らす — アニメーションを一時停止(OS設定にも従います)",
+ "Reduce motion (M)": "モーションを減らす (M)",
+ "Visit bento.page (opens in a new tab)": "bento.page を開く(新しいタブ)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "Bento は初めてですか?テンプレート、ギャラリー、AI編集ガイドは {home} でどうぞ — {gh} で ⭐ もぜひ。",
"Morph": "モーフ",
"Morph id": "モーフ id",
"Pair with": "ペア設定",
diff --cc slides/src/i18n/zh-Hans.ts
index 342193a0,96a3fb4a..f936e0ec
--- a/slides/src/i18n/zh-Hans.ts
+++ b/slides/src/i18n/zh-Hans.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const zhHans: Catalog = {
+ "Reduced motion: on": "减少动态效果:开",
+ "Reduced motion: off": "减少动态效果:关",
+ "Reduce motion — pause animations (also honours your OS setting)": "减少动态效果 — 暂停动画(也遵循系统设置)",
+ "Reduce motion (M)": "减少动态效果 (M)",
+ "Visit bento.page (opens in a new tab)": "访问 bento.page(在新标签页打开)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "第一次用 Bento?在 {home} 查看模板、图库和 AI 编辑指南 — 也欢迎到 {gh} 点 ⭐。",
"Morph": "变形",
"Morph id": "变形 id",
"Pair with": "配对",
diff --cc slides/src/i18n/zh-Hant.ts
index 1da32366,514b7eaa..a51e0fa1
--- a/slides/src/i18n/zh-Hant.ts
+++ b/slides/src/i18n/zh-Hant.ts
@@@ -4,10 -4,8 +4,12 @@@
import type { Catalog } from '../i18n'
export const zhHant: Catalog = {
+ "Reduced motion: on": "減少動態效果:開",
+ "Reduced motion: off": "減少動態效果:關",
+ "Reduce motion — pause animations (also honours your OS setting)": "減少動態效果 — 暫停動畫(也遵循系統設定)",
+ "Reduce motion (M)": "減少動態效果 (M)",
+ "Visit bento.page (opens in a new tab)": "造訪 bento.page(在新分頁開啟)",
+ "New to Bento? Find templates, the gallery and the AI editing guide at {home} — or ⭐ it on {gh}.": "第一次用 Bento?在 {home} 查看範本、圖庫和 AI 編輯指南 — 也歡迎到 {gh} 按 ⭐。",
"Morph": "變形",
"Morph id": "變形 id",
"Pair with": "配對",