Skip to content

PR-SETTINGS-NO-PANE-BORDER-0: pane seam removed + cards regrouped + 设置 brand dropped - #141

Merged
jackwener merged 1 commit into
mainfrom
pr/settings-no-pane-border
Jun 23, 2026
Merged

PR-SETTINGS-NO-PANE-BORDER-0: pane seam removed + cards regrouped + 设置 brand dropped#141
jackwener merged 1 commit into
mainfrom
pr/settings-no-pane-border

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

Three reference-alignment fixes batched into one PR:

  1. Pane seam removed (WAWQAQ msg `aabfa2b8`) — `.settingsMainPane` was rendering as a separate floating plate (border + tinted bg + corner radius). Reference has no seam between sidebar and content. Dropped pane chrome; surfaces share one canvas.

  2. 设置 brand dropped + back button restyled (`8effe691`) — reference sidebar starts with `← 返回应用` then straight into the nav. Removed the "设置" header. Switched icon `ChevronLeft` → `ArrowLeft` size 16.

  3. Card-in-card fix (`d0e7dfb3`) — `.settingsStructuredPage` was both a card AND a container of nested cards + orphan rows. Visually broken: rows like 隐身模式 floated chromeless, while 启动/新对话/默认 sat in a card, then 代理服务器 floated again. New shape: `.settingsStructuredPage` is just a grid with 16px gap, `.settingsRows` is the only card primitive. Each logical group wraps in ``. Now three grouped cards stack vertically per reference.

Test plan

  • `npm test` in `apps/desktop`: 1466 passed
  • Visual smoke: 通用 shows three discrete grouped cards; no seam between sidebar and content.

…ed + 设置 brand dropped

Three corrections, one PR (WAWQAQ msgs aabfa2b8 / 8effe691 / d0e7dfb3):

1. **Pane seam removed** — `.settingsMainPane` was a separate floating
   plate (border + tinted bg + corner radius + margin gap from
   sidebar). Reference's Settings has NO seam between sidebar and
   content — they share one continuous canvas. Drop pane border,
   margin, radius, explicit background. Right pane now flows into the
   sidebar surface.

2. **设置 sidebar brand removed + back button restyled** — reference
   sidebar has only `← 返回应用` then straight into the nav, no big
   "设置" header. Match it: deleted the header, switched the back
   icon from `ChevronLeft` to `ArrowLeft` (size 16, weight 1.85) so
   it reads as a proper "back to app" affordance.

3. **Card-in-card fix** — `.settingsStructuredPage` was a card AND it
   contained `<SettingsRows>` cards AND orphan `.settingsFormRow`
   children. Result: 隐身模式 floated alone with no chrome, then a
   card with 启动 etc., then 代理服务器 floated alone. Visually
   broken. Reference shows multiple GROUPED cards stacked vertically.

   New shape: `.settingsStructuredPage` is just a `display: grid;
   gap: 16px` container (NOT a card). `.settingsRows` is the only
   card primitive. Wrapped 隐身模式 in its own `<SettingsRows>`;
   wrapped `<NetworkProxySection>` in its own `<SettingsRows>`. Three
   logically distinct cards now stack vertically, matching reference's
   grouped-card pattern.

1466 / 1466 tests pass.
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