Skip to content

Nodes: refresh list after adding/delete node#776

Merged
kaloudis merged 3 commits intoZeusLN:masterfrom
kaloudis:nodes-refresh
Feb 7, 2022
Merged

Nodes: refresh list after adding/delete node#776
kaloudis merged 3 commits intoZeusLN:masterfrom
kaloudis:nodes-refresh

Conversation

@kaloudis
Copy link
Copy Markdown
Contributor

@kaloudis kaloudis commented Feb 7, 2022

No description provided.

@kaloudis kaloudis changed the title Nodes: refresh when passed new props Nodes: refresh after adding new node Feb 7, 2022
@deregs
Copy link
Copy Markdown
Contributor

deregs commented Feb 7, 2022

Noticed this issue when adding the copy node button. I tested this change on iphone 11 Pro with iOS 13.7 and it's still not refreshing the list of nodes after adding a new one. The new node only appears if I press back and then click on the nodes list again.

@kaloudis
Copy link
Copy Markdown
Contributor Author

kaloudis commented Feb 7, 2022

@deregs thanks for testing! needed to do some refactoring. please give it a go when you have a chance.

@kaloudis kaloudis changed the title Nodes: refresh after adding new node Nodes: refresh list after adding/delete node Feb 7, 2022
@deregs
Copy link
Copy Markdown
Contributor

deregs commented Feb 7, 2022

works great now!

@kaloudis kaloudis merged commit 6af5164 into ZeusLN:master Feb 7, 2022
kaloudis added a commit that referenced this pull request Feb 8, 2022
* Send: make sure destination field doesn't autocorrect (#771)

* Wallet: modify style of Tor restart button (#772)

* Lockscreen enhancements (#773)

* Give autofocus to password field

* Put field in upper half of screen to not get cut off by keyboards

* Update lockscreen colors to match main theme

* Lockscreen: use TextInput component

* Nodes: refresh list after adding/delete node (#776)

* Nodes: refresh when passed new props

* Nodes: refactor node list fetching logic

* Take user back to nodes list after deleting node

* Enforce modal warning text color (#778)

* iOS Version Bump: v0.6.0-rc2 (b) (#779)
kaloudis added a commit that referenced this pull request Feb 18, 2022
* Send: make sure destination field doesn't autocorrect (#771)

* Wallet: modify style of Tor restart button (#772)

* Lockscreen enhancements (#773)

* Give autofocus to password field

* Put field in upper half of screen to not get cut off by keyboards

* Update lockscreen colors to match main theme

* Lockscreen: use TextInput component

* Nodes: refresh list after adding/delete node (#776)

* Nodes: refresh when passed new props

* Nodes: refactor node list fetching logic

* Take user back to nodes list after deleting node

* Enforce modal warning text color (#778)

* iOS Version Bump: v0.6.0-rc2 (b) (#779)

* Let users set language on first Splash view (#795)

* Let users set language on first Splash view

* Add quaternary style for Button component

* Update IntroSplash view styling

* Language: make sure English is checked and highlighted if no language set yet

* TextInput: add support for secure text entry (#782)

* Channels: use LoadingIndicator component (#784)

* Activity Navigation (#793)

* Go back to Activity when navigating back on activity items

* Reload activity when returning from activity filters view

* Update header styles (#799)

* Fix support for web URLs on Android (#794)

* QRCodeScanner: new style (#796)

* QA Loading Screen (#797)

* QA Loading Screen

* Connecting to node: fix width of Settings button

* Tweak cert warning modal (#798)

* Set Lato as default font (#800)

* Set Lato as default font

* Add Lato to remaining Text instances

* Add Lato-Bold

* Update LNURL styles (#801)

* Zero amount invoices (#802)

* Allow users to specify amounts for zero amount invoices

* Allow success screens to scroll when dealing with LNURL data

* LND: send custom amount as number

* Fix padding for QR components

* Fix node uri processing on handleAnything

* Intro tour: accomodate more resolutions (#803)

* LND: set default fee limit (#804)

* LNDHub: fix balance refresh (#806)

LNDHub: only fetch Lightning balance

* QR button padding (#807)

* Fix display of BTC units (#808)

* Send: fix fiat rate (#809)

* Send+Receive: unify rate behavior (#810)

* Optimize handleAnything (#811)

* New Splash Screen (#812)

* New iOS splash screen

* Android: update splash launcher

* Restore Wallet view

* Language/Currency: make sure scroll lists don't get cut off (#814)

* Show Zeus mascot head when only one node is saved (#813)

* Theme tweaks (#815)

* Tighten up light theme

* Add BPM theme

* Orange theme

* Orange theme

* Nodes: move Add Node button to top right corner

* Refine orange theme and define outbound and inbound values for all

* Routing: update colors on timeframe tabs

* Remove themeColor calls from stylesheets

* Button: add noUppercase prop (#816)

* Change mascot contact icon to SVG (#817)

* Change mascot contact icon to SVG

* Use SVG for all identicons

* ScanBTCPayConfig: handle Tor URLs (#818)

* added tor support for btcpay scans

* prettier changes

* Make all instance of NodeIdenticon rounded (#821)

* LND: allow self payment (#822)

* Send: fix AMP switch on iOS (#823)

* Payment Request: fix AMP switch (#825)

* Tor: properly handle SendPaymentV2 call (#826)

* Update style of Main Pane (#827)

* Update button styles (#828)

* ZEUS-819: Flip the use tor switch on automatically when scanning tor url (#829)

* ZEUS-819: Flip the use tor switch on automatically when scanning tor url

* Handle BTCPay configs

* Bump react-native-tor to v0.1.8 (#830)

* LNDConnectConfigQRScanner: auto-toggle Tor (#831)

* fixed keyboard collapse on set fees form (#834)

* fixed keyboard collapse on set fees form

* changed set fees form to use scrollview

* prettier

* Remove linear gradient (#841)

* iOS: DropdownSetting: set bg color appropriately across themes (#842)

* Intro tour enhancements: iPod Touch 7th gen (#844)

Intro tour enhancements

undo wallet changes

Remove unused Pagination style

* SetFeesForm: remove preset values (#845)

* Connecting: fix Settings button style (#843)

* Connecting: fix Settings button style

* Make sure button title is always white

* react-native-linear-gradient cleanup (#851)

* Bump url-parse from 1.5.4 to 1.5.7 (#849)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.4 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.4...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* V0.6.0 rc3 regressions (#852)

* Version bump: v0.6.0-rc3

* Bump iOS build number

* iOS: bump build version

* iOS build version bump

* iOS: bump build version

* iOS: bump build version

* iOS: build version bump

* iOS: bump build version

* iOS: bump build version number

* iOS: bump build version

* Android: maintain mascot for launcher screen

* Button style regressions

* Settings regressions

* Version bump: v0.6.0-rc3 (#805)

* Version bump: v0.6.0-rc3

* Bump iOS build number

* iOS: bump build version

* iOS build version bump

* iOS: bump build version

* iOS: bump build version

* iOS: build version bump

* iOS: bump build version

* iOS: bump build version number

* iOS: bump build version

* iOS: bump build version

* v0.6.0-rc3 iOS build bump (#854)

* iOS: bump build version (#855)

Co-authored-by: deregs <93104057+deregs@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants