Conversation
⚡️ Performance report (alpha)Note Alpha release: The limits are still being calibrated, and each measurement is desktop / group 6⚪️ Following e2e flows within limits:Each metric reads
desktop / group 2⚪️ Following e2e flows within limits:Each metric reads
desktop / group 3⚪️ Following e2e flows within limits:Each metric reads
desktop / group 4⚪️ Following e2e flows within limits:Each metric reads
desktop / group 5⚪️ Following e2e flows within limits:Each metric reads
desktop / group 7⚪️ Following e2e flows within limits:Each metric reads
desktop / group 1⚪️ Following e2e flows within limits:Each metric reads
|
5a77a94 to
be71f5c
Compare
|
✅ Previously successful run of [Test] suite-native Android E2E workflow has been found. |
b5bbd3b to
9a1eb81
Compare
1ca992d to
b90dea7
Compare
| export const useStakingPositions = () => { | ||
| const positions = useSelector(selectStakingListItems); | ||
| const symbols = useSelector(selectStakingListSymbols); | ||
|
|
||
| return { positions, symbols }; | ||
| }; |
There was a problem hiding this comment.
These hooks shouldn't exist please. Let's just use the selectors where they are needed.
| export const useStakingPromoList = () => { | ||
| const areTestnetsEnabled = useSelector(selectAreTestnetsEnabled); | ||
|
|
||
| const stakingSymbols = (areTestnetsEnabled ? STAKING_SYMBOLS : PROD_STAKING_SYMBOLS).map( | ||
| asNetworkSymbol, | ||
| ); | ||
|
|
||
| return { stakingSymbols }; | ||
| }; |
| export const useYieldPositions = ({ yieldOpportunities }: UseYieldPositionsProps) => { | ||
| const positions = useSelector((state: EarnListRootState) => | ||
| selectYieldListItems(state, yieldOpportunities), | ||
| ); | ||
| const vaultIcons = useSelector((state: EarnListRootState) => | ||
| selectYieldListVaultIcons(state, yieldOpportunities), | ||
| ); | ||
|
|
||
| return { positions, vaultIcons }; | ||
| }; |
There was a problem hiding this comment.
These hooks shouldn't exist please. Let's just use the selectors where they are needed.
a9405f0 to
7c8e6e0
Compare
982a93f to
d62b2f4
Compare
0ccfba6 to
ba8079d
Compare
Description
Refactor the Earn Screen for:
Screenshots
652831180-5faca989-a8d2-41b4-af67-565768cf957f.mp4
Screen.Recording.iPhone.16.Pro.Max.09-29-2026.at.09.40.34.mp4
Related Issue
Resolve #32529
🌐 Preview deployments
🌐 Suite Web preview: https://dev.suite.sldev.cz/suite-web/refactor/native/earn-screen/web/
🔍 Currents Test Results
🔍 Suite web test results: View in Currents
🔍 Suite desktop test results: View in Currents
🔍 Suite native android test results: View in Currents
🔒 Quarantined E2E Tests
Trezor Suite (desktop) — 4 test(s)
Updated: 2026-09-29T10:23:38.876Z • 4 test(s) total
Trezor Suite (web) — 0 test(s)
No quarantined tests ✅
Updated: 2026-09-29T10:25:11.260Z • 0 test(s) total