Keep shell state reads safe in read-only snapshots
All checks were successful
review/code-claude Hotfix verified on the real Xiaomi box (B3 runs, no crash across Home/Discover/Movies/Shows/title/Settings/Requests); 5-file delta read by firstmate: ShellState.rememberedView no longer writes on read, 3 regression tests incl. snapshotFlow and an audit
All checks were successful
review/code-claude Hotfix verified on the real Xiaomi box (B3 runs, no crash across Home/Discover/Movies/Shows/title/Settings/Requests); 5-file delta read by firstmate: ShellState.rememberedView no longer writes on read, 3 regression tests incl. snapshotFlow and an audit
This commit is contained in:
parent
e9a92eba49
commit
4e6377b628
5 changed files with 199 additions and 3 deletions
|
|
@ -78,6 +78,13 @@ resolves consistently in native captures; the approved JSON weights stay unchang
|
|||
Nav, picker names, labels and pill weights use that same mapping. Nav label colour
|
||||
fades for 200 ms ease-out; the blob retains its critically damped spring.
|
||||
|
||||
Shell view accessors are read-only, including the first read from Discover's
|
||||
`snapshotFlow`. Construction and explicit person/navigation events retain root
|
||||
and destination memory; reading an unknown destination returns an unsaved default.
|
||||
Per-person focus, cards and scrollers still survive route changes, while reselecting
|
||||
the current root resets it. JVM regressions exercise both read-only snapshots and
|
||||
the signed-in asynchronous Discover host without a screen prewarming its memory.
|
||||
|
||||
Settings pills have a separate 1 dp stroke (2 px on the stage), not a focus ring.
|
||||
The stroke is inset within the fixed 20 dp / 40 px height; horizontal border-box
|
||||
padding includes it. The 6 px dash / 4 px gap follows the browser's 3:2 stroke-width
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue