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
a4a3c5c007
fix(activity): show paid/unpaid on invoice tooltip
Show "paid" or "unpaid" in brackets next to the invoice activity icon in
the activity list.
7 years ago
Tom Kirkpatrick
87bc9cb063
fix(activity): show icon for paid invoices
Fix : #625
7 years ago
Tom Kirkpatrick
b14ca33e55
fix(activity): show settled date for paid invoices
Fix : #624
7 years ago
Tom Kirkpatrick
3d2e4dd89a
feat(ui): show activity type icon in activity list
Add an icon that shows the activity type in the activity list to help
users clearly distinguish between on-chain and off-chain transactions.
7 years ago
Tom Kirkpatrick
31b0fcbe67
feat(refresh): ability to refresh activity list
Add a refresh button in the activity list header which - when clicked -
fetches the latest payments, invoices, transactions, and balance from
lnd.
Fix #419
7 years ago
Ben Woosley
213de64e30
refactor: add received prop to transaction
For more intuitive testing of tx direction
7 years ago
Tom Kirkpatrick
f7ba4f2c8a
fix: fetch block height from remote sources
Fetch the current block height from multiple block explorers early on in
the sync process. This ensures that we get the correct block height in
the case where our BTCd node is still mid way through syncing. Do this
in the main process rather than in the render process.
7 years ago
Tom Kirkpatrick
a989c038fc
feat(wallet): remember last wallet address
Only generate a new wallet address after the last one has been used.
Fix #519
7 years ago
Tom Kirkpatrick
99b930f47e
refactor: move styles to styles directory
7 years ago
Tom Kirkpatrick
f85aa10cff
style: remove redundant font declarations
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
Tom Kirkpatrick
da2d6955e3
perf(bundle-size): remove moment-timezone dep
Shaves 176.88k of final renderer.prod.js bundle size.
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
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
7 years ago
Ben Woosley
07facd5d0d
On the receive modal, label the address Testnet when appropriate
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
Ben Woosley
49b1633341
Inline walletProps into mergeProps
More succinct and easier to find by grep.
7 years ago
Ben Woosley
037f351b59
Drop the ModalRoot component
Given we have no active use of it, and the trend seems to be toward independent
modal components, eg. ContactModal, let's drop it.
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
Tom Kirkpatrick
e586dc5bb8
fix(pay-form): ensure payment form shows on top
This fixes an issue where the payment form - initiated from an external
request payment link - would display under the connect dialog if that was
already open. This change ensures that the payment form always displays
on the top most layer.
Fix #284
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
14f73c6472
fix(lint): fix lint errors
7 years ago
Jack Mallers
d0d562808c
feature(activity-search): implement new activity search
7 years ago
Jack Mallers
cc3cfbcbdc
fix(currencyName): add currencyName to all activity
7 years ago
Jack Mallers
3a1d008466
fix(lint): fix lint errors
7 years ago
Jack Mallers
e661f9b371
feature(groupAll): abstract grouping logic out and apply it to all filters
7 years ago
Jack Mallers
e85a9b2dd1
fix(activity): grouped data by day and redesign payment, invoice and transaction components
7 years ago
Jack Mallers
1e7d992edd
fix(wallet-header): wire up currency switching from the home page wallet header
7 years ago
Jack Mallers
0ea5cc743e
fix(lint/tests): fix lint errors and gen new snapshots
7 years ago
Jack Mallers
a2e0f48bb7
feature(close-channel): wire up close channel to UI
7 years ago
Jack Mallers
920cd7edd2
fix(ReceiveMOdal): remove hardcoded alias and replace with dynamic alias or pubkey
7 years ago
Jack Mallers
efc5cf0f02
fix(onchain): fix the UX for on-chain payments to be like the UX for LN payments
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
de9dffb28c
feature(ConnectManually): wire up ConnectManually component
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
Ben Woosley
0a48b1811c
Fix the transaction scrollbar to consistently reveal all the transactions
Fixes #311
7 years ago
odb366
eca3a7189b
scrollbar-fix2
7 years ago
Jack Mallers
f8e15e92e3
fix(lint): fix lint errors
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
54c31e2de3
feature(wallet): build new wallet modal/refactor current wallet component
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