Tom Kirkpatrick
080f876313
refactor: rework containers and routes
Refactor Containers and Routes in order to make the code a little more
readable, reduce duplication, and prepare the codebase for integration
of the new Home screen.
- Break out the Root container into several smaller containers that are
responsible for connecting themselves to the Redux store.
- Use routing for navigation between primary containers
- Unbundle the `Syncing` Component from the Onboarding section and hook
up to router so that it can be access by navigating to `/syncing' (we
want to be able to load existing wallets and initiate syncing outside of
the context of the onboarding process)
- Reduce code duplication
- Create `TitleBar` component and implement once at the top level
- Create `withLoading` HOC and use to display the loading screen when
needed.
6 years ago
Jack Mallers
f7964c8686
fix(theme): make compatible with multi-language
6 years ago
Tom Kirkpatrick
aedd1ee233
feat(i18n): initial multi-language support
6 years ago
Tom Kirkpatrick
3c5337ea25
feat(grpc): ability to unlock remote wallet
If when connecting to a remote wallet we detect that it is locked
initialise the wallet unlocker to allow users to unlock their remote
wallets.
Fix #543
6 years ago
Tom Kirkpatrick
9ab16e3fb3
fix(lnd): prevent full chain sync on wallet init
Do not set `recovery_window: 250` in our call to `initWallet` when
creating a new wallet, as this causes lnd to scan the entire chain for
non-existent funds which slows the lnd sync process.
See https://github.com/lightningnetwork/lnd/issues/1744
6 years ago
Jack Mallers
93604f21b0
fix(copy): fix small typo in login copy
7 years ago
Tom Kirkpatrick
0de2b7d2b0
fix(onboarding): show existing wallet location
If we find an existing wallet for a user during the onboarding process
let the user know where it is.
7 years ago
Tom Kirkpatrick
d2f53aa6fd
fix(onboarding): improve existing wallet message
Improve the wording of the message users see when they go through
onboarding and we detect that they already have an existing wallet.
7 years ago
Tom Kirkpatrick
fd7f44714f
feat(btcpayserver): add support for BTCPayServer
Allow connecting to an LND instance that is behind BTCPayServer.
7 years ago
Tom Kirkpatrick
d18708242b
fix(onboarding): remove seed password
Remove seed password support from the onboarding process until we can
find a better/less confusing way to present it to users.
7 years ago
Jack Mallers
ecc7988c72
fix(wallet-type): ensure a user selects a wallet type
7 years ago
Tom Kirkpatrick
dd134aa356
feat(grpc): lnd connection error recovery
Show errors to the user after a failed attempt to connect to a custom
lnd instance and allow the user to correct and try again.
Fix #493
7 years ago
odb366
31a8084c01
fix(onboarding-password-bug): add more password validation
7 years ago
odb366
a712381765
fix(onboarding-empty-pass): add empty password validation
7 years ago
Kristiyan Lukanov
58e34e2299
fix(onboarding-pass-validation): added password validation ( #424 )
* fix(onboarding-pass-validation): users are not allowed to proceed if pass < 8 char
* fix(onboarding-pass-validation): fixed prettier issue
* fix(onboarding-pass-validation): fixed prettier issue2
* fix(onboarding-pass-validation): add 8 char inline validation
* fix(onboarding-pass-validation): improve password validation
7 years ago
Jack Mallers
c446567dda
feat(retype-seed): select 3 random seed indexes for the user to enter
7 years ago
Ben Woosley
dc29c80ad0
style(line length): Drop prettier line length from 120 to 100
Subjectively, this increases general readability, while the higher max-length
limit allows for longer strings and comments, etc.
7 years ago
Ben Woosley
f87236495a
style(line length): Limit prettier line length to 120 chars
150 is a bit too long
7 years ago
Ben Woosley
5bc2f6e980
lint(explicit disable): Make all eslint-disable-line statements explicit
As to what they disable.
7 years ago
Ben Woosley
689d5bf753
lint(unnecessary disable): Remove unnecessary eslist-disable-lint statements
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago
Jack Mallers
42344065f4
fix(lint): fix lint errors
7 years ago
Jack Mallers
101dc21534
fix(connection-type): improve connection type copy
7 years ago
Tom Kirkpatrick
3c4a651764
feature(lnd-config): add connection type onboarding screen
Add a new set of screens into the connection onboarding flow that
allow the user to select wether to connect to a local or remote
LND node.
Fix #326
7 years ago
Jack Mallers
0ebfc46d60
fix(lint): fix lint errors
7 years ago
Jack Mallers
d9ed3f2c8b
fix(recovery_window): fix wallet recovery by specifying default recovery window
7 years ago
Jack Mallers
ef03dccf47
fix(submit wallet): dont allow user to move on if the aezeedPass doesnt match the confirmation pass
7 years ago
Jack Mallers
2bb28e0bbd
fix(lint): fix linting errors
7 years ago
Jack Mallers
9369baf308
fix(createWalletPassword): refactor component to be stateless. use selector to show error on non matching passwords and not allow user to continue until passwords are matching
7 years ago
Jack Mallers
4a6a360128
feature(createWalletConfirmation): add walletPasswordConfirmation to reducer
7 years ago
Jack Mallers
f2c544cab8
feature(reEnterSeedChecker): return true or false based on whether the user has re-entered the seed correctly
7 years ago
Jack Mallers
96f7a3e20b
feature(seed): style copy/enter seed pages
7 years ago
Jack Mallers
24ae067ad9
feature(unlockWallet): ability to unlock wallet with helpful error messages
7 years ago
Jack Mallers
357cf4e0ef
fix(lint): fix all lint errors except a few (will fix the rest after i finish the rest of the modals)
7 years ago
Jack Mallers
e005932d4f
fix(lint): fix linting errors
7 years ago
Jack Mallers
2d1030a1f7
feature(autopilot-onboarding): allow user to turn autopilot on/off before starting their node
7 years ago
Jack Mallers
410b7ba07d
fix(lint): fix lint errors
7 years ago
Jack Mallers
22f4eb09d0
fix(lint): linting errors
7 years ago
Jack Mallers
a0f28ecfbc
fix(lint): fix some linty errors
7 years ago
Jack Mallers
8d448708b7
fix(onboarding): default state is false for onboarded
7 years ago
Jack Mallers
dad4546e58
feature(alias): setup form container and onboarding architecture. hard code alias form
7 years ago