Skip to content

Restore PikPak folder focus from footer controls - #72

Draft
ghbarker wants to merge 2 commits into
varunsalian:webdav-syncfrom
ghbarker:codex/upstream-pikpak-last-folder-reveal
Draft

ghbarker wants to merge 2 commits into
varunsalian:webdav-syncfrom
ghbarker:codex/upstream-pikpak-last-folder-reveal

Conversation

@ghbarker

@ghbarker ghbarker commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Restore focus to the final folder row when navigating up from the PikPak folder picker's footer, including when that row is not currently mounted by the lazy list. Guard the pending reveal against cancellation, dismissal and empty results.

Based independently on webdav-sync at 077f2e79. The picker keeps its existing organization and selection behavior.

Flutter 3.44.8 / Dart 3.12.2: three footer-navigation regression cases fail on upstream; all seven focused tests pass with the fix. Scoped analysis retains seven existing diagnostics. Physical-device validation is outstanding.

Independent review exposed a retained focus-node-pool edge case after collapsing loaded child folders. The follow-up guard uses the current visible folder index, with a committed regression test. A second verification of the corrected head passes all eight tests, including cancellation and dismissal.

Combined validation with the other ten proposed slices: 304 focused/integration tests passed and an Android release build succeeded with Flutter 3.44.8 / Dart 3.12.2 / JDK 17. The test and build source trees match. The existing Windows Spotlight golden is excluded from that selection. A separate clean upstream full-suite run has 6,044 passes, 12 skips, 55 failing user tests and one failing teardown hook; this is not a full-suite or GitHub CI pass. Physical-device validation of the upstream ports remains outstanding.

Validate the captured last-folder target against the visible flattened list rather than the end of the retained focus-node pool. Add the reproduced pointer-collapse regression test; all eight focused tests pass, with no new scoped analyzer diagnostics.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant