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

[LLD] - [LIVE-12264] - Add Wallet Sync activation screen #6782

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

Conversation

sshmaxime
Copy link
Contributor

@sshmaxime sshmaxime commented Apr 30, 2024

βœ… Checklist

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

πŸ“ Description

This PR adds the Wallet Sync activation screen on LLD.

Note: It is missing shadows on the icons.

Screenshot 2024-05-14 at 11 44 05

❓ Context


🧐 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)

Copy link

vercel bot commented Apr 30, 2024

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

5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-docs ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 3:37pm
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 3:37pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 3:37pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 3:37pm
web-tools ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 3:37pm

@live-github-bot live-github-bot bot added desktop Has changes in LLD translations Translation files have been touched labels Apr 30, 2024
@live-github-bot live-github-bot bot removed the translations Translation files have been touched label Apr 30, 2024
@sshmaxime sshmaxime marked this pull request as ready for review April 30, 2024 15:11
@sshmaxime sshmaxime requested a review from a team as a code owner April 30, 2024 15:11
@mcayuelas-ledger
Copy link
Contributor

On the ticket I don’t have a backup activated on instance, even if we don't have this already you can imagine a way to fake that with a store :)

@KVNLS
Copy link
Member

KVNLS commented Apr 30, 2024

More generally, I think that we should start to write our Integration tests now for Wallet Sync.
I would like to see a first test that could match the US we answer with this PR. Even if we partially answer the US we can incrementally update the integration test on each PR.

@live-github-bot live-github-bot bot added the translations Translation files have been touched label May 14, 2024

const WalletSyncRow = () => {
const lldWalletSync = useFeature("lldWalletSync");

const walletSync = useSelector(walletSyncSelector);
Copy link
Contributor

Choose a reason for hiding this comment

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

you can create a selector for activated only, in order to not "export" all the state

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Felt like it wasn't necessary right now.

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.

Could you use the same file naming conventions for this folder, please?
PascalCase + index.tsx
WalletSync/index.tsx

"cta": "Create a backup"
},
"alreadySync": {
"title": "Already created a back-up on another Device ?",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"title": "Already created a back-up on another Device ?",
"title": "Already created a back-up on another Device?",

Comment on lines 41 to 43
<LogoWrapper>
<Icons.Refresh size="L" color={colors.constant.purple} />
</LogoWrapper>
Copy link
Member

Choose a reason for hiding this comment

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

This icon should not have 70% opacity.

@sshmaxime sshmaxime force-pushed the feat/LIVE-12264 branch 3 times, most recently from 285fe06 to 9343252 Compare May 15, 2024 08:50
@sshmaxime sshmaxime force-pushed the feat/LIVE-12264 branch 2 times, most recently from 90d89f5 to 1c4baf8 Compare May 15, 2024 15:33
@mcayuelas-ledger mcayuelas-ledger requested a review from a team as a code owner May 17, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD translations Translation files have been touched
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants