Tom Kirkpatrick
7a393d32bc
feat(ui): add Icon component
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
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
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
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
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
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
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
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
54c31e2de3
feature(wallet): build new wallet modal/refactor current wallet component
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
9c88c78ff8
feature(request): usd amount in request form
7 years ago
Jack Mallers
04798ac7f9
feature(payform): new pay form MVP
7 years ago
Jack Mallers
98b3c52e11
feature(value): add value component to wallet
7 years ago
Jack Mallers
8a40563314
fix(lint)
7 years ago
Jack Mallers
1c40075e3b
fix(walletBalance): was only calcing channel balance in wallet header
7 years ago
Jack Mallers
8d448708b7
fix(onboarding): default state is false for onboarded
7 years ago
Jack Mallers
cdeaecb35a
fix(max-len): refactor logic to fix max-len lint error
7 years ago
Jack Mallers
61756238ae
fix(toLocaleString): make sure we arent calling toLocaleString on null
7 years ago
Jack Mallers
ee9002aeed
fix(toLocaleString): try removing toLocaleString for lint errors
7 years ago
Jack Mallers
12677e7f2c
fix(lint): fix linting errors
7 years ago
Jack Mallers
f228f609a4
fix(null error): fix toLocaleString() on null
7 years ago
Jack Mallers
907b81da8c
feature(header, activity): new activity and header
7 years ago
Jack Mallers
a0b30ab4cd
fix(addressButton): fix addressButton style
7 years ago
Jack Mallers
4f97d1311b
fix(lint): fix lint errors
7 years ago
Jack Mallers
eb913b0367
fix(lint): fix lint errors
7 years ago
Jack Mallers
10d6544986
fix(lint): fix so many linting errors lol
7 years ago
Jack Mallers
4f86a90ee0
fix(proto): fix merge conflicts and errors with new proto file
7 years ago
Jack Mallers
d6ef0ecd1b
fix(wallet modal): redesign wallet modal
7 years ago
Jack Mallers
907650db46
fix(wallet): fix address button
7 years ago
Jack Mallers
d4748bbdf5
fix(address): add new address button until address bug is tracked down
7 years ago
Jack Mallers
03f5e22f68
fix(lint): fix linting errors
7 years ago