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
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
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
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
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
Jack Mallers
f7964c8686
fix(theme): make compatible with multi-language
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
aedd1ee233
feat(i18n): initial multi-language support
6 years ago
Tom Kirkpatrick
aeb832d30a
refactor(webpack): use portable scss include paths
Rather than using relative paths for css imports - which can break when
we move files around - add our styles path to the webpack sass-loader
loader using the `includePaths` setting.
6 years ago
Tom Kirkpatrick
f51586d3ce
refactor(fs): group files by component
Group component related file in a directory named after the component.
6 years ago
Jack Mallers
7d7e6f8df6
feat(testnet): add pill to UI on testnet
This commit adds a "Testnet" text UI next to our logo to show the user they are on the testnet network
6 years ago
Tom Kirkpatrick
2c194517ed
feat(wallet): show node public address if set
Show the node public address if known to make it easier to share node
details with other users. Add the data in both the Node address text
field as well as the node address QR code.
6 years ago
Adam Mashrique
b769f724ae
fix(qrcode): invert colors and add 2 px border
Fix for a more standard QR code color scheme for compatibility with QR
scanners, particularly Android ones.
6 years ago
Jack Mallers
8548b744ec
feat(payment): add 60 second payment timeout
In this commit we introduce a 60 second timeout for LN payments. This addresses the issue of infinitely hanging LN payments and improves the UX. The UI now has a 60 second countdown where Zap will clear the payment if it is not successfully routed
6 years ago
Jack Mallers
59a64714d1
feat(settings): close on blur click
fix(multi-lang): switch ticker to settings store
fix(tests): pass all tests
fix(fiat): switch from usd to fiat
fix(settings): fix console errors
fix(settings): make styles consistent
fix(tests): remove unneeded mocks
fix(payform): call satoshisToFiat now
fix(network): rebase + fix network fiat amt
7 years ago
Jack Mallers
6096fa00fd
fix(fiat): dynamic fiat symbol
7 years ago
Jack Mallers
7671d41eb2
feat(fiat): convert to bci api
feat(fiat): wire up setFiatTicker
fix(fiat): enable fixed height w scrolling
feat(fiat): add active style
7 years ago
Jack Mallers
bc15832f1f
feat(settings): implement settings component
7 years ago
Tom Kirkpatrick
4ee87f1476
refactor(react): ternary conditional classnames
React v16.x reports errors when using boolean operators for conditional
classnames and requires that you instead use ternary style conditional
clauses.
7 years ago
Tom Kirkpatrick
5681b82a3c
refactor: move helper code to lib directory
7 years ago
Tom Kirkpatrick
a989c038fc
feat(wallet): remember last wallet address
Only generate a new wallet address after the last one has been used.
Fix #519
7 years ago
Tom Kirkpatrick
18ea5d3b45
style(lint): fix issues from rule react/destructuring-assignment
7 years ago
Tom Kirkpatrick
99b930f47e
refactor: move styles to styles directory
7 years ago
Tom Kirkpatrick
f85aa10cff
style: remove redundant font declarations
7 years ago
Tom Kirkpatrick
849f2bf9ea
style: run all stylesheets through prettier
7 years ago
Tom Kirkpatrick
2d6dec5afb
style: run all stylesheets through stylelint
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
Tom Kirkpatrick
0c7e75eb05
perf(bundle-size): only import used react icons
The final size of renderer.prod.js is about 4.75mb. 2.35mb of this comes
from react-icons.
Update the react icon imports to import only the specific icons that we
use. This reduces the final size of renderer.prod.js by about 50%
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago
Ben Woosley
07facd5d0d
On the receive modal, label the address Testnet when appropriate
7 years ago
Ben Woosley
7d39aec678
Replace info.isTestnet with info.network
This holds network-specific information, initially the explorerUrl and the
bitcoinJsNetwork.
7 years ago
Jack Mallers
0611a9a99b
fix(lint): fix lint errors
7 years ago
Jack Mallers
5ab19cd19b
fix(dynamic-showTransaction): add isTestnet param to function and update function calls
7 years ago
Jack Mallers
992e6d36fd
fix(wallet modal): change copy from deposit to bitcoin
7 years ago
Jack Mallers
e85a9b2dd1
fix(activity): grouped data by day and redesign payment, invoice and transaction components
7 years ago
Jack Mallers
d797b18d3a
fix(lint/tests): fix lint/tests
7 years ago
Jack Mallers
1e7d992edd
fix(wallet-header): wire up currency switching from the home page wallet header
7 years ago
Jack Mallers
920cd7edd2
fix(ReceiveMOdal): remove hardcoded alias and replace with dynamic alias or pubkey
7 years ago
Jack Mallers
9a73b90f3d
fix(lint): fix max-len with eslint hack for now
7 years ago
Jack Mallers
efc5cf0f02
fix(onchain): fix the UX for on-chain payments to be like the UX for LN payments
7 years ago
Jack Mallers
00a93b3aec
fix(): small console logs and errors
7 years ago
odb366
eca3a7189b
scrollbar-fix2
7 years ago
Jack Mallers
f8e15e92e3
fix(lint): fix lint errors
7 years ago
Jack Mallers
91eb5e32c5
fix(on-chain): fix on chain modal to new styles
7 years ago
Jack Mallers
1f9a316326
fix(lint): fix linting errors
7 years ago
Jack Mallers
fade245dc4
feature(countdown): add countdown component for the countdown till the invoice expires
7 years ago