oficina / docs Public

Docs: "Trouble saving" only when the server cannot be reached

A save refused with no answer is followed by a probe of /healthz, keepalive
then ordinary. If either answers, the browser refused the save (WebKit while
a link loads, or keepalive's 64KiB spent): the save is retried quietly.
Closes the false message for an edit too large for a keepalive save during
a pending navigation, and the quick-return case (Claude Fable on #94).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev ed409d096b8f3c7c774e6f469c9d18b6450af589 parent 3741de1
8 files changed, +184 −26
  • fixtures/editor-entry.js +4 −1
  • fixtures/engines/saving-webkit.swift +12 −4
  • fixtures/engines/saving.mjs +17 −0
  • fixtures/save-queue.mjs +37 −2
  • fixtures/save-queue.test.mjs +58 −1
  • internal/docs/saving_browser_test.go +42 −4
  • internal/docs/static/editor.781d731ca14ec9cf.js +0 −14
  • internal/docs/static/editor.a3d65568eb1b9f26.js +14 −0
fixtures/editor-entry.js

Loading diff…

fixtures/engines/saving-webkit.swift

Loading diff…

fixtures/engines/saving.mjs

Loading diff…

fixtures/save-queue.mjs

Loading diff…

fixtures/save-queue.test.mjs

Loading diff…

internal/docs/saving_browser_test.go

Loading diff…

internal/docs/static/editor.781d731ca14ec9cf.js

Loading diff…

internal/docs/static/editor.a3d65568eb1b9f26.js

Loading diff…