Skip to content

feat: support independent native scrollers and rich pager lists - #135

Merged
huhuanming merged 16 commits into
mainfrom
codex/home-native-list-capabilities
Sep 29, 2026
Merged

huhuanming merged 16 commits into
mainfrom
codex/home-native-list-capabilities

Conversation

@huhuanming

@huhuanming huhuanming commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Native Home needs React content and rich native lists to share a collapsible header without losing refresh feedback, drag ownership or scroll momentum. This change adds multi-asset History and NFT media capabilities to NativeList, and makes NativeScroller own its AndroidX/UIKit scroll engine while retaining React content, Fabric layout/measurement, events and refresh controls.

The Pager coordinates top-positioned refresh indicators and retained page offsets, cancels React press ownership when an iOS horizontal drag takes over, and defaults non-adjacent page commands to immediate selection. Web behavior is unchanged. Contracts and limits are documented in the package specs.

Validation: NativeScroller JS 8/8, Pager wrapper 15/15, NativeList 203 tests, package type/declaration builds and release tooling 33/33 pass. Dedicated Android/iOS local builds and focused Home/Gallery/Market/Discover acceptance are recorded in the companion app handoff. This does not establish physical-device performance or the exhaustive interaction matrix.

Pager and NativeList 3.0.157-alpha.258 are published to npm next through Pager CI and NativeList CI. Registry integrity and published-source audits pass. The preview-only single-package workflow builds Image declarations before releasing NativeList; Image was not republished.

Native source CI: Android/Kotlin/Swift checks pass. The first complete iOS run passes nine NativeScroller tests and the wiring/refresh suites but fails the direct press-cancellation fixture. The latest test-only commit attaches that fixture to a UIWindow without weakening assertions; its CI rerun is pending. Keep this PR draft until that check and remaining acceptance are resolved.

Companion app integration: OneKeyHQ/app-monorepo#13750

@huhuanming huhuanming changed the title feat: support rich native lists inside pagers feat: support independent native scrollers and rich pager lists Sep 28, 2026
@huhuanming
huhuanming marked this pull request as ready for review September 28, 2026 13:30
@originalix

Copy link
Copy Markdown
Contributor

Automated review needs attention

Review of commit d28c4febca7b finished, but some comments could not be published automatically.

Publication requires a retry or human review. This is not an automated approval.

@huhuanming
huhuanming merged commit 5b4574b into main Sep 29, 2026
8 checks passed
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.

3 participants