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

Fix selected state for network, timeframe, sort #6352

Merged
merged 68 commits into from
Dec 20, 2024
Merged

Conversation

walmat
Copy link
Contributor

@walmat walmat commented Dec 18, 2024

Fixes APP-2210

What changed (plus any additional context for devs)

Adds selected state to the network, sort, and timeframe tabs if not on the default option. Also has a bit of clean up with gestures. Adds a little bit of performance improvement to useTrackDiscoverScreenTime to only run the useEffect when the DiscoverScreen is detected as the active route instead of always and internally checking that.

some minor i18n changes

Screen recordings / screenshots

// wip

What to test

test active states on networks, timeframes, and sort

greg-schrammel and others added 30 commits November 21, 2024 14:13
* implement gql query to get trending tokens for selected network and display them

* fix dragging issue with no chainId and tapping empty space resetting network to all networks

* add mock handler for navigating to swaps flow

* fix lint

* shuffle files and break out network switcher to be composable

* refactor SwapCoinIcon to use a size prop instead of small, large, xlarge, etc.

* add view token analytics event

* add time tracking to discover screen

* add tracking for if user has swapped a trending token

* decouple network selector from trending tokens and add rest of analytics events

* fix customize network banner not being dismissable

* revert white color token change
* remove arrows for price change

* fix friend holders display

* fix dupes

* align and make friends looks better

* remove spread

* ops

---------

Co-authored-by: gregs <[email protected]>
derHowie and others added 6 commits December 17, 2024 20:38
* format price for amounts >1 different than fractal amounts

* handle >6 figs native value different and show in compact notation to prevent row collision

* prevent token symbol from growing beyond what it needs

* Update src/components/Discover/TrendingTokens.tsx

* remove DebugLayout
Copy link

linear bot commented Dec 18, 2024

@walmat walmat changed the base branch from develop to trending-tokens-polishes December 18, 2024 22:25
Base automatically changed from trending-tokens-polishes to develop December 19, 2024 21:17
@brunobar79 brunobar79 added the release for release blockers and release candidate branches label Dec 19, 2024
@walmat walmat marked this pull request as ready for review December 19, 2024 22:29
Copy link
Member

@derHowie derHowie left a comment

Choose a reason for hiding this comment

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

looks good, played with settings, and theme in video below

PoW: https://www.loom.com/share/7b4351fe2a16489dbec696dccb148254

@brunobar79
Copy link
Member

Launch in simulator or device for 751c2cb

@brunobar79
Copy link
Member

Launch in simulator or device for 061e8dc

@brunobar79 brunobar79 merged commit d90e32a into develop Dec 20, 2024
7 of 8 checks passed
@brunobar79 brunobar79 deleted the @matthew/APP-2210 branch December 20, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release for release blockers and release candidate branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants