Repository navigation
fix: window, sidebar and pinned avatars follow the Omarchy scale - #169
Conversation
Omarchy's text-size knob (`omarchy display text size`) sets [font] base-size, and Style.fontScale drives both Style.font.* and Style.space(). Blip's text already follows it, but four sizes were bare pixel literals: the window's implicit size (1040x720), its minimum (720x480), the split view's sidebarWidth (320) and the pinned avatars' 56..88 bounds. At a larger base-size the text grew inside geometry that did not, so names elided sooner and the window opened cramped. All four now go through Style.space(). The saved window-size guard compares against win.minimumSize instead of the literal, so a size saved at a smaller base-size is not restored below the scaled minimum. No visual change at the default base-size 12, where Style.space(n) == n. Invariant added to CLAUDE.md (geometry follows Style.space()); covered by a new ui.test.ts case, and the pinned-avatar test updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
…"loading" WHAT: scripts/demo/DemoShell.qml gains `property var replyPending: []`. WHY: BlipView reads hostWidget.replyPending (added with native replies, #160), which DemoShell did not define, so startNextThreadLoad() threw "Cannot read property 'chat' of undefined" and scripts/demo/blip-shots drew every conversation as "loading...". Found and diagnosed by Tim Pearson (ttiimmaahh) while preparing #169, who named the one-line fix and offered to send it; folded in here so the 2.8.0 release is not held for a harness line, with his credit. VERIFIED: replyPending is the one name whose absence throws (BlipView concatenates it, so undefined breaks the filter), as Tim's run showed. DemoShell also lacks other host properties BlipView reads (toast allowlist, tapback and reply helpers, scroll gains); I did not audit those and they have not thrown. bun test unchanged. Not rendered here: the harness needs a live Hyprland session and this host has none. LR-T: blip, demo, blip-shots, replyPending, ttiimmaahh LR-D: blip, qml LR-K: blip-demo-replypending-2026-11-23, 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, Tim. At a larger text size the words grew inside containers that did not: the sidebar stayed 320, so "Dana Whitfield" became "Dana Whitf..." and previews wrapped to a third line and cut off. You found all four bare pixel literals (the window's The part most people would have missed is the saved-size guard in Checked: the new geometry test and your updated pinned-avatar test both fail on 2.7.0's QML and pass here (I put the old You were right to leave the newer fixed-size components alone to keep this small and checkable, and I would like the follow-up you offered ( 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
The Blip window's default and minimum size, the split view's sidebar width, and the pinned avatars' size bounds now go through
Style.space(), so they grow withomarchy display text sizelike the text inside them. Nothing changes at the default base-size 12, whereStyle.space(n) == n.Why
Omarchy's text-size knob sets
[font] base-size, andStyle.fontScaledrives bothStyle.font.*andStyle.space(). Blip's text already follows it, but four sizes were bare pixel literals:implicitWidth: 1040,implicitHeight: 720,minimumSize: Qt.size(720, 480)andsidebarWidth: 320, plus the pinned avatars'Math.min(88, Math.max(56, …)). At a larger base-size the text grows inside a sidebar that doesn't. Pinned names elide ("Dana Whitf…"), previews wrap to more lines and truncate, and the window opens cramped.The saved window-size guard in
BlipWindow.qmlnow compares againstwin.minimumSizeinstead of720/480, so a size saved at a smaller base-size isn't restored below the scaled minimum.Demo data at
base-size = 15, before on the left and after on the right. Yellow marks text that was cut off or squeezed:Flip view (GIF)
How it was verified
bun testis green: 928 pass, 0 fail. The newwindow and sidebar geometry follow the Omarchy scalecase and the updated pinned-avatar case both fail onmainand pass here.test-read-ui,test-send-service-ui,test-composer-emoji-ui,test-audio-*,test-reaction-ui,test-reply-ui,test-sticker-ui) plustest-city-ui/test-city-viewall pass locally.scripts/demo/blip-shotsagainst the fake bridge, with[font] base-size = 15written into the sandbox).CLAUDE.md→ added: "Geometry follows Omarchy's scale throughStyle.space()".Not in scope: newer components such as
AudioMessage,ReactionPicker,ComposerEmojiPicker,MessageMenuandStickerImagealso use fixed pixel sizes. I left them alone to keep this small and easy to check, and can follow up if you want them done the same way.Companion to #170 (body-led type ramp) and independent of it. The two touch different lines and merge cleanly in either order.
Side note:
scripts/demo/blip-shotscurrently renders every conversation as "loading…" onmain.BlipViewreadshostWidget.replyPending(added with native replies, #160), andDemoShell.qmldoesn't define it, sostartNextThreadLoad()throwsCannot read property 'chat' of undefined. Addingproperty var replyPending: []toDemoShellfixes it. Happy to send that as its own PR.