Tom Kirkpatrick
05f30c4d44
fix(loading): fix glitch on loading sequence
The loading bolt was being shown in several distinct places, which was
resulting in a glitch between completing onboarding and showing the
wallet ui.
Refactor such that the LoadingBolt component is only mounted once, in
the root component.
6 years ago
Tom Kirkpatrick
14c0f8e12d
fix(wallet): hide expired toggle for empty wallet
Hide the "show / hide expired" toggle for new users with no previous
activity.
For new users with an empty wallet it doesn't make any sense that in
middle of the activity list there is a toggle button to show/hide
expired requests, since we know the user has no requests.
6 years ago
Jack Mallers
6a7ed61ef3
fix(channels): fetch channels after peer connections
6 years ago
Jack Mallers
b1b44489e5
fix(channels): fetch in activity mount not app
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
c00321845c
refactor(fs): consolidate containers & components
Move all presentational components to the top level components directory
and all container components to the top level containers directory.
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
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
Tom Kirkpatrick
39a52800f2
fix(invoice): update invoice modal once received
Ensure that the invoice / transaction / payment modal view shows the
most current data from the store. Do not duplicate data in the store
but instead reference the canonical data by id.
See https://redux.js.org/faq/organizingstate#how-do-i-organize-nested-or-duplicate-data-in-my-state
Fix #623
6 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
Matthew Wraith
cdcd5b714f
fix(invoice-amt-paid): settled invoices show amt_paid
Settled invoices show the amount paid by the payee instead of the requested
value from the invoice. This involves using an updated version of the lnd rpc
protocol.
This is in response to issue #654 .
amt_paid is exposed to users via invoice.finalAmount, which is constructed
via a new invoice decorator.
6 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
213de64e30
refactor: add received prop to transaction
For more intuitive testing of tx direction
7 years ago
Tom Kirkpatrick
48681ba6f3
fix(receive-tx): don't show sent for received tx
Fix for #539
7 years ago
Jack Mallers
f86cbdddd6
fix(receive-tx): dont show sent for received tx
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
5367e3bf21
style: fix scss no-duplicate-selectors rule
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
Tom Kirkpatrick
da2d6955e3
perf(bundle-size): remove moment-timezone dep
Shaves 176.88k of final renderer.prod.js bundle size.
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
f8e15e92e3
fix(lint): fix lint errors
7 years ago
Jack Mallers
39154b688a
fix(payment): update payment modal styles
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
Jack Mallers
5c126fd595
feature(payform): add error messages to py form
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
91abe27589
fix(package.json): go back to old webpack versions
7 years ago
Jack Mallers
e04d308687
feature(multi-currency): convert to sats before sending coins or making a request, no matter the currency
7 years ago