Repository navigation
ui: show a compact read-sync indicator when Mac is locked - #168
Conversation
When read updates are queued behind a locked Mac screen (or retrying without a hard error), classifyReadSync() now emits a structured readSync notice instead of populating BlipOutput.error. BlipView renders a small muted pill beside 'mark all read' with a hover tooltip and click-to-expand detail rather than the four-line urgent red banner. Hard failures (Accessibility/Full Disk Access denials, state write failures, missing snapshot) stay in error and keep the red alert. BarWidget reports read_sync=<reason>(<n>) in IPC status and keeps the read-sync queue, backoff, and mark-all gate invariants unchanged.
934bf0f to
4f29b60
Compare
WHAT: Tim Pearson (ttiimmaahh) moves Blip's text up one step on a semantic ramp like Omarchy's own panels: bubble text, the composer, thread and contact names, empty states, the search and new-message fields and Contact Review are `body`; previews, times, sender names, day dividers, attachment chips, tapbacks, the reply banner, notes and errors are `bodySmall`; only fine print (receipts, bubble metadata, the version tag, section headers, "Esc closes", avatar initials) stays `caption`. After the change body is used 17 times, bodySmall 32, caption 9 (caption was the dominant token, 34 uses). Voice-message and sticker labels stay caption because their boxes are fixed size. Font family, colours and layout are unchanged and ui_font_size still scales the same ramp. CLAUDE.md gains the invariant "Blip's type ramp is body-led". WHY: Blip followed the desktop text-size knob yet read about 20% smaller than the shell around it at every scale. The cause was token choice, not scaling and not the font (SF Pro vs the theme mono differ by about 4% of x-height), so the only way out had been ui_font_size, which opts out of the desktop knob entirely. VERIFIED: PR CI green; the author ran 930 bun tests and the QtTest scripts and has run the ramp on his own machine since September. Before/after screenshots at base-size 12 read in the PR (names 11px to 12px, previews and times 10px to 11px, bubble text 11px to 12px). Three new "type ramp" tests fail on main's QML and pass here. Merged with #168 and #169: one ui.test.ts conflict (both append a describe block at the end of the file), resolved by keeping both. Door classifier: two-way. CONTEXT: second PR of Tim's companion pair; the read-sync pill from #168 was brought onto the ramp in the next commit. LR-T: blip, ui, type-ramp, fonts, pr-170, ttiimmaahh LR-D: blip, qml LR-K: blip-body-led-type-ramp-170, blip-2-8-0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BXN1v5rSKpVomPJvPhZCng
WHAT: CHANGELOG gains the 2.8.0 section (2026-11-23) with a short "Before you update" block on top (nothing changes on the Mac, text is one step larger by default, ui_font_size still means bubble text, the read-sync pill is covered by tests but not yet seen drawn). manifest.json and the README version badge go 2.7.0 -> 2.8.0 and the README test badge goes 927 -> 937 passing, the real count. WHY: Fred, 2026-11-23: "process all PR/Issues including 170 and write a big thankyou to him and then make a new offical release." Since 2.7.0: nine commits, three merged PRs from two outside people (#168 Danny Cecil; #169 and #170 Tim Pearson), no file under bridge/ or scripts/blip-setup touched. Minor version because the default type size is a visible change for every user. VERIFIED: full CI recipe on gus at b08baca, the tree before this commit: bun test 937 pass 0 fail, the twelve QtTest and Python UI suites, every bridge/mac and bridge/linux suite, py_compile, bash -n and shellcheck all pass. The ui.test.ts version-agreement test passes with the three files in step. OPEN: nothing here was rendered on a desktop by me; the read-sync pill (#168) has no screenshot anywhere and is said so in the notes. CONTEXT: staged by path, the three release files only. TRIAGE-2026-10-02.md and pitch_deck_content.md stay untracked and are not part of the release. LR-T: blip, release, 2.8.0, changelog, version, contributors, ttiimmaahh LR-D: blip, release, github LR-K: blip-2-8-0-release-2026-11-23, blip-release-after-2-7-0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BXN1v5rSKpVomPJvPhZCng
|
Merged in Thank you, Danny, for this one and for the kind note on #40: it means a lot, and Blip is better for how much of it is yours (this is your ninth merged PR). A normal, recoverable pause (the gateway Mac's screen is locked, so the read update waits in Checked: What I have not done, so you know exactly where this stands: I have not seen the pill drawn. There is no screenshot of it in the PR, and I have not yet had a locked gateway in front of me. One note for later, no action needed: after #170 the ramp puts notes and errors at Generated by Claude Code |
…8 notes, Post 9 draft) WHAT: CHANGE.log gets the 2.8.0 release entry and one entry each for #170, #169 and #168 (name, GitHub, X, what was verified, what was not), plus Tim Pearson in the verified PEOPLE list. CONTRIBUTORS-X.md gets his row, Danny Cecil's count 8 -> 9, and @ttiimmaahh_ (and the missing @jasona) in the paste block. WEEKLY-NOTES.md gets a new 2026-W48 section, and Danny's 17 Nov reply on #40 quoted under W47 where it belongs. X-POSTS.md gets row 9 and docs/x-post-2026-11-23.txt holds the draft, which Fred reads and posts. WHY: Fred, 2026-11-23: "process all PR/Issues including 170 and write a big thankyou to him and then make a new offical release." The standing chain is merge, visible thank-you on the PR, then CHANGE.log, roster and weekly notes the same turn. Tim Pearson's handle is @ttiimmaahh_ with a trailing underscore, which is easy to get wrong; verified from his GitHub profile and social accounts and by `x user` on gus, 2026-11-23. VERIFIED: comment sweep since 17 Nov found one note (Danny, #40); audit of all 128 merged PRs found none without a thank-you; PRs 168, 169, 170 show MERGED; release https://github.com/nixfred/blip/releases/tag/v2.8.0 is Latest; tag v2.8.0 on a251d5f is on origin and forgejo. Issue comments posted on #125 (status) and #78 (the #36 hold was already met). OPEN: the #168 pill has not been seen drawn; Tim has not answered the opt-out question on #170; 2.7.0 never had its own announcement post. LR-T: blip, docs, change-log, weekly-notes, contributors, 2.8.0, ttiimmaahh LR-D: blip, docs, github LR-K: blip-2-8-0-release-docs-2026-11-23, blip-tim-pearson-ttiimmaahh Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BXN1v5rSKpVomPJvPhZCng
What
Replace the four-line red error banner for queued/locked-Mac read syncs with a compact, muted status pill beside
mark all read:read-sync.ts,collector.ts): AddedisScreenLockedError()andclassifyReadSync(). When read intents are queued behind a locked Mac screen (or retrying without a hard error),BlipOutputemits a structuredreadSyncnotice (pending,reason,label,detail) and leaveserrorempty.errorand keep the red alert banner.BlipView.qml): Renders a small muted pill (↻ Read sync paused (N)or↻ Read sync pending (N)) on the left side of the existingmark all readrow (zero extra vertical space). Hovering shows aPanelToolTipwith the full detail; clicking toggles a muted inline detail note underneath, which resets when the notice clears or the surface closes.BarWidget.qml): StoresreadSyncseparately fromlastError, surfacesread_sync=<reason>(<n>)in IPCstatuswhile keepinghealthy=true, and includes a compact line in the bar tooltip.CLAUDE.md,README.md,scripts/demo/DemoShell.qml): Documented thereadSyncsplit and added areadsyncIPC toggle toDemoShell.qmlfor synthetic UI verification.Why
When a gateway Mac's screen locks under
push_read=thread, Blip already keeps messages flowing, suppresses the local blue dot, queues the read update durably inpendingReads, and flushes it automatically once the Mac is unlocked. Showing a four-line red⚠ imsg-read: ...block at the top of the panel made a normal, recoverable pause look like a broken bridge.A compact muted pill with hover/click detail keeps the panel calm while still telling the user that read state hasn't reached Messages/iPhone yet and preserving the Lock Screen fix hint on demand.
How it was verified
bun test: 932 pass, 0 fail (37 files, 15,983 assertions), including new unit tests forisScreenLockedError()/classifyReadSync(), end-to-end collector lifecycle tests for locked → queued → unlocked recovery, and QML invariant tests inui.test.ts.python3 scripts/test-read-ui.py: 6 pass, 0 fail.omarchy plugin validate .,qmllint BarWidget.qml BlipView.qml, andgit diff --check: all clean.grimscreenshots fromDemoShell.qml(synthetic data only) in both narrow popout and wide split-view layouts to verify alignment, wrapping, and width bounds alongsidemark all read.online=true healthy=true.CLAUDE.mdupdated):pendingReadsdurability/backoff/--throughsemantics,canMarkAllReadrow gate, themehoverFilldiscipline,Text.PlainTextrendering, and zero message content on disk.