Skip to content

fix(desktop): draw the folded title bar's offline mark as its buttons draw their glyphs - #3650

Merged
luke-agent[bot] merged 1 commit into
mainfrom
luke/offline-folded-title-bar
Oct 18, 2026
Merged

luke-agent[bot] merged 1 commit into
mainfrom
luke/offline-folded-title-bar

Conversation

@dastratakos

@dastratakos dastratakos commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #3523 from the task "Add UI to show when offline" (https://tryluke.dev/stage/plan/519afac9-0e94-428c-bb83-2afe6908a2d0). The developer reported that the folded title bar looked broken offline, on the Inbox and other pages.

Evidence

  • Measured in Chromium with the built dist/renderer/styles.css and a copy of the folded Inbox bar's DOM (318px list):
    • With the CSS as feat(desktop): say when the Mac is offline #3523 merged it (--control-*), offline: the heading starts at 70.6px and the grid falls back to 56.6px 95.8px 124.6px. This reproduces the screenshot.
    • On main, offline: the heading starts at 179px, right after the cluster, which ends at 177px. Online it is 149 after 147.
    • After this change the offline row reads like the online one, with the glyph standing where a button would.
  • scripts/repository-checks.sh ✅ (including the undeclared-property check from fix(desktop): read the --luke-* roles where CSS still named retired tokens #3631), biome check ✅. CSS only.

Invariants

  • ./scripts/check.sh green. (CI)
  • JSON Schema goldens unchanged.
  • Every behavior change has, in this PR, the test that fails without it; no change-detector test added. CSS only: desktop-shell.test.ts already covers the mark standing in the folded title bar, and jsdom computes no layout.
  • Gateway envelope goldens unchanged.
  • No new as type assertion.
  • No Effect.runPromise/runSync/runFork outside the runtime edges.
  • No new raw async primitives.
  • No Effect, Stream, or Layer dropped.
  • Test count unchanged.
  • No hand-rolled file replaced.
  • No CLAUDE.md/AGENTS.md sentence names a changed part.
  • PRIVACY.md unchanged.
  • Package deps unchanged.
  • Barrel/door rule unaffected.

Notes

  • Not checked on a Mac. Fold the sidebar, turn Wi-Fi off, and open the Inbox. The amber glyph should stand beside New task, with "Inbox" centred after it the way it is online.

Made with Luke


Devin Review


Summary by cubic

Fixes the folded title bar's offline mark so it draws like the buttons beside it.

The mark was a tinted 30px circle sitting 2px off the "Inbox" heading, which looked cramped. It now draws the amber glyph on no fill, at --luke-control-icon size and one button wide, keeping the same gap a heading keeps beside New task when online. The pill in the sidebar's foot and on the sign-in screen is unchanged.

Written for commit 70eb859. Summary will update on new commits.

View guided diff Turn on auto-fix

… draw their glyphs

On no fill, at the buttons' glyph size, so a heading the folded Inbox
centres beside it keeps the gap it keeps beside New task.

Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
luke-web Ready Ready Preview Oct 18, 2026 6:31pm UTC

Request Review

@luke-agent
luke-agent Bot enabled auto-merge October 18, 2026 18:29

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment thread apps/desktop/src/renderer/styles/desktop.css
@luke-agent
luke-agent Bot added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit d1ebdc8 Oct 18, 2026
11 checks passed
@luke-agent
luke-agent Bot deleted the luke/offline-folded-title-bar branch October 18, 2026 18:39

This branch was successfully deployed

1 active deployment
Preview — 70eb859a Deployed Oct 18, 2026 by vercel[bot]
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.

1 participant