Repository navigation
fix(mobile): draw Accounts as a grouped page like Settings and Edit computer - #51699
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…omputer Accounts painted its groups bgPanel on bgBase, while every other grouped screen uses sheetGroup groups on the groupedPage grey. It now uses the same page, bar and group fills. The usage track moves to translucentFill, since bgRaised equals the group fill in dark and would hide it.
0b31732 to
7584621
Compare
ELI5
The phone's Accounts screen used a different background and card colour from every other list screen (Settings, Edit computer). It now looks like them.
What Changed
Before: Accounts drew its groups in
bgPanelon abgBasepage, so it read as a darker, flatter screen than Settings and Edit computer, which usesheetGroupgroups on thegroupedPagegrey.After: Accounts uses the same grouped-page look:
groupedPagepage and bar (with the bar buttons' on-grey fill), and the list groups' defaultsheetGroupfill. The usage bar track moves frombgRaisedtotranslucentFill, because in dark modebgRaisedis the same colour as the group and the track would vanish.Why
One grouped list should have one look. Copying the page/bar/group fills that
SettingsScreenalready uses keeps Accounts in step with its siblings without a new style.Linked Issue
No issue; small design fix asked for while building the phone account sign-in (the next PR in this stack).
Visual Proof
Before (main) and after, dark and light, on an iOS simulator against a serve built from this branch:
Testing
Checked on the iOS 27 simulator (OTA page) in dark and light. No test: this is a colour change, which the repo rules keep out of unit tests. Mobile typecheck and lint pass.
Performance
None, because this only swaps style values; no new renders, reads or work.
Risk
Low. Only the Accounts screen's colours change, and the usage track colour also changes on Home's Usage tab (it reads slightly lighter there; still visible on both themes). Plain revert backs it out.
Level: Low
AI Disclosure
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Page-only change: ships with the host's OTA page, no store build needed.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)