Tom Kirkpatrick
ef70acddd0
refactor: move Value component to UI dir
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
7a393d32bc
feat(ui): add Icon component
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
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
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
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
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
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
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