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

Merged
merged 7 commits into from
May 20, 2024

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 20, 2024 10:04am
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 10:04am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 10:04am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 10:04am
web-tools ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 10:04am

@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
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.

LGTM!

@mcayuelas-ledger mcayuelas-ledger merged commit 879fda4 into develop May 20, 2024
32 of 34 checks passed
@mcayuelas-ledger mcayuelas-ledger deleted the feat/LIVE-12264 branch May 20, 2024 12:09
mcayuelas-ledger added a commit that referenced this pull request May 20, 2024
* Add Activation screen for Wallet Sync

* Add WalletSync store

* Split WalletSync by Activaton & Manage side content

* Add changeset

* Add first test

* fix lint

* Fix test with translation

---------

Co-authored-by: Martin Cayuelas <[email protected]>
mcayuelas-ledger added a commit that referenced this pull request May 20, 2024
* Add Activation screen for Wallet Sync

* Add WalletSync store

* Split WalletSync by Activaton & Manage side content

* Add changeset

* Add first test

* fix lint

* Fix test with translation

---------

Co-authored-by: Martin Cayuelas <[email protected]>
lambertkevin pushed a commit that referenced this pull request May 20, 2024
* Add Activation screen for Wallet Sync

* Add WalletSync store

* Split WalletSync by Activaton & Manage side content

* Add changeset

* Add first test

* fix lint

* Fix test with translation

---------

Co-authored-by: Martin Cayuelas <[email protected]>
mcayuelas-ledger added a commit that referenced this pull request May 21, 2024
* Add Activation screen for Wallet Sync

* Add WalletSync store

* Split WalletSync by Activaton & Manage side content

* Add changeset

* Add first test

* fix lint

* Fix test with translation

---------

Co-authored-by: Martin Cayuelas <[email protected]>
sshmaxime added a commit that referenced this pull request May 24, 2024
* Add Activation screen for Wallet Sync

* Add WalletSync store

* Split WalletSync by Activaton & Manage side content

* Add changeset

* Add first test

* fix lint

* Fix test with translation

---------

Co-authored-by: Martin Cayuelas <[email protected]>
sshmaxime added a commit that referenced this pull request May 27, 2024
* Add Activation screen for Wallet Sync

* Add WalletSync store

* Split WalletSync by Activaton & Manage side content

* Add changeset

* Add first test

* fix lint

* Fix test with translation

---------

Co-authored-by: Martin Cayuelas <[email protected]>
valpinkman added a commit that referenced this pull request May 28, 2024
* develop: (203 commits)
  ci: update workflow
  ci: fix
  ci: updtate e2e workflow
  πŸ› : [BUGFIX] Layout issue with new Gainers/Losers trend widget if LLD is in French or German (#6932)
  Add basic tests
  Reorg files into new architecture folder
  ci: adding changeset
  ci: ENABLE_TRANSACTION_BROADCAST
  ci: e2e nightly - setup default value to variables
  feat(context-module): new module
  feat(eth): signature for setExternalPlugin is now optional
  [LIVE-9296] Feature - Use Ethereum app for all EVMs (#6861)
  support: add LL token icon (#6776)
  [LLD] - [LIVE-12264] - Add Wallet Sync activation screen (#6782)
  Add changeset
  Store components in several folder
  Initialize WalletSync Manage screen
  test(wallet-api): add test to avoid future regressions
  fix(platform): xrp family not present
  fix(live-12705): display the disabled swap button when the form is not valid
  ...
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