Repository navigation
Animate the Sessions header on Android as the list scrolls - #33
Merged
jfversluis merged 6 commits intoNov 18, 2026
Conversation
jfversluis
force-pushed
the
simonrozsival-android-collapsing-header
branch
from
November 17, 2026 13:29
3ff32d9 to
dbbb000
Compare
jfversluis
force-pushed
the
simonrozsival-android-collapsing-header
branch
from
November 17, 2026 14:27
dbbb000 to
833e438
Compare
jfversluis
changed the base branch from
main
to
simonrozsival-collapsing-sessions-header
November 17, 2026 14:29
jfversluis
force-pushed
the
simonrozsival-android-collapsing-header
branch
from
November 18, 2026 17:06
833e438 to
07be7a0
Compare
Collapse the headline and search while preserving day filters, and reveal search on upward scrolling or from the toolbar. Animate height, opacity, and position with safe scroll rebasing and navigation cancellation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep scroll-driven collapse and toolbar search reveal Android-only while retaining the shared header foundation for an independent main-targeted PR. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep behavioral regression coverage for collapse, reveal, focus, and viewport changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Apply the final header state whenever the current animation finishes, including when Android's disabled ticker reports it as cancelled, so the collapsed header hides and toolbar search focuses the field. Skip animating entirely when Android animators are off. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jfversluis
force-pushed
the
simonrozsival-android-collapsing-header
branch
from
November 18, 2026 17:50
07be7a0 to
0aa8800
Compare
The singleton Shell keeps SessionsPage and its header state across Android activity recreation, but the new native list starts at the top. Reset the collapsed header when the results handler changes so it is not stuck hidden. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jfversluis
approved these changes
Nov 18, 2026
jfversluis
left a comment
Owner
There was a problem hiding this comment.
Reviewed with multiple models and validated at the stack top (#33 @ 33a052c): Core 1431/1431, App 314/314, Android/iOS Debug builds, and runtime checks on iOS simulator and Android emulator (collapse/reveal, resume, filters, animations off, toolbar order). Approving as part of the #31 → #32 → #33 stack.
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.
Summary
IsVisible=Trueat height 0; toolbar search didn't focus the field). A generation counter now applies the final state unless a newer animation superseded it, and animation is skipped whenValueAnimator.AreAnimatorsEnabled()is false.AppShellis a singleton, so the page and its collapsed state survive while the new list starts at the top; previously the header stayed hidden and couldn't be revealed by scrolling.RevealIfCriteriaChanged()reconciliation; this layer relies on that.Stack
main <- #31 <- #32 <- #33This PR targets
simonrozsival-collapsing-sessions-header(#32), not main. Merge in stack order. Rebased onto #32 at9e4e13110b22a025bab36478425ff31ba054d372(addsSessionMatchModeto the criteria snapshot); the rebase was clean, and range-diff showed only test-context changes. Head:33a052c4dc42d8607948be9e99f4007f2630f84f.Validation
At
33a052c, with the pinned SDK11.0.100and workload set11.0.100.1:Android runtime checks were run on the integrated stack at
0aa8800(debug logging) and33a052c, on the isolated read-only Pixel AVD (emulator-5582), with animations both on and off. Results:IsVisible=False[search, filter]Screenshots and geometry are saved in the session's
files/top/artifacts, includingfinal-33a052-resume-before.png,final-33a052-resume-after.png,final-33a052-after-filter-return.png,final-33a052-collapsed-anim-off.png,final-33a052-search-reveal-off-native.png, andfinal-33a052-selected-day-touch.png. The existing emulator-5554 and attached Pixel device were left untouched; the read-only AVD was stopped after testing.The iOS build passes, but iOS runtime behavior was not verified at this head. On a fresh simulator the native screenshot showed the .NET Conf onboarding screen, while the DevFlow agent screenshot returned a different screen; I stopped without interacting further rather than risk controlling the wrong simulator. The temporary simulator was removed.
A fresh local microbenchmark compared baseline
faacb24with integrated top833e438, using a fixture of 80 sessions, 77 speakers, and 4 days, across two rounds. Empty-query filtering allocations fell from 40,072 to 576 B/op with a day filter and 140,736 to 576 B/op without one.CollectionUpdates.Applyon an identical list fell from about 30.1 to 0.32–0.59 µs and from 768 to 192 B/op. For the non-emptyaiquery, measured medians were 8.35–8.96 µs at baseline versus 12.33–16.54 µs at top, with allocations essentially unchanged (~40 KB/op). This narrow fixture-based microbenchmark supports specific allocation/no-op improvements, but does not substantiate a broad end-to-end performance claim; the non-empty query timing was inconclusive or worse.Limitations: scroll gestures exercised native scroll events, but not finger-drag physics; large-font, rotation, and iOS runtime behavior were not rechecked at this head. Local test restore emitted a NU1900 warning because NuGet vulnerability data could not be reached; both test suites passed.
CI checks on the pushed head: Core tests, Android build, iOS build.