jamaljsr
31e178a1fc
feat(channels): warn when opening multiple channels to the same node
6 years ago
Tom Kirkpatrick
2c194517ed
feat(wallet): show node public address if set
Show the node public address if known to make it easier to share node
details with other users. Add the data in both the Node address text
field as well as the node address QR code.
6 years ago
Tom Kirkpatrick
a63bbacd40
fix(ui): show wallet once balances are loaded
Due to a recent change in the way that we handle numeric data from gRPC
we need to be explicit when checking for unset/null values.
6 years ago
Jack Mallers
8548b744ec
feat(payment): add 60 second payment timeout
In this commit we introduce a 60 second timeout for LN payments. This addresses the issue of infinitely hanging LN payments and improves the UX. The UI now has a 60 second countdown where Zap will clear the payment if it is not successfully routed
6 years ago
jamaljsr
5ecc1c5cdb
feat(toggle-expired-requests): add button to show/hide expired requests
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
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
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
bc15832f1f
feat(settings): implement settings component
7 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
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
a6439f1069
fix(activity): correct tooltips in activity log
Fix a bug where we were showing transaction amounts as transaction fee.
Fix #662
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
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