Skip to content

PR-SETTINGS-REVIEW-0: rapid-iteration Settings polish (8 fixes) - #139

Merged
jackwener merged 1 commit into
mainfrom
pr/settings-review
Jun 23, 2026
Merged

PR-SETTINGS-REVIEW-0: rapid-iteration Settings polish (8 fixes)#139
jackwener merged 1 commit into
mainfrom
pr/settings-review

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

WAWQAQ ran a rapid review pass and flagged ~8 issues across a series of messages. Bundled into one PR per project preference for larger PRs.

  1. Sidebar + traffic light spacing — 22px → 52px top padding so 设置 brand clears macOS traffic light.
  2. Row borders too hard — switched from `var(--border)` to 8% foreground tint so card edges are suggestive, not declarative. Transparent bg; hover amplifies border + adds 2% bg lift.
  3. Page title misaligned with content — header padding now uses `max(24px, calc((100% - 768px) / 2 + 24px))` so the title sits directly above the first row card regardless of viewport.
  4. `返回应用` replaces right-side X close — left-aligned chevron link at the top of the sidebar, matching reference's "back to app" affordance.
  5. 记忆 + 每日回顾 split back apart — the merged `memory-review` page was too dense. They are separate nav items again. SettingsSection type, ALLOWED_SETTINGS_SECTIONS, render switch, visual-smoke scenarios, deeplinks, contract tests all moved together.
  6. 外观: 个性化 before 主题 — identity ("who am I") then presentation ("how does it look") top→down.
  7. Section heading L margin fix — flush with the card edge.
  8. Row hover state polish — 2% bg lift on top of border tone amplification.

Test plan

  • `npm test` in `apps/desktop`: 1466 passed
  • Visual smoke: settings-general now shows the proper title alignment, return-to-app link, subtle row borders.

…e bundle

WAWQAQ msgs `2b27c5d2`, `f97ed407`, `8577326c`, `1b2d4e83`, `886f6406`,
`6759cd0f`, `e1194266` — a back-and-forth review pass that surfaced
~8 issues. Bundled into one PR (per project preference for larger PRs)
rather than 8 micro-PRs.

Changes:

1. **Sidebar title + traffic light spacing** (`1b2d4e83`): the 22px
   sidebar top padding put the 设置 brand right against the macOS
   traffic light row. Bumped to 52px so the brand sits with clear
   breathing room below the OS chrome. Same fix on `.settingsMainPane`
   top padding.

2. **Row borders too hard** (`f97ed407`): `var(--border)` competed
   with the surrounding pane chrome. Switched to a 6%–8% foreground
   tint so the card edge is suggestive, not declarative. Background
   stays transparent; hover amplifies border to 14% and adds a 2% bg.

3. **Page title misaligned with content** (`8577326c`): page header
   was in the mainpane padding (~34px from edge), rows lived in the
   centered max-w-3xl column (~158px from edge at 1280 viewport).
   Now both align via matched edge math:
   `padding: 0 max(24px, calc((100% - 768px) / 2 + 24px))`. Page
   title now sits directly above the first row card.

4. **`返回应用` replaces right-side X close** (`e1194266`): the X
   button was visually orphaned and didn't match reference's
   "back to app" affordance. Replaced with a left-aligned chevron
   `← 返回应用` link at the top of the sidebar.

5. **记忆 + 每日回顾 split back apart** (`886f6406`): the merged
   memory-review page was too dense. 记忆 and 每日回顾 are separate
   nav items again. Type, ALLOWED_SETTINGS_SECTIONS, render switch,
   visual-smoke scenarios, deeplinks, tests all updated together.

6. **外观: 个性化 before 主题** (`6759cd0f`): identity ("who am I")
   should come before presentation ("how does it look") top→down.

7. **Section heading L margin fix**: previously 4px L margin pushed
   the heading off the card edge. Now flush at 2px so 主题 / 个性化
   align visually with the first card row.

8. **Row hover state polish**: pure border-tone hover felt flat; add
   a 2% bg lift so the hover signal is felt without flashy color.

1466 / 1466 tests pass.
@jackwener
jackwener merged commit 6dd07be into main Jun 23, 2026
@Astro-Han
Astro-Han deleted the pr/settings-review branch July 14, 2026 05:05
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