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

πŸ’„ Ledger Sync copy and UX improvements #8916

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cgrellard-ledger
Copy link
Contributor

@cgrellard-ledger cgrellard-ledger commented Jan 15, 2025

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

Updated copy on LLM and LLD
Removed entry points in accounts page on LLD
Skip unnecessary step on LLM when clicking on Turn on Ledger Sync

Screenshot 2025-01-15 at 18 29 35 Screenshot 2025-01-15 at 18 29 42 Screenshot 2025-01-15 at 18 29 55
Screen.Recording.2025-01-15.at.18.27.10.mov

❓ Context

  • JIRA or GitHub link: LIVE-14883 [LIVE-15372] [LIVE-15373] [LIVE-15375]

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@cgrellard-ledger cgrellard-ledger requested a review from a team as a code owner January 15, 2025 17:30
Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 5:35pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 5:35pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 5:35pm
web-tools ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 5:35pm

@live-github-bot live-github-bot bot added desktop Has changes in LLD mobile Has changes in LLM translations Translation files have been touched labels Jan 15, 2025
@cgrellard-ledger cgrellard-ledger force-pushed the support/ledger-sync-copy-and-ux-improvements branch from 2509883 to 5a8a9b4 Compare January 15, 2025 17:34
Copy link
Member

@KVNLS KVNLS left a comment

Choose a reason for hiding this comment

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

Can you fix the overflow issue for the first step, please? B5F5A13C-60C5-453A-830E-66087560872A
We also need to update tests, I'm wondering why it works btw?
walletSyncActivation.integration.test.tsx for example.

Comment on lines 21 to +23
const onPressSyncAccounts = () => onSyncMethodPress();

const onPressHasAlreadyCreatedAKey = () => onSyncMethodPress();
const onPressHasAlreadyCreatedAKey = () => navigateToChooseSyncMethod();
Copy link
Member

Choose a reason for hiding this comment

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

Why do we redefine a new function at each render?
I think that we can use the one passed as props directly in the jsx, isn't it?

@@ -21,7 +21,7 @@ function View() {
marginTop: 114,
}}
>
<Activation onSyncMethodPress={onOpenDrawer} />
<Activation onSyncMethodPress={onOpenDrawer} navigateToChooseSyncMethod={onOpenDrawer} />
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the difference?
We should have different analytics no?

or do another action?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The tracking is done in the children component and will be different for each button but we have to pass two different methods in the other place where we're using the Activation component
Screenshot 2025-01-17 at 10 27 29
Screenshot 2025-01-17 at 10 28 39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD mobile Has changes in LLM translations Translation files have been touched
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants