Ben Woosley
8e06ad5105
fix(eslint-import): Fix that eslint-plugin-import was not active
For the node import resolver, "paths" is meant to be absolute paths
for global modules.
https://github.com/benmosher/eslint-plugin-import/tree/master/resolvers/node
7 years ago
Ben Woosley
e110e0112c
fix(eslint-flowtypes): Enable plugin:flowtype/recommended
Ignore all of flow-typed
The module_vx.x.x.js's purpose is mysterious and it's causing lint failures on
CI. Excluding it seems reasonable.
7 years ago
Ben Woosley
b3a4a3683c
fix(react-eslint): Enable the recommended react eslint rules
Previously was included but not enabled. The errors fixed are:
app/routes.js:9:16
✖ 9:16 Component definition is missing display name react/display-name
app/routes/contacts/components/Contacts.js:151:49
✖ 151:49 Missing "key" prop for element in iterator react/jsx-key
✖ 167:22 Missing "key" prop for element in iterator react/jsx-key
7 years ago
Jack Mallers
f6b413d7bb
fix(lint): fix lint errors
7 years ago
Jack Mallers
0f55af6129
fix(payment): setTimeout for 10 seconds after sending a payment. if LND hangs while sending a payment we wont show the loading screen forever lol we'll remove it and show an error after 10 seconds
7 years ago
Jack Mallers
674d21b3e0
fix(contacts-form): show loading spinner next to manual form when there are loading channels so the user has some feedback from the manual form
7 years ago
Jack Mallers
ec0a692983
fix(contacts-form): by default show the first 20 nodes when opening the contacts form
7 years ago
Jack Mallers
a0838c87cd
fix(contacts-form): if there is an @ in the search we assume they are pasting pubkey@host format and ignore the host, searching only for the pubkey to the left of the @
7 years ago
dfat
6868bd34a7
fix(network-loading-css): Increase z-index on Form modal
7 years ago
Kehlmann, Matthew
73cc0b25e2
fix(number-input-pinwheel): Whitespace
7 years ago
Kehlmann, Matthew
a31bc0ef22
fix(number-input-pinwheel): Fix rebase merge error
7 years ago
Kehlmann, Matthew
a1bbd193f4
fix(number-input-pinwheel): Whitespace fix
7 years ago
Kehlmann, Matthew
fcf0ee2c70
fix(number-input-pinwheel): Use SASS ampersand to avoid repeating selector info
7 years ago
Kehlmann, Matthew
e0251399cd
fix(number-input-pinwheel): Remove pinwheel arrows that were showing in the amount field of the request and pay forms
7 years ago
Jack Mallers
774fa85edc
fix(zap): remove old code commented out
7 years ago
Jack Mallers
181d308441
feature(zap): allow app to be resizable with a min height/width
7 years ago
Ben Woosley
3b5e118a23
fix(amount-input-width): Size the PayForm amount input to hold at least 2 chars
Because the "." of "0." is not propagated via the JS, so not in the size of
the amount string.
7 years ago
Ben Woosley
335083886c
fix(payment-form-errors): Move PayForm amount error message below the field
This is consistent with the other field and avoids overlap formatting issues.
Fixes #174
7 years ago
Kehlmann, Matthew
a2a26b66c5
fix(number-input-pinwheel): Whitespace fix
7 years ago
Kehlmann, Matthew
3721b16efc
fix(number-input-pinwheel): Use SASS ampersand to avoid repeating selector info
7 years ago
Ben Woosley
16d05b40cd
fix(electron-settings): Drop ineffectual nodeintegration setting
The actual nodeintegration setting is nested under webPreferences:
https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
If you set it there, Zap doesn't run, because process is no longer available in
app.html. Use of process in app.html is a barrier to other security settings -
sandbox and contextIsolation.
https://github.com/electron/electron/blob/master/docs/tutorial/security.md#checklist
7 years ago
Ben Woosley
eb04d12a92
enhance(channels): Extract blockExplorer util
To handle shelling out to the transaction display
This was previously done inline via electron.shell.openExternal. Consolidating
it in the utility DRYs up the code both in terms of the base url and the path
building.
Note there is also code in reducers/info.js relating to:
infoSelectors.explorerLinkBase, but it seems to be unused currently.
7 years ago
Kehlmann, Matthew
ea5901e4e5
fix(number-input-pinwheel): Remove pinwheel arrows that were showing in the amount field of the request and pay forms
7 years ago
Jack Mallers
9344074e8a
fix(modal-close): move back to the thinner modal close icons
7 years ago
Jack Mallers
19a86be5df
fix(lint): fix linting errors
7 years ago
Jack Mallers
c668757522
fix(pending-contacts): remove time estimate for pending contacts as blocks_till_open was removed from LND
7 years ago
Jack Mallers
200b8cad09
fix(contacts): force close offline contacts
7 years ago
Jack Mallers
962d79bb88
fix(lint): fix linting errors
7 years ago
Jack Mallers
4f97d1311b
fix(lint): fix lint errors
7 years ago
Jack Mallers
e994b3481d
fix(contacts): hard code 1 conf for channels
7 years ago
Jack Mallers
41cd59fc09
fix(contacts): close contact modal after successfully closing the channel
7 years ago
Jack Mallers
e9b5acd70f
fix(contacts): update contacts styles
7 years ago
Jack Mallers
ff0ef1f80b
feature(contacts): close contact and close contact loading UX
7 years ago
Jack Mallers
4eddc02348
feature(contacts): add channelNodes selector
7 years ago
Jack Mallers
c81e9766e5
feature(contacts): contact modal
7 years ago
Jack Mallers
75673ca5a9
fix(contacts): small bug fixes with contacts error and UI
7 years ago
Jack Mallers
bd2f1e7b0d
feature(contacts): loading state while adding a contact
7 years ago
Jack Mallers
a1aad497d6
fix(contacts): fix add button styles
7 years ago
Jack Mallers
970dfdd98e
fix(contacts): fix some pending/closing contacts bugs
7 years ago
Jack Mallers
2c2e63235e
feature(contacts): add manual form
7 years ago
Jack Mallers
9a31c68b17
feature(contacts): editable contact capacity
7 years ago
Jack Mallers
b56cf3bf7d
fix(contacts): rename friend functions to contacts
7 years ago
Jack Mallers
e33a3432bd
fix(contacts): rename contacts route
7 years ago
Jack Mallers
fc14bc66b9
fix(contacts): rename component folder to contacts
7 years ago
Jack Mallers
b514b030df
feature(contacts): add filter and refresh to contacts
7 years ago
Jack Mallers
30649d08a2
fetaure(contacts): added search to contacts
7 years ago
Jack Mallers
1b14242e93
feature(contacts): start contacts feature
7 years ago
Jack Mallers
bcb158b417
feature(friends): create friends route and start implementing friends list
7 years ago
Ben Woosley
62fe25f6f0
fix(whitespace): Fix some whitespace lint errors
7 years ago
Jack Mallers
e793efa1ed
fix(lint): fix linting errors
7 years ago