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 extracting translations #2119

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Fix extracting translations #2119

wants to merge 11 commits into from

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Jan 25, 2025

Built on top of #2118

Fixes 0032df5

Before:
- redux was shared between persistent popup (can request USB permissions) and
  default popup
- persistent popup listed ledger accounts into store
- when reopening default popup listed accounts were kept
- when reopening default popup after clearing listed accounts: all steps repeat

After:
- persistent popup requests permissions
- this gives permissions to default popup too
- when reopening default popup: use new permissions to list accounts from ledger
Ledger doesn't even need to be unlocked to grant USB access.
This makes it clearer what user should interact with.
Improves UX after ConnectDevice popup closes and user has to re-open the normal
popup to continue the flow.
@lukaw3d lukaw3d requested review from buberdds, csillag and lubej January 25, 2025 08:54
Copy link

github-actions bot commented Jan 25, 2025

Deployed to Cloudflare Pages

Latest commit: df0b07c4e25622efb4fa643d520dfe77f07245b1
Status:✅ Deploy successful!
Preview URL: https://1d6ba3c6.oasis-wallet.pages.dev
Alias: https://pr-2119.oasis-wallet.pages.dev

Copy link

socket-security bot commented Jan 25, 2025

@lukaw3d lukaw3d force-pushed the lw/fix-translations branch from 05d2021 to f0d89d9 Compare January 26, 2025 10:45
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.

1 participant