Repository navigation
Open
Labels
Description
Summary
Make the desktop save status quiet. When everything is saved, the bar shows only a small cloud-check icon, the hover target. Hover or focus opens a small card with the details. Selecting the status opens Version history. Only three states are announced: Offline, back online and the content-fork Reload state. This follows Google Docs, which keeps its save state small beside the title.
What the user sees
The status sits beside the title, where ProviderSyncStatus sits today (apps/webapp/src/components/TipTap/pad-title-section/PadTitle.tsx:79).
| State | In the bar | Card title | Card lines |
|---|---|---|---|
| Saved | cloud-check icon only | All changes saved | Last saved at 10:42. · Connected. 3 people here. · Select to open Version history. |
| Saving | spinner + "Saving…" | Saving your changes… | Some changes are not saved yet. · Last saved at 10:42. |
| Offline | warning ink, "Offline" | You are offline. Your changes will save when you are back online. | Your changes stay on this device until then. · Last saved at 10:42. |
- The card stays open while the pointer is on it. Escape closes it (WCAG 1.4.13). It opens on keyboard focus too.
- Selecting the status opens Version history, like the history button (
PadTitle.tsx:105). - The status region announces only three things. Offline: "Offline. Your changes will save when you are back online." Back online: "Back online." The content-fork Reload state: the chip's existing tooltip text, "This tab is out of date and stopped syncing to protect your work. Reload the page to keep editing." Saving and saved are never announced.
- "Last saved at …" is left out until the first save in this session.
- Copy: "Saving your changes…", never today's "Syncing changes to server...".
Maintainer rulings, 2026-10-25
- Nothing in the bar when saved except the cloud-check icon; the details show on hover and focus.
- Keep the cloud-check icon when saved, so a mouse user has something to hover.
- No exact unsaved count. The card says "Some changes are not saved yet."
- Announce the content-fork Reload state too.
- The back-online copy is "Back online."
Build steps
- States. Map every state in
apps/webapp/src/components/TipTap/pad-title-section/ProviderSyncStatus.tsx:34-101:saved→ Saved. Today it showsIcons.cloud(:53-59); use a cloud-check icon. AddLuCloudChecktoapps/webapp/src/components/icons/registry.ts.savingandsynced→ Saving.syncedis a 300 ms timer (read from code, not measured) after a local update (apps/webapp/src/hooks/useYdocAndProvider.ts:339-345), not a server answer. Remote edits never setsaving(useYdocAndProvider.ts:327), so "Saving…" means your own edits.offline→ Offline. WhenmirrorWriteFailedis true, keep today's line (:64-66); "stay on this device" would be false.error, the content-fork "Reload" chip andunauthenticatedkeep their visible text and copy. Their tooltip text moves into the same card. The sign-in chip still opens sign-in on click.- The pre-sync "Connecting" chip (
:150-161) and the mirror warning (:103-116) stay as they are.
- People here. "Connected. 3 people here." counts the same faces as
apps/webapp/src/components/TipTap/pad-title-section/PresentUsers.tsx. - Last saved time. Nothing stamps it today; a grep for a last-saved field finds none. Stamp the time when the
document:savedstateless message arrives (useYdocAndProvider.ts:211-213). That is the server's confirmation that the database has the document. - Unsaved changes.
HocuspocusProvider3.4.4 hasunsyncedChangesand anonUnsyncedChangescallback (@hocuspocus/providerdist/packages/provider/src/HocuspocusProvider.d.ts:53,61). No webapp code reads them today; a grep finds no use. Read the count only to show or hide "Some changes are not saved yet." The count is never shown, becauseunsyncedChangescounts update messages, not edits a person would count. - Control. Make the status a
button(it opens Version history). A button cannot keeprole=status(ProviderSyncStatus.tsx:184). Add one separate sr-onlyrole=statusregion for the three announcements: Offline, back online and the content-fork Reload state. - Card. The house
Tooltipfails WCAG 1.4.13 here. It ispointer-events-none, usesmove: false, and has no focus trigger (apps/webapp/src/components/ui/Tooltip.tsx:78-87,145). Use an anchored L1 card (popoverPanelClassName, the species of the rail preview card). Open it with Floating UIuseHoverplussafePolygon,useFocusanduseDismiss. - Catalog. Update
.cursor/docs/design-system.md§Pad status chips (line 326): the saved icon, the "Saving…" text, the card and the status region. No new token.
Decisions (ruled 2026-10-25)
- Should the card show the exact unsaved count ("2 changes are not saved yet")? No. It says "Some changes are not saved yet."
- Is the content-fork "Reload" state announced too? Yes. It needs action, and a silent chip is easy to miss.
- Is "Back online." the right copy? Yes. The design has no back-online line, and this is the shortest true sentence.
- Keep the cloud-check icon when saved? Yes. Without it, a mouse user has nothing to hover.
Out of scope
- The phone compact chip (
apps/webapp/src/components/TipTap/pad-title-section/MobilePadTitle.tsx:311). - Any change to the save pipeline or the server.
Checks
- Browser at 1280px or wider, light, dark and dark-HC.
- Type, wait for save, then hover: the card shows a last-saved time.
- Move the pointer from the icon onto the card: it stays. Escape closes it.
- Tab to the status: the card opens. Enter opens Version history.
- Go offline in DevTools: "Offline" shows and is announced once. Back online is announced once.
- When the content-fork "Reload" chip shows, a screen reader announces "This tab is out of date and stopped syncing to protect your work. Reload the page to keep editing." once.
- With a screen reader, typing announces nothing.
- Tests: opt-in; none planned.
Activity
HMarzban commentedon Oct 25, 2026
Maintainer ruling, 2026-10-25
Open decision 4: keep the cloud-check icon when saved, so a mouse user has something to hover. This is now part of the ruled quiet save status.
HMarzban commentedon Oct 25, 2026
Maintainer ruling, 2026-10-25
The maintainer accepted every remaining recommended answer ("all picks").