Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP-9935: Portfolio Tab Navigation #2279

Merged
merged 12 commits into from
Feb 17, 2025
Merged

CP-9935: Portfolio Tab Navigation #2279

merged 12 commits into from
Feb 17, 2025

Conversation

onghwan
Copy link
Contributor

@onghwan onghwan commented Feb 17, 2025

Description

Ticket: CP-9935

  • Implement tab navigation with a collapsible header via react-native-collapsible-tab-view
  • Moved action buttons to the header area so they are visible across all tabs

Screenshots/Videos

Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-02-17.at.14.49.13.mp4
Screen.Recording.2025-02-17.at.2.52.10.PM.mov

Notes

Comment on lines 187 to 193
<AssetsScreen onScroll={onScroll} />
</Tabs.Tab>
<Tabs.Tab name="Collectibles">
<CollectiblesScreen onScroll={onScroll} />
</Tabs.Tab>
<Tabs.Tab name="DeFi">
<DeFiScreen onScroll={onScroll} />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we create a wrapper component that contains the onScroll logic so that actual screens (AssetsScreen,...) don't need to include that logic?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point. fixed. d2b3a00

Copy link
Collaborator

@atn4z7 atn4z7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job!!

@onghwan onghwan merged commit 28ed527 into main Feb 17, 2025
4 checks passed
@onghwan onghwan deleted the CP-9935 branch February 17, 2025 21:05
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.

2 participants