Repository navigation
Fold the drawer's Catch Up and What's New rows with AnimatedVisibility - #139
Merged
Merged
Conversation
The two shortcut rows above the session list collapsed and expanded on a ported iOS presence gate, a hand-solved spring and a frame loop, with the model keeping a "mounted" flag per row while it folded. Now both rows are always items of the list while search is empty and fold in and out with AnimatedVisibility (expandVertically/shrinkVertically, fade and the same 0.96 scale from the top) on MotionRole.Layout's enter and exit springs, which follow Reduce Motion. When the rows show and hide, What's New's close delay after Settings, the finished Catch Up label and the count kept while folding are unchanged. Changes made while the drawer is hidden land in place. Removed: the ported shortcut slot machinery (DrawerShortcutInputs, DrawerShortcutSlot, the frame loop), the 6 dp blur during the fold, the model's catchUpMounted/whatsNewMounted flags, and the four MotionSystemTests that tested the slots. Verified: scripts/check.sh for every module on the Android VM; on the emulator with session-lab, Catch Up shown and hidden by unread changes (including quick reversals) and What's New hidden from its menu, at animator scale 1 and 5.
Tarquinen
force-pushed
the
drawer-shortcut-rows-native
branch
from
November 18, 2026 06:37
7a42af4 to
c3ab71f
Compare
…ative # Conflicts: # docs/parity/drawer.md
Closed
This branch was previously deployed
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.
The drawer's Catch Up and What's New rows folded in and out using machinery ported from iOS: a presence gate, a hand-solved spring, a frame loop, and "mounted" flags in the list model.
Now both rows stay in the list while search is empty and fold with
AnimatedVisibility: height, fade and the same 0.96 scale from the top, onMotionRole.Layout's enter and exit springs, which follow Reduce Motion. When the rows show and hide is unchanged, and so are What's New's close delay after Settings, the finished Catch Up label and the count kept while folding.Visible differences from dev:
shortcut-rows-before-after.mp4
Verified:
scripts/check.shfor every module on the Android VM.