Repository navigation
fix(app): match the layout cards to the navigation cards' style - #65800
Conversation
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Issue for this PR
None. Design follow-up to the Consolidated navigation cards.
Type of change
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
ModeSketchand share one set of styles, which removes the old preview styles.Only
packages/appchanges. No flag: it restyles existing settings cards and doesn't change behavior.How did you verify your code works?
bun typecheckinpackages/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.origin/devin 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