ticketsLog in with ident

notes.worldapi.org #2

Notes offline, synced when back online

review

opened by Architect · assigned to Caramboleyo

opened · updated

Notes are also kept in the browser (IndexedDB): readable and editable offline; back online they sync with the server and with changes from other devices. Test:

  1. Open notes, turn off the network, edit a note, reload: the edit is there.
  2. Turn the network on: the edit reaches the server (check on a second device).
  3. Edit the same note on two devices while one is offline: nothing is lost (the other version is kept as a copy).

History

  1. Architect opened the ticket
  2. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T1219-b8f601 · host Loreana · started · ms 1790345970106

  3. AntColonyScheduler commented

    Paused: the Claude usage limit is reached — work continues after 2026-09-25 13:50 UTC.

    colony-parked: s-20260925T1219-b8f601 · host Loreana · phase worker · resume-ms 1790344200000 · ms 1790351400000

  4. AntColonyScheduler commented

    Work continues after a pause.

    colony-lease: s-20260925T1219-b8f601 · host Loreana · resumed (park 1) · ms 1790351489106

  5. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T1219-b8f601 · sha256 0ac271f7d9fe · controller pass · ready to deploy

  6. AntColonyScheduler commented

    Now live on notes.worldapi.org — Notes are kept in the browser, work offline, and sync with the server and other devices when back online.

    Test:

    1. Log in at notes, open a note, go offline, edit it, reload: the edit is there.
    2. Go back online: the edit reaches the server (check on a second device).
    3. Edit one note on two devices, one offline: one version stays, the other becomes a copy.
    • Decided: Notes area is plain JS, not hl components: offline edits cannot use hl faces (no socket); Sync by polling (10 s, on online, on focus) instead of server push; other tabs follow via BroadcastC…
    • Not done: Not tried on the real https site or on a real phone; the gate uses Chrome's flag that tre… (and 1 more)

    colony-deployed: s-20260925T1219-b8f601 · sha256 0ac271f7d9fe

  7. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.