Repository navigation
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR: Settings becomes a full-screen page in the cleaner black-and-white look. A profile card sits on top, then seven labelled groups (Account, Recording, Personalization, Connected Apps, Preferences, Support, Developer). Rows keep main's own icons inside a warm tile, and the text is set in Instrument Sans. Account, the group pages (Device, Recording & Transcription, Notifications & Display, Data & Privacy, Help & About), the Voice page and the Appearance sheet get the same look. Every row is still where it was, at the same depth or less. Part 2 of 9 of the v2 cleaner UX; it needs #20342 first.
What changed and why
Settings was a sheet of grey cards with mixed headers and NEW/BETA pills. It is now one page in the grouped look the rest of the redesign uses, and the groups say what they hold.
A page, not a sheet. Home's gear pushes Settings full screen (
SettingsDrawer.show). The header has a back button on the leading edge and search on the trailing edge, both glass circles like Home's.Profile card first: avatar, name (or email), email; it opens Account.
Seven labelled groups:
Memories and Goals stay one tap from Settings, as on main.
Icons: every row keeps main's FontAwesome or Material icon, now in a 44 pt warm tile (
OmiSettingsIconTile). Sign out reads red. A search result leads with the icon of the top-level row it sits under.Account (
profile.dart), which the profile card opens: the avatar and email on top, then Name, Email and User ID as plain rows, and Sign Out and Delete Account in red.Group pages (
settings_groups.dart) useOmiGroupedPagewith the same tiles.main; its row here opens that page.Voice page (
voice_settings_page.dart, main's page) restyled: icon tiles, and both sheets in the new look. Voice Response shows as a subtitle, so "Headphones only" doesn't wrap the title.Type: Settings and the sheets it opens are set in Instrument Sans, and Settings lists run 10% smaller. The rest of the app keeps the system font.
Strings: 4 group labels (
settingsSectionRecording,settingsSectionPersonalization,settingsSectionConnectedApps,settingsSectionSupport), in all 49 locales, next tosettingsHeader.Docs:
ux-contract.md§12,e2e/SKILL.mdand the addressability catalog describe the page and its groups.Screenshots
Before is
main(4bdcc56d0d), after is this branch (with #20342 under it). Rendered byapp/scripts/visual_audit.sh(real widgets, flutter-tester, 390×844 at 2×, fixture data, dark theme). An emulator would need a real sign-in, so these are the repo's own before/after renders.main)Product invariants affected
none
How it was verified
flutter analyze: no errors or warnings (the 89 infos are all onmain).dart format --line-length 120: clean.flutter test) on this branch: 4,689 passed, 14 skipped, 0 failed.python3 scripts/l10n.py check: OK.scripts/pr-preflightwith this body: passed.Tests
test/widgets/settings/settings_structure_test.dart:test/widgets/settings/settings_compat_test.dart(new):test/widgets/settings/settings_sheet_appearance_test.dart: open Settings repaints when the appearance changes, and an open sheet follows it.Failure class (fixes)
Failure-Class: none