Skip to content

fix(app): match the layout cards to the navigation cards' style - #65800

Merged
usrnk1 merged 3 commits into
devfrom
layout-card-sketches
Nov 23, 2026
Merged

usrnk1 merged 3 commits into
devfrom
layout-card-sketches

Conversation

@usrnk1

@usrnk1 usrnk1 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

None. Design follow-up to the Consolidated navigation cards.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The Interface layout cards in Settings › General (Top tabs, Side tabs, Inbox) now use the same card style as the Consolidated experiment's Tabs and List cards: a window sketch of the navigation alone, fading out before the centered name. Both groups render one shared ModeSketch and share one set of styles, which removes the old preview styles.

  • Only the selected card shows accent: its open tab is a light blue (40%), and Inbox status dots go from full to 30% blue. Cards that aren't selected stay grey.
  • Side tabs use a slimmer highlighted tab than a list row.
  • Inbox and List group sessions under small headings in two-line rows (Inbox rows start with a status dot, List rows with a square that turns blue when List is selected), so they no longer look like Side tabs.
  • With Consolidated on, the Tabs card follows Tab position: a side list when Side tabs is chosen, a tab strip when Top tabs is.
  • Cards sit 10px apart instead of 12px.

Only packages/app changes. No flag: it restyles existing settings cards and doesn't change behavior.

How did you verify your code works?

  • bun typecheck in packages/app: passes.
  • bun test src/settings/search-results.test.ts (with the package's unit-test preloads): 11 pass.
  • bun run lint:changed origin/dev: 0 problems.
  • Checked in the web app on a local backend, light theme, for every card selection. The web build doesn't offer Consolidated, so the experiment screenshots come from a temporary local edit that wasn't committed. "Before" was captured from origin/dev in the same window and states.

Screenshots / recordings

Interface layout, Side tabs selected

Before:
After:

Consolidated: Tabs selected, Tab position Side tabs

Before:
After:

Consolidated: List selected

Before:
After:

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@opencodejr opencodejr 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.

The change looks sound. I checked it by reading the code, not by running it: these cards are in the web app, there's no browser in this environment, and your before/after screenshots cover the states that change. One shared ModeSketch now draws all five cards. The Tabs card follows Tab position, with Inbox shown as a side list. The accent styles only apply inside the selected card's sketch, and nothing else uses the old preview styles you removed. Type check (tsc --noEmit in packages/app) and the src/settings unit tests pass.

Public API: unchanged. This only touches settings card markup and styles in packages/app.

No concerns.

@opencodejr opencodejr 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.

The new commit looks fine. It only adds the List card's blue square when List is selected. The rule only applies to the selected List card and doesn't interfere with the Inbox status-dot colours. I checked it by reading the CSS; I couldn't render it here, and your updated screenshot covers it.

Public API: unchanged.

No new concerns.

@usrnk1
usrnk1 enabled auto-merge (squash) November 23, 2026 12:39
@usrnk1
usrnk1 merged commit d1f9870 into dev Nov 23, 2026
10 checks passed
@usrnk1
usrnk1 deleted the layout-card-sketches branch November 23, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant