Repository navigation
Language, Legal, Consent and the menus on forms (Settings form migration 4/5) - #336
Merged
Merged
Conversation
This was referenced Oct 1, 2026
GLinnik21
force-pushed
the
settings-form-4
branch
from
October 1, 2026 00:55
fb392c5 to
0ffda05
Compare
…ore menus on FormTable Language (settings.rs), the Legal index, the Consent controls, the item menu, the account menu and the player More menu now declare their rows once as a Form and resolve activation through FormTable by identity. Their parallel action vectors and index dispatch (Legal open(), consent rows/row_ids/open_preview, account rows_for/action_at/drills_in/ destructive, item menu Action::None, more_menu initial_selection/ action_at) are deleted. Keys equal the legacy indices/discriminants, so canon and replay anchors are unchanged. FormTable gains set_or_open, set_sliding and key helpers so the slide and destructive-neighbour animations are kept. Tests address rows by Id; nav-item coverage is extended to Legal, Language and Consent, and a reorder test covers the account and More menus. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GLinnik21
force-pushed
the
settings-form-4
branch
from
October 1, 2026 01:11
0ffda05 to
1b58afc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Settings form migration 4/5 (design:
docs/settings-form.md). The Language page, the Legal index, the Consent controls, and the Item, Account and More menus are now each a declaredFormon aFormTable. Their parallel action/target vectors and index-based dispatch are deleted.What changes
open()action list.rows/row_ids/open_preview.rows_for/action_at/drills_in/destructive.initial_selection/action_at.Action::Nonein the item and account menus and inapp/input.rs.ui/form.rsgainsset_or_open,set_slidingand key helpers, so the menus keep their existing slide and destructive-neighbour motion. The opening-row and destructive-row rules are unchanged.form_tests.State shape
There is no
SCREEN_SHAPES_PINbump, and the replay fixtures are unchanged.Verification (on the committed tree; then rebased onto main 33e8d55, resolving the #335 overlap in
ui/form.rsby hand: #335'scheck/reseat_after_install/refreshkept, PR 4'sset_or_open/set_slidingshare oneinstall_keeping. Re-gated after the rebase:make check5306/5380/102 passed, 0 failed; replay 0 failures)make check:test result: ok. 5282 passed; 0 failed,ok. 5356 passed; 0 failed,ok. 102 passed; 0 failed--no-default-featurescheck is clean; ARMmakeis clean.make check-replay:3 fixtures, 6 replays, 0 failures, allverdict=SAMEtests.test_harness:Ran 366 tests, OK🤖 Generated with Claude Code