Tom Kirkpatrick
2b80ae7106
feat(wallet): implement new pay forms
6 years ago
Tom Kirkpatrick
fcafdec861
feat(ui): add Pay components
Add components for updated Pay form and build out reference use case in
the storybook environment.
6 years ago
Tom Kirkpatrick
b850cd8c80
feat(i18n): multilingual support for UI components
6 years ago
Tom Kirkpatrick
2d9493b9d4
feat(ui): Add Truncate component
Component that truncates text to a given length with an ellipsis in the
middle of the string.
6 years ago
Tom Kirkpatrick
6f9ff91ad6
feat(ui): Add Form component
Component that wraps Informed.Form as a Styled System component.
6 years ago
Tom Kirkpatrick
e282bda188
fix: do not assume chain on boot
Ensure that the state of the app is clean when it starts. Do not assume
that we are connecting to the bitcoin chain.
6 years ago
Tom Kirkpatrick
03635998e6
feat(ui): add Fiat/Crypto amount field components
6 years ago
Tom Kirkpatrick
0acd6bf66d
style(global): update general styles
Use https://www.npmjs.com/package/styled-reset to apply css resets and
move all global styles to the GlobalStyle component.
Update general styles inline with design design work.
6 years ago
Tom Kirkpatrick
e64314ca97
feat(ui): add LightningInvoiceInput component
6 years ago
Tom Kirkpatrick
d68f1f3acc
refactor: use named exports for UI components
6 years ago
Tom Kirkpatrick
514aad81a3
refactor(ui): use Dropdown component
Update all places where we display a crypto unit selector to use the
new CryptoSelector component and do away with all the custom
implementations.
6 years ago
Tom Kirkpatrick
b552aa60f1
feat(ui): add Dropdown component
6 years ago
Tom Kirkpatrick
6460c879bc
style: minor style fixes
6 years ago
Tom Kirkpatrick
df6e2cb070
chore(deps): update react and react components
6 years ago
Tom Kirkpatrick
ccf315b58a
feat(settings): use indexedDb for persistent data
6 years ago
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
Tom Kirkpatrick
cfd9f7a15f
feat(ui): add Menu components
6 years ago
Tom Kirkpatrick
524627de9d
feat(ui): add Form components
6 years ago
Tom Kirkpatrick
ae19294c15
fix(styles): clean up global error style
Implement new Notification component in GlobalError.
6 years ago
Tom Kirkpatrick
81f8b2d9a4
feat(ui): add Page/MainContent/Sidebar components
6 years ago
Tom Kirkpatrick
e595acb0e0
fix(styles): clean up and standardize icons
Implement Icon components throughout the app.
6 years ago
Tom Kirkpatrick
06b1d27e64
fix(styles): clean up and standardize buttons
Implement Button component throughout the app.
Fix #830
6 years ago
Tom Kirkpatrick
fd7987929b
feat(ui): add Modal component
6 years ago
Tom Kirkpatrick
2a7780bce4
feat(ui): add Background component
6 years ago
Tom Kirkpatrick
ea646fd82f
feat(ui): add Bar component
6 years ago
Tom Kirkpatrick
dd3adec3f2
feat(ui): add Notification component
6 years ago
Tom Kirkpatrick
4e4ef61947
feat(ui): add Button component
6 years ago
Tom Kirkpatrick
eddd3cb55f
feat(ui): add Typography components
6 years ago
Tom Kirkpatrick
ab68b9a376
feat(ui): add Spinner component
6 years ago
Tom Kirkpatrick
7a393d32bc
feat(ui): add Icon component
6 years ago
Tom Kirkpatrick
3100d2995a
feat(ui): add storybook
Create a storybook in order to aid component development by providing an
easy way to preview components.
6 years ago
Tom Kirkpatrick
7bb76dbb94
chore(deps): update babel to v7
Update babel to v7 and make necessary adjustments to get things to
function properly.
6 years ago
Tom Kirkpatrick
369be780a9
ci(jest): increase timeouts
Tests sometimes run very slowly on Appveyor and can timeout before they
finish. Increase jest and spectron timeouts from their defaults.
6 years ago
Tom Kirkpatrick
11ab3999b7
ci(jest): set maxWorkers to 2
Jest process doesn’t quit after last test completes. This can cause our
tests to fail sometimes, particularly on on Appveyor.
As an attempt to get past this previously we had set `--forceExit` in
our jest cli options, but this doesn't always work either.
Further research suggests that setting ``--maxWorkers=2` could resolve
the issue.
See
- https://github.com/facebook/jest/issues/1456#issuecomment-424356243
- https://github.com/facebook/jest/blob/master/docs/Troubleshooting.md
Fix #774 , Fix #773
6 years ago
Tom Kirkpatrick
52cefd7cdf
feat(lnd): use free port for lnd
Select free ports for lnd from a pool of options. By default we will
use the standard lnd ports (10009 and 9735) but if those are not
available then we will search for free ports in a nearby range.
This allows us to have multiple instances of the wallet running and
avoids possible conflicts with other instances of lnd that the user
may be running.
6 years ago
Tom Kirkpatrick
1081db81c4
test(e2e): combine e2e test setup/teardown steps
There is currently a bug with Spectron which is causing random test
failures due to `app.quit` not working as it should.
Combine the e2e tests so that they use a single setup/teardown step
which will reduce the frequency of random test failures.
6 years ago
Tom Kirkpatrick
9859ac2eec
style(loading): fade out loading bolt
Show the loading bolt for a little longer and fade it out when it
unmounts.
6 years ago
Tom Kirkpatrick
977937956e
chore(fs): remove unused util code
Our USD helper functions are no longer used since we have migrated to
intl for currency formatting. Remove the unused code.
6 years ago
Tom Kirkpatrick
0947079d05
test(unit): fix failing test case
6 years ago
Jack Mallers
f7964c8686
fix(theme): make compatible with multi-language
6 years ago
Tom Kirkpatrick
5c93cee6d2
test(timeout): use jest.setTimeout to set timeout
6 years ago
Tom Kirkpatrick
70bfa6cb73
feat(i18n): use local currency display rules
Use `intl.formattedNumber` to display currency values to ensure that
currencies are displayed using the formatting rules that match the
user's locale.
6 years ago
Tom Kirkpatrick
27e46ccde8
feat(i18n): detect best-fit user currency
Use the locale information in order to select a best fit default
currency for the user.
6 years ago
Tom Kirkpatrick
aedd1ee233
feat(i18n): initial multi-language support
6 years ago
Tom Kirkpatrick
54ed782ff5
refactor(general): remove contactModal components
6 years ago
Tom Kirkpatrick
7a5f360e6d
test(e2e): ensure tests are self contained
Ensure that each of our e2e tests carries out its own full setup and
teardown processes so that they can be run in isolation.
6 years ago
Tom Kirkpatrick
f464356bf7
fix(validation): improve hostname/ip validation
Do not assume that an address that starts with a number is an IP
address and expand validation to cover all FQDNs and IP addresses.
Fix #766
6 years ago
Tom Kirkpatrick
3326db1e55
fix(lnd): send SIGINT to lnd to terminate
6 years ago
Tom Kirkpatrick
eb71b6c579
fix(ui): autofocus and clear pay and request forms
When the payment and request forms open ensure that the forms are empty
and the most relevant form field is selected by default.
Fix #389
6 years ago
Tom Kirkpatrick
e9b4605523
refactor(grpc): convert WalletUnlocker to class
Convert the walletUnlocker object to a class with an interface that is
consistent with the Lightning class.
6 years ago