Tom Kirkpatrick
1910da53ec
fix: reduce main bundle size (exclude locale data)
By not loading locale data into the main process we can considerably
reduce it's size. We the only thing we need access to in the main
process is the translation sets (used for the languages menu).
refactor the i18n code so that the locale data can only be loaded when
needed (in the renderer).
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
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
1b15ce7a60
feat(fiat): persist fiatTicker
fix(fiat): reorder fiatTickers
fix(renderer): correct URLs in renderers
refactor(settings): refactor to functional components
fix(utils): convert fiat price w/ commas
chore(comment): remove un-needed comment
refactor(fiat-amount): rename to fiatAmount
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
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
0846bcb772
style(lint): lint and format all code
7 years ago
Ben Woosley
08fbed672f
Prefix ticker units with 't' when running on testnet
7 years ago
Jack Mallers
1e7d992edd
fix(wallet-header): wire up currency switching from the home page wallet header
7 years ago
Jack Mallers
9c88c78ff8
feature(request): usd amount in request form
7 years ago
Jack Mallers
0883bbd486
feature(payform): add multi-currency support for payform
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
a0965c9929
fix(console.log): remove logs
7 years ago
Jack Mallers
ebf185f931
fix(currency conditionals): conditionals based on usd and current crypto for multi-currency support
7 years ago
Jack Mallers
c15c5404b9
feature(ltc-icon): add ltc icon support
7 years ago
Jack Mallers
f03710daa4
fix(currentTicker): fix tests and lint errors
7 years ago
Jack Mallers
381663685b
fix(address): fix propTypes address
7 years ago
Jack Mallers
5a307dfba8
feature(ticker): replace hard coded ticker with currentTicker
7 years ago
Jack Mallers
6c87563aa2
fix(lnd-ipc): fix linting errors
7 years ago
Jack Mallers
abb1b02a36
fix(lint): start fixing linting error
8 years ago
Jack Mallers
f56128d244
feature(modal): modal for detailed payment/invoice
8 years ago
Jack Mallers
81c3e24fa9
feature(currency): ability to set currency
8 years ago
Jack Mallers
35fc8b8a1c
feature(balance + currency): dynamic balance in Nav plus add currency in reducer
8 years ago