Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
Fix: the row kept saying "Added when you next save" after saving
nyblnet24c83de2efef
diff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.tsindex aa312d53..4ed66bed 100644--- a/slides/src/editor/editor.ts+++ b/slides/src/editor/editor.ts@@ -24,7 +24,7 @@ import { openSpeakerWindow, speakerIdleBody } from '../screens'import { borderPoint, boxCenter, lineEndpoints, setLineEndpoints, sideMidpoint } from './lineedit'import { ICONS } from '../icons'import { t, setLocale, locale, localeChoices, LOCALE_CHOICES } from '../i18n'-import { availablePacks, fetchPack, packsInFile, stageForFile, unstageFromFile } from '../packs'+import { availablePacks, fetchPack, markFileSaved, packsInFile, stageForFile, unstageFromFile } from '../packs'import { appConfig } from '../../../kernel/src/app.ts'import { disconnectOnline, joinFromDoc, mintCollab, mintInvite, onlineTransport, rotateKeys, sharingOn, startSharing, stopSharing } from '../sync/online'@@ -1807,6 +1807,7 @@ export class Editor {this.session?.stampInto(doc)await writeUpdatedFile(await serializeAuto(doc))this.store.setDirty(false)+ markFileSaved() // the packs went out with those bytes toothis.flashSaved()return} catch { /* keep dirty; the IndexedDB snapshot is the backstop */ }@@ -2047,6 +2048,8 @@ export class Editor {const result = await saveFile(this.store.doc, forcePicker)if (result === 'cancelled') returnthis.store.setDirty(false)+ // staged language packs are in the bytes now — stop calling them pending+ markFileSaved()// record a recovery baseline + a version checkpoint at each manual saveif (!isEncryptionActive()) { void putRecovery(this.store.doc); void addVersion(this.store.doc); this.lastVersionAt = Date.now() }// Saving is the opt-in: a named, saved deck is "live by default" from