Skip to content

feat: body-led type ramp, so Blip reads at the desktop's size - #170

Merged
nixfred merged 1 commit into
nixfred:mainfrom
ttiimmaahh:feat/body-led-type-ramp
Nov 23, 2026
Merged

nixfred merged 1 commit into
nixfred:mainfrom
ttiimmaahh:feat/body-led-type-ramp

Conversation

@ttiimmaahh

Copy link
Copy Markdown
Contributor

What

Blip's text now uses the same type ramp as Omarchy's own panels: primary content at body, supporting text at bodySmall, and only fine print at caption. Bubble text, the composer, thread and contact names, and previews each move up one step, so Blip reads at the same size as the shell around it. Font family, colors, layout and the iMessage look are unchanged.

Why

Blip follows omarchy display text size through Style.font.*, yet it reads about 20% smaller than the desktop around it at every scale. The cause is token choice, not scaling. In BlipView.qml the dominant token was caption (10px at base-size 12), used 34 times, while Omarchy's panels lead with body (12px), which Blip used 4 times. To a user that looks like "Blip ignores the Omarchy text size". The only way out today is ui_font_size, which opts Blip out of the desktop knob entirely.

The ramp is semantic, not "make everything bigger":

Token Used for
body bubble text, the composer, thread and contact names, empty states, the search and new-message fields, Contact Review
bodySmall previews, times, sender names, day dividers, attachment chips, tapbacks, the reply banner, notes and errors
caption fine print only: receipts, bubble metadata, the version tag, section headers, "Esc closes", avatar initials

After: body 17, bodySmall 32, caption 9. Voice-message and sticker labels stay caption because their boxes are fixed size. ui_font_size still works as before and scales this same ramp.

Demo data at the default base-size = 12, before on the left and after on the right. Each GIF flips between the two in place, which shows a one-step size change best.

Before/after: pr2-list

Flip view (GIF)

Flip between before and after

Before/after: pr2-bubbles

Flip view (GIF)

Flip between before and after

Before/after: pr2-pinned

Flip view (GIF)

Flip between before and after

How it was verified

  • bun test is green: 930 pass, 0 fail. The new type ramp block (caption no longer dominates, bubbles/composer at body, Contact Review at body) fails on main and passes here.
  • The QtTest scripts CI runs (test-read-ui, test-send-service-ui, test-composer-emoji-ui, test-audio-*, test-reaction-ui, test-reply-ui, test-sticker-ui) plus test-city-ui/test-city-view all pass locally.
  • No send/receive behavior touched.
  • UI change → screenshots attached (scripts/demo/blip-shots, fake bridge, invented people). I've also been running this ramp on my own machine since September (first on 2.6.2, now on 2.7.0).
  • Touches an invariant in CLAUDE.md → added: "Blip's type ramp is body-led, like Omarchy's own panels". It also notes that SF Pro vs the theme's monospace only accounts for ~4% of x-height, so the font isn't the cause.

This is a change to defaults, not a new setting, so it stays within "Configuration is bridge.conf keys, not a settings system". Companion to #169 (geometry follows the scale) and independent of it; the two touch different lines and merge cleanly in either order.

Blip follows `omarchy display text size` through Style.font.*, yet it
read about 20% smaller than the shell around it at every scale. The cause
was token choice, not scaling: `caption` (10px at base-size 12) was the
dominant token, used 34 times, where Omarchy's own panels lead with
`body` (12px), which Blip used 4 times. Users read that as "Blip ignores
the Omarchy text size", and the only way out was ui_font_size, which opts
Blip out of the desktop knob altogether.

The ramp is now semantic:
- body: bubble text, the composer, thread and contact names, empty
  states, the search and new-message fields, Contact Review
- bodySmall: previews, times, sender names, day dividers, chips,
  tapbacks, the reply banner, notes and errors
- caption: fine print only (receipts, bubble metadata, the version tag,
  section headers, "Esc closes", avatar initials)

BlipView now uses body 17 times, bodySmall 32 and caption 9. Voice
message and sticker labels stay caption because their boxes are fixed
size. Nothing changes when ui_font_size is set beyond following the
same ramp, and the font family is untouched.

Invariant added to CLAUDE.md (type ramp is body-led); covered by a new
"type ramp" block in ui.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ttiimmaahh
ttiimmaahh requested a review from nixfred as a code owner November 23, 2026 18:53
nixfred added a commit that referenced this pull request Nov 23, 2026
WHAT: Tim Pearson (ttiimmaahh) wraps four bare pixel literals in Style.space():
the window's default size 1040x720 and minimum 720x480, the split view's
sidebarWidth 320, and the pinned avatars' 56..88 bounds. BlipWindow's saved-size
guard now compares against win.minimumSize instead of 720/480, so a size saved at
a smaller base-size is not restored below the scaled minimum.
WHY: `omarchy display text size` writes [font] base-size, and Style.fontScale
drives both Style.font.* and Style.space(). Blip's text followed it but the
containers did not, so at base-size 15 pinned names elided ("Dana Whitf..."),
previews wrapped and truncated, and the window opened cramped. At the default
base-size 12 Style.space(n) == n, so nothing moves.
VERIFIED: PR CI green. Before/after screenshot at base-size 15 read in the PR
(sidebar 400px instead of 320, the cut-off names whole). The geometry test and
the updated pinned-avatar test fail on main's QML and pass here. bun test on the
merged tree 934 pass. Door classifier: two-way.
CONTEXT: Tim's first PR to Blip; companion to #170. He also found that
scripts/demo/blip-shots rendered every conversation as "loading" because
DemoShell lacked replyPending; fixed in the follow-up commit with his credit.

LR-T: blip, ui, scale, omarchy-text-size, pr-169, ttiimmaahh
LR-D: blip, qml
LR-K: blip-geometry-follows-scale-169, blip-2-8-0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BXN1v5rSKpVomPJvPhZCng
@nixfred
nixfred merged commit 691798f into nixfred:main Nov 23, 2026
1 check passed
nixfred added a commit that referenced this pull request Nov 23, 2026
…ody, not bodySmall)

WHAT: BlipAppearance.uiFontScale now divides ui_font_size by Style.font.body
instead of Style.font.bodySmall; the comments in BlipAppearance.qml and
ui-font.ts and the type-ramp invariant in CLAUDE.md say so; ui.test.ts pins the
anchor and the 12/11/10 to 14/13/12 arithmetic.
WHY: found merging #170. README, CHANGELOG and BlipAppearance all define
ui_font_size=N as bubble text in px. Bubbles were `bodySmall`, which N anchored,
so that was true. #170 moved bubbles to `body` and left the anchor, so
ui_font_size=14 would have drawn 15px bubbles (round(12 * 14/11)) and shifted
every label a step for everyone who had set it, against a documented contract.
Anchored to body, bubbles and names are exactly N again and the smaller steps
keep their ratios. Default users (no ui_font_size) are unaffected and get the
new ramp as intended.
VERIFIED: bun test ui.test.ts 114 pass. Reverting the anchor to bodySmall makes
the new pin fail. Not rendered: this host has no desktop; the arithmetic is
asserted, the pixels are not looked at.

LR-T: blip, ui-font, ui_font_size, type-ramp, regression
LR-D: blip, qml
LR-K: blip-ui-font-size-anchor-body-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
nixfred added a commit that referenced this pull request Nov 23, 2026
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
@nixfred

nixfred commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Merged in 691798f, and shipped today in Blip 2.8.0, where it is the headline and you are thanked by name.

Thank you, Tim. This is the best kind of first pull request, and I want to say exactly why, because it was not luck.

You found the cause instead of asking for a bigger font. "Blip feels small" has three easy wrong answers: the font, the scale, or the reader's eyes. You ruled out the font (SF Pro Text against the theme's monospace is about 4% of x-height, and you wrote the numbers into CLAUDE.md so nobody "fixes" the size by dropping SF Pro), ruled out scaling (Blip already followed Style.font.*), and then counted: caption used 34 times, body 4, where every Omarchy panel leads with body. That single count is the whole diagnosis. Most people would have stopped at "make everything bigger".

You fixed it as a ramp, not a bump. Bubbles, the composer, names and search at body; previews, times and notes at bodySmall; only fine print at caption. The voice-message and sticker labels are left alone on purpose because their boxes are fixed. It is a change to defaults and not a new setting, so it stays inside "Configuration is bridge.conf keys, not a settings system". And you wrote the tests that make it stay fixed: all three "type ramp" tests fail on 2.7.0 and pass here. I checked that by putting 2.7.0's BlipView.qml back.

The evidence made review easy. Before and after screenshots of the real panel, GIFs that flip in place so a one-pixel change is visible, and a note that you had run the ramp on your own machine since September, first on 2.6.2 and then on 2.7.0. I read the screenshots; the names, previews, times and bubbles are exactly the 11 to 12 and 10 to 11 you say.

What I checked. #168, #169 and this PR together on top of main as one tree. One conflict, in ui.test.ts, because all three end the file with a new describe block; I kept both blocks. Then the full suite on gus: bun test 937 pass, 0 fail, plus the twelve QtTest and Python UI suites, every Mac-tool suite, bash -n and shellcheck.

One thing I changed, so you are not surprised when you pull (b08baca). ui_font_size. Your instinct in the PR, that it must keep working, was right, and I took it one step further. It was anchored to bodySmall, which used to be the bubble step, and the README defines it as "bubble text in pixels". With bubbles now on body, ui_font_size=14 would have drawn 15px bubbles (12 x 14/11) for everyone who had set it. It now anchors to body, so N is bubble text again. There is a test that fails if it is reverted, and the CLAUDE.md invariant says why. Anyone on the default gets your ramp exactly as you wrote it.

I also folded in your side note about DemoShell and replyPending (7a75a5b, credited to you) so the release was not held for a harness line. I am sorry to have taken that one from you.

Two things for you.

  1. Yes please to the fixed-size components you listed in fix: window, sidebar and pinned avatars follow the Omarchy scale #169 (AudioMessage, ReactionPicker, ComposerEmojiPicker, MessageMenu, StickerImage). One PR or several, your call. I will review them the way I reviewed these two.
  2. Your GitHub profile publishes @ttiimmaahh_ on X, and I would like to tag you when Fred posts about the release. If you would rather I did not, say so and I will credit you by GitHub handle only.

Thank you again. Two careful, honest, well-scoped PRs from a first-time contributor is rare, and Blip is better to look at every day because of them.


Generated by Claude Code

nixfred added a commit that referenced this pull request Nov 23, 2026
…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
@nixfred

nixfred commented Nov 23, 2026

Copy link
Copy Markdown
Owner

One more thing, Tim, and I want to say it plainly: you are a big part of Blip's success.

Blip is built so that people can read it, trust it and live in it every day. Your two pull requests did more for that than most features do. You made it read at the size of the desktop it lives on, and you made the window, the sidebar and the avatars keep up when someone turns the text size up. Every person who runs 2.8.0 gets that, whether or not they ever hear your name. That is why 2.8.0 is built around your work, and why the release notes lead with you.

The way you did it matters as much as what you did. You measured before you changed anything, you kept the change small and honest, and you wrote tests so it stays fixed. That is the standard we want for Blip, and you set it on your first try.

You are welcome here for as long as you want to be. The follow-up PRs are open to you. Thank you for making Blip better.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants