Tom Kirkpatrick
8325385453
fix(ui): ensure settings menu shows on top
Several of our elements were missing z-index property, causing them to
display incorrectly in the app.
Ensure that we import styles/variables.scss before attempting to use
the z() helper function that it provides.
6 years ago
dfat
f475eb01ec
style(scss): use function to apply z-index
This update uses a function to apply the z-index in each .scss file.
The function needs to iterate over a map of z-index values, so all of
the z-indexes end up in a single list and can be tracked more easily.
This allows us to manage all z-index values in a single location.
7 years ago
Tom Kirkpatrick
56229525ef
fix(channels): handle suggested nodes load failure
If we are unable to load the suggested nodes list, display a message
prompting the user to open channels.
Previously we would show an infinite spinner.
Fix #392
6 years ago
Jack Mallers
8949572b24
fix(add-channel): dont remove input text
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
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
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