Jack Mallers
6a7ed61ef3
fix(channels): fetch channels after peer connections
6 years ago
Tom Kirkpatrick
085f81d346
fix(wallet): fix console error in request form
Ensure that the FormattedNumber component gets passed a valid number.
If we don't have a value, the the value to 0.
6 years ago
Jack Mallers
b1b44489e5
fix(channels): fetch in activity mount not app
6 years ago
Tom Kirkpatrick
9859ac2eec
style(loading): fade out loading bolt
Show the loading bolt for a little longer and fade it out when it
unmounts.
6 years ago
Tom Kirkpatrick
ce5bf30f3e
fix(channels): display currencyName in network
Display the currency name (BTC/tBTC etc) next to the amount that shows
at the top of the network view.
6 years ago
Jack Mallers
980baaeafd
fix(channels): use currencyName in req_limit
6 years ago
Tom Kirkpatrick
ba361ee1cf
fix(wallet): hide zero channel balance
If the total channel balance is zero, do not show the channel balance at
the top of the network view as the zero doesn't convey any useful
information and looks strange.
6 years ago
Jack Mallers
f7964c8686
fix(theme): make compatible with multi-language
6 years ago
Tom Kirkpatrick
70bfa6cb73
feat(i18n): use local currency display rules
Use `intl.formattedNumber` to display currency values to ensure that
currencies are displayed using the formatting rules that match the
user's locale.
6 years ago
Tom Kirkpatrick
27e46ccde8
feat(i18n): detect best-fit user currency
Use the locale information in order to select a best fit default
currency for the user.
6 years ago
Tom Kirkpatrick
aedd1ee233
feat(i18n): initial multi-language support
6 years ago
Tom Kirkpatrick
54ed782ff5
refactor(general): remove contactModal components
6 years ago
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
c00321845c
refactor(fs): consolidate containers & components
Move all presentational components to the top level components directory
and all container components to the top level containers directory.
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
Tom Kirkpatrick
eb71b6c579
fix(ui): autofocus and clear pay and request forms
When the payment and request forms open ensure that the forms are empty
and 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
746038cc03
feat(onboarding): add connection type descriptions
Add descriptions to each connection type to help users understand what
each of the different options do.
Fix #676
6 years ago
Jack Mallers
161fec0133
fix(pay): dont focus on value input
6 years ago
Tom Kirkpatrick
3c5337ea25
feat(grpc): ability to unlock remote wallet
If when connecting to a remote wallet we detect that it is locked
initialise the wallet unlocker to allow users to unlock their remote
wallets.
Fix #543
6 years ago
Jack Mallers
7d7e6f8df6
feat(testnet): add pill to UI on testnet
This commit adds a "Testnet" text UI next to our logo to show the user they are on the testnet network
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
Adam Mashrique
b769f724ae
fix(qrcode): invert colors and add 2 px border
Fix for a more standard QR code color scheme for compatibility with QR
scanners, particularly Android ones.
6 years ago
Tom Kirkpatrick
ca118d7c27
chore(deps): update all lint related packages
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
Jack Mallers
4eb140dd42
fix(channels): closing channels link to closing_txid
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
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
bc15832f1f
feat(settings): implement settings component
7 years ago
Jack Mallers
b5a6e4c270
fix(network): ensure alias for closing channels
6 years ago
Evan Kaloudis
da1a53ecc8
feat(errors): create a util for making error messages more user-friendly
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
Data Courier
d51e39f407
feat(components): add new AmountInput component
Add a new AmountInput component to render an input field for entering
bitcoin denominated amounts. Has special handling for bitcoin / sats /
bits to ensure that only valid amounts can be entered and that the
formatting looks visually correct.
7 years ago
Tom Kirkpatrick
43de5b1f69
fix(ui): increase line-height in seed reentry form
Due to differences in font rendering cross-platform set line-height to
ensure consistent experience on mac/linux.
Fix #665
6 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
9ab16e3fb3
fix(lnd): prevent full chain sync on wallet init
Do not set `recovery_window: 250` in our call to `initWallet` when
creating a new wallet, as this causes lnd to scan the entire chain for
non-existent funds which slows the lnd sync process.
See https://github.com/lightningnetwork/lnd/issues/1744
6 years ago
Tom Kirkpatrick
1671610177
feat(sync): more detailed sync progress
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
sevcik
2fa918c8eb
feat(onboarding): allow login with Enter key press
7 years ago
terencechow
ace267ba86
fix(copy): fix small typo re adding funds to network
7 years ago
Jack Mallers
93604f21b0
fix(copy): fix small typo in login copy
7 years ago
Tom Kirkpatrick
0de2b7d2b0
fix(onboarding): show existing wallet location
If we find an existing wallet for a user during the onboarding process
let the user know where it is.
7 years ago
Tom Kirkpatrick
d2f53aa6fd
fix(onboarding): improve existing wallet message
Improve the wording of the message users see when they go through
onboarding and we detect that they already have an existing wallet.
7 years ago