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
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
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
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
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
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
1c9a23b195
fix(channel-list): change the logic to look at the currentChannels
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
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
cc9921a6d9
fix(lint): fix lint errors
7 years ago
Jack Mallers
ca268b8e85
feature(external block explorer link): change icon to external link and allow users to link to channels in explorer
7 years ago
Tom Kirkpatrick
1fdccaffeb
fix(channels): do not show suggested nodes on empty search
Do not show the suggested nodes text block when a channel search does
not return any results. Instead, in this case retain the search query
input filter on the screen so that the user can go back and edit their
search query.
Fix #394
7 years ago
Jack Mallers
78afbb05f2
fix(lint): fix linting errors
7 years ago
Jack Mallers
086de08342
fix(disconnect): only show disconnect when channel is established
7 years ago
Jack Mallers
dd284550eb
fix(loading-channels): fix loadingchannels messed up styles
7 years ago
Jack Mallers
63707b0b40
fix(lint/tests): fix lint and test errors
7 years ago
Jack Mallers
f01924f2a2
feature(suggested-peers): hook up suggested peers form
7 years ago
Jack Mallers
0f8ed62e7d
feature(suggestedNodes): style the component and render the nodes
7 years ago
Jack Mallers
c292984f17
feature(SuggestedNodes): create suggested nodes component
7 years ago
Jack Mallers
0ea5cc743e
fix(lint/tests): fix lint errors and gen new snapshots
7 years ago
Jack Mallers
eca44c9b34
feature(close-channel): hook up new UI
7 years ago
Jack Mallers
a2e0f48bb7
feature(close-channel): wire up close channel to UI
7 years ago
Jack Mallers
7cff397a4c
fix(lint + grpc): fix lint errors and a bug where gRPC connection starts too early
7 years ago
Jack Mallers
3eb2263ff4
feature(SubmitChannel): wire up backend to new submit channel form + loading pubkeys UI
7 years ago
Jack Mallers
a0f9027180
feature(contactsform): tie up new contacts form to reducer
7 years ago
Jack Mallers
2d668f0b88
feature(add channel): add tooltip for add channel
7 years ago
Jack Mallers
5709d7977a
feature(channel): add tolltip to channel status
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