Dynamic node list - #474
Conversation
|
Thanks for the update 🙏🏼 . To make the implementation easier for the team to maintain in the future, I suggest moving this logic into the existing services:
Keeping the logic inside the existing service structure should make the behavior clearer and easier to test and maintain. This is the suggested direction rather than a required implementation. Please feel free to propose another approach that keeps node-loading responsibility within nodes.service.js. |
e409edf to
5a2776e
Compare
|
Thanks for the review. |
Thank you for the update 👍🏼 Great work! One more thing to consider: |
|
Thank you for the review. |
AnthonyLaw
left a comment
There was a problem hiding this comment.
Good work!
I added some feeback, feel free take a look 🙏🏼
|
Thanks for the review. |
Great job! |
|
Hi @curupo. Thank you for your changes. Great job! 👍 What I've found: 1. Node list is not visible on first loginSteps to reproduce:
screen_record.mp4@AnthonyLaw please verify the analysis below. Root cause (AI): Suggested fix (AI — please verify): wrap the assignment in let apply = (nodes) => {
if (!isUsableNodeList(nodes)) return null;
// Assign inside a digest, the fetch above resolves outside of one
this._$timeout(() => {
this._Wallet.nodes = nodes;
});
return nodes;
};2. Default node is picked from the hardcoded list (optional)In the video the wallet connects to 3. Hardcoded node list needs updating (separate PR)@AnthonyLaw, we should also consider refreshing the hardcoded node list in a separate PR - most of those nodes are no longer active. |
|
@cryptoBeliever, thank you for the review.
|
|
Thank you, great work 👍 |
b7aefa8 to
cb684f0
Compare
No description provided.