Skip to content

Conversation

lubega-deriv
Copy link
Contributor

@lubega-deriv lubega-deriv commented Feb 9, 2024

Changes:

  • Updated wallet account switcher new design according to figma
  • Updated DesktopWalletsList logic to implement useActiveWalletAccount instead of useWalletAccountsList to display only the active wallet account
  • Renamed WalletsAccordion and WalletsAccordionLoader to WalletsCard and WalletsCardLoader
  • Updated WalletListCardTitle to WalletListCardDropdown
  • Added unit test for WalletListCardDropdown
  • Added optional props to WalletTextfield and WalletDropdown component to be used in WalletListCardDropdown
  • Added logic in WalletListCardDropdown to change dropdown length according to input value
  • Added icons for circular logos

Screenshots:

Screen.Recording.2024-02-09.at.10.41.53.AM.mov

Copy link

vercel bot commented Feb 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Feb 14, 2024 3:03am

Copy link
Contributor

github-actions bot commented Feb 9, 2024

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/deriv-app/pull/13473](https://github.com/binary-com/deriv-app/pull/13473)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-lubega-deriv-wall-2795-wallet-account-9d5cb0.binary.sx?qa_server=red.derivws.com&app_id=31227
    - **Original**: https://deriv-app-git-fork-lubega-deriv-wall-2795-wallet-account-9d5cb0.binary.sx
- **App ID**: `31227`

Copy link
Contributor

github-actions bot commented Feb 9, 2024

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 28
🟧 Accessibility 89
🟢 Best practices 92
🟧 SEO 85
🟧 PWA 78

Lighthouse ran with https://deriv-app-git-fork-lubega-deriv-wall-2795-wallet-account-9d5cb0.binary.sx/

@coveralls
Copy link

coveralls commented Feb 9, 2024

Coverage Status

coverage: 36.21% (+0.2%) from 36.003%
when pulling fa56982 on lubega-deriv:WALL-2795/wallet-account-switcher
into 4d45200 on binary-com:master.

Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Generating Lighthouse report...

@nijil-deriv nijil-deriv merged commit 440491f into deriv-com:master Feb 14, 2024
sergei-deriv pushed a commit to sergei-deriv/deriv-app that referenced this pull request Feb 16, 2024
* feat: wallet account switcher

* fix: wallet card icon variants

* fix: import sorting order

* fix: import sorting order

* fix: applied comments

* fix: applied comments

* fix: added missing dependency

* fix: added usecallback for title text

* fix: added usecallback for title text

* fix: cleane up code

* fix: updated component test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants