* 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>
* deps: remove unused lib moving-letters
* deps: update react-bootstrap from v2.4.0 to v2.5.0-beta.1
* deps: update react-router-bootstrap from v0.26.1 to v0.26.2
* deps: update bootstrap from v5.1.3 to v5.2.0
* dev: update node from v16.11.0 to v16.16.0 in GitHub build action
* dev: harmonize options button styles on Receive and Earn page
* feat(jars): display jar selector on receive screen
* ui: show placeholder while balance is loading
* refactor: rename 'account' to 'selectedJarIndex'
* Update src/components/Receive.jsx
Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
* Update src/components/Receive.module.css
Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
* Update src/components/Receive.module.css
Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
* build: format code
* review: show jar selector in normal mode
Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>
* ui: show config options on Earn screen only in advanced mode
* refactor: externalize AdvancedModeToggleButton component to own file
* refactor: ToggleSwitch from jsx to tsx
* refactor: pass api result down the promise chain on Earn page
* ui: center offertype toggle switch on Earn page
* ui: ability to add an 'off' label and subtitle to ToggleSwitch
* ui: add label to off state of offertype toggle switch on Earn page
* ui: add individual 'simple/advanced view' toggle to Earn screen
* ui: add prefix to inputs on Earn page
* fix: do not populate fee rel with zero when no input is given
* refactor: move styles for Earn page from global to module file
* Revert "ui: ability to add an 'off' label and subtitle to ToggleSwitch"
This reverts commit 04edc2914e.
* Revert "ui: add label to off state of offertype toggle switch on Earn page"
This reverts commit 3142131e47.
* Revert "ui: add individual 'simple/advanced view' toggle to Earn screen"
This reverts commit 0f850f3e28.
* Revert "refactor: externalize AdvancedModeToggleButton component to own file"
This reverts commit 6bf5445265.
* dev: move styles for Receive screen to module
* review: replace toggle with 'advanced' form dropdown in Earn screen
* review: add RadioTabs component
* review: use RadioTabs for offertype on Earn screen
* fix: title in RadioTab
* feedback: style updates
* feedback: rename control element
Co-authored-by: Daniel <10026790+dnlggr@users.noreply.github.com>