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
Tom Kirkpatrick
4e06f61dac
fix(ui): autofocus network forms
When the network search and add contact forms open ensure that the most
relevant form field is selected by default.
Fix #389
6 years ago
jamaljsr
31e178a1fc
feat(channels): warn when opening multiple channels to the same node
6 years ago
Tom Kirkpatrick
ca118d7c27
chore(deps): update all lint related packages
6 years ago
Jack Mallers
4eb140dd42
fix(channels): closing channels link to closing_txid
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
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
b5a6e4c270
fix(network): ensure alias for closing channels
6 years ago
Jack Mallers
9d53826915
fix(network): ensure accurate btc balance
6 years ago
Data Courier
818dd25012
feat(ui): integrate AmountInput into wallet UI
Use the new AmountInput component throughout the wallet.
Fix #682
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
ac1b6e8830
style: fix lint issue
7 years ago
terencechow
ace267ba86
fix(copy): fix small typo re adding funds to network
7 years ago
Jack Mallers
f304debd8c
fix(channels): loading hover state
7 years ago
Tom Kirkpatrick
828be27630
fix: ensure conditional display uses boolean
Prevents the display of an unwanted "0" by ensuring that conditional
uses an actual boolean value.
7 years ago
Ben Woosley
673829821a
fix: don't show channel suggestions if pending channels exist
7 years ago
Ben Woosley
b15d68de18
refactor: avoid repeating a conditional in Network
7 years ago
Jack Mallers
bc27b95919
fix(channel-form): improve copy
7 years ago
Tom Kirkpatrick
8d0838d691
fix(accessibility): don't use white on yellow text
White on yellow presents accessibility challenges and should be avoided.
Change the white on yellow used in highlighted buttons for a darker
colour against the yellow background.
Fix #356
7 years ago
Tom Kirkpatrick
8e195c48ea
fix: show channel filter with empty active filter
Ensure that the channel filter shows instead of the suggested nodes list
when an empty channel filter is selected.
Fix #507
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
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
Jack Mallers
01b30ee92c
fix(channels): correct property for waiting_close_channels object
7 years ago
Tom Kirkpatrick
ba34367750
perf(bundle-size): remove lodash dependency
Shaves 34.57k of final renderer.prod.js bundle size.
7 years ago
Jack Mallers
f84fb97a41
fix(channel-details): use currencyName
7 years ago
Jack Mallers
5c301075e0
fix(waiting_close_channels): account for waiting_close_channels
7 years ago
Jack Mallers
a34093f506
fix(submit-channel): reduce font size
7 years ago
Jack Mallers
7e426eb507
fix(margin): fix using margin-bottom instead of margin
7 years ago
Jack Mallers
1c9a23b195
fix(channel-list): change the logic to look at the currentChannels
7 years ago
Jack Mallers
71d6ebec84
refactor(sbumit-channel): refactor sass file
7 years ago
Jack Mallers
37c0fe6a6e
style(lint): fix lint errors
7 years ago
Jack Mallers
147a719b96
fix lint errors
7 years ago
Jack Mallers
371c152cfb
feat(channels): remove hardcode currency name in channel balance and replace with dynamic currency name
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
Jack Mallers
3adf4620e0
fix(channels): fix invalid assignment error for removeClicked, displayNodeName and channelStatus
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
Jack Mallers
da4ae24675
fix(channels): fix invalid assignment error that was not allowing channel details to toggle open on click in production builds
7 years ago
odb366
ad7a08cfa9
fix(submit-channel-layout): width of amount field matches expected output
7 years ago
odb366
c4a6b0f8ae
fix(submit-channel-layout): refactor form layout
7 years ago
odb366
fca58025a2
fix(submit-channel-layout): refactor form layout
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago