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(suite-native): use correct receive flow screens for connected device #16312

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

yanascz
Copy link
Contributor

@yanascz yanascz commented Jan 10, 2025

  • Incorrectly removed screens returned back
  • Flow unified for Portfolio tracker and connected device
  • Receive screens refactored to prevent UI & scrolling glitches

@yanascz yanascz added the mobile Suite Lite issues and PRs label Jan 10, 2025
@yanascz yanascz self-assigned this Jan 10, 2025
@yanascz yanascz requested a review from a team as a code owner January 10, 2025 15:32
Copy link

github-actions bot commented Jan 10, 2025

🚀 Expo preview is ready!

  • Project → trezor-suite-preview
  • Platforms → android, ios
  • Scheme → trezorsuitelite
  • Runtime Version → 21
  • More info

Learn more about 𝝠 Expo Github Action

@yanascz yanascz force-pushed the fix/native/dashboard-receive-flow branch 4 times, most recently from 458f254 to f413cab Compare January 13, 2025 10:23
@yanascz yanascz force-pushed the fix/native/dashboard-receive-flow branch from f413cab to dbc7fde Compare January 13, 2025 12:35
<IconButton
iconName="plus"
onPress={
isSelectedDevicePortfolioTracker ? navigateToImportScreen : navigateToAddCoinAccount
}
colorScheme="tertiaryElevation0"
size="medium"
isLoading={hasDeviceDiscovery}
Copy link
Contributor

@vytick vytick Jan 13, 2025

Choose a reason for hiding this comment

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

When discovery is running (and the icon is loading), tapping that button starts Add new coin flow. Is that intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great catch, that's a bug. Will fix in a fixup.

Copy link
Member

@matejkriz matejkriz left a comment

Choose a reason for hiding this comment

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

From testing I see only one issue at the very end of the receive flow -

When I complete the entire receive flow confirm the receive address on the Trezor (or skip the confirmation in the Portfolio tracker), the only way back is the Back icon, but that only takes me back one screen to the Receive flow - selecting another account.

As a user, I would expect to return to the Dashboard so I don't have to click twice. Ideally the icon can be changed to X in that case.

What do you think?

@yanascz yanascz force-pushed the fix/native/dashboard-receive-flow branch from 12226d5 to bf65d9a Compare January 14, 2025 13:42
@yanascz
Copy link
Contributor Author

yanascz commented Jan 14, 2025

When I complete the entire receive flow confirm the receive address on the Trezor (or skip the confirmation in the Portfolio tracker), the only way back is the Back icon, but that only takes me back one screen to the Receive flow - selecting another account.

As a user, I would expect to return to the Dashboard so I don't have to click twice. Ideally the icon can be changed to X in that case.

Let's solve in a follow-up since it requires bigger refactoring of the navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Suite Lite issues and PRs
Projects
Status: 🏃‍♀️ In progress
Development

Successfully merging this pull request may close these issues.

3 participants