mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-18 13:09:10 +02:00
feat: import wallet (#621)
* chore(regtest): do not build tor locally in regtest env * feat(import): add rescanning param to session request * feat(api): add rescanblockchain request to JmWalletApi * feat: add import wallet button to wallets page * refactor: externalize component PreventLeavingPageByMistake * refactor: externalize component WalletCreationForm * wip: use WalletCreationForm in ImportWallet * refactor: externalize SeedWordInput and rename to MnemonicWordInput * feat(api): add wallet recover request to JmWalletApi * build(deps): bump caniuse-lite to v1.0.30001511 * wip(import): start wallet after successful import * refactor: externalize component WalletCreationConfirmation * wip(import): use WalletCreationConfirmation view in component WalletImport * dev(regtest): add funds to dummy wallet during initialization of local setup * wip(import): update gaplimit before rescanning chain * wip(import): prevent import if rescan is in progress * wip(import): ability to customize gaplimit and blockheight * wip(import): show duration hint when importing wallet * wip(import): hide sensitive info while importing wallet * wip(import): reset gaplimit to original value after importing * wip(import): add description for blockheight and gaplimit * wip(import): add cancel button to WalletCreationForm * refactor: externalize component MnemonicPhraseInput * wip(import): show rescanning indicator on main wallet view * wip(import): show rescanning indicator in navbar * wip(import): disable sending when rescanning is in progress * wip(import): disable navbar/earn/jam when rescanning is in progress * Update src/i18n/locales/en/translation.json Co-authored-by: openoms <43343391+openoms@users.noreply.github.com> * fix(import): disable viewing jars on main wallet if rescanning is active * wip(import): prevent creating new address when rescanning * fix(import): reload wallet info after rescanning finishes * refactor: move auto reloading code from WalletContext to WalletInfoAutoReload * refactor: remove unused method reloadDisplay * wip(import): reload recursively till balance is found * wip(import): expand import options by default * ui: add 'dev' badge to buttons only visible in dev env --------- Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
This commit is contained in:
parent
4d0479ee78
commit
028f32166a
45 changed files with 1868 additions and 532 deletions
|
|
@ -15,6 +15,14 @@
|
|||
margin-bottom: 0.45rem;
|
||||
}
|
||||
|
||||
:global(.jm-rescan-in-progress) .walletHeader {
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
:global(.jm-rescan-in-progress) .walletBody {
|
||||
filter: blur(2px);
|
||||
}
|
||||
|
||||
.jarsPlaceholder {
|
||||
width: 100%;
|
||||
height: 3.5rem;
|
||||
|
|
@ -49,6 +57,10 @@
|
|||
height: 2rem;
|
||||
}
|
||||
|
||||
.jarsDividerContainer .dividerButton:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.sendReceiveButton {
|
||||
padding: 0.25rem;
|
||||
font-weight: 500;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue