Skip to content

Add Reachable/Unreachable Nodes and Delete Nodes Screens#301

Closed
germanferrero wants to merge 13 commits into
libremesh:developfrom
germanferrero:add-network-nodes
Closed

Add Reachable/Unreachable Nodes and Delete Nodes Screens#301
germanferrero wants to merge 13 commits into
libremesh:developfrom
germanferrero:add-network-nodes

Conversation

@germanferrero

@germanferrero germanferrero commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

This PR is rebased with this other one #309, checkout the latter first.

Adds Reachable/Unreachable Screen and Delete Nodes from this proposal.

Storybook delete nodes: https://germanferrero.github.io/lime-app/?path=/story/containers-remove-nodes--delete-nodes-page

Storybook reachable nodes: https://germanferrero.github.io/lime-app/?path=/story/containers-reachablenodes--reachable-nodes-page

Basically one volatile shared state db (as usual) is used to know the list of connected nodes and one persistent shared state db (new feature) is used to know the complete list of network nodes.

@nicopace

Copy link
Copy Markdown
Contributor

Is there a storybook place to check into this? thanks!

@germanferrero

Copy link
Copy Markdown
Contributor Author

Is there a storybook place to check into this? thanks!

Sure, thanks for asking: https://germanferrero.github.io/lime-app/?path=/story/containers-network-nodes--network-nodes-page

@nicopace

Copy link
Copy Markdown
Contributor

in the "Delete Nodes Page" the interaction in the screen appears when you select at least one node. if no node is selected, no clear call to action is defined.

A way to fix it would be to have it present all the time, and in the place of how many are selected, instruct the user to select something.

1 similar comment
@nicopace

Copy link
Copy Markdown
Contributor

in the "Delete Nodes Page" the interaction in the screen appears when you select at least one node. if no node is selected, no clear call to action is defined.

A way to fix it would be to have it present all the time, and in the place of how many are selected, instruct the user to select something.

@nicopace

Copy link
Copy Markdown
Contributor

it is not clear what the use of the connected/disconnected nodes view is...
Would be useful for the review to have the usecase at hand.

Thanks,

@spiccinini

Copy link
Copy Markdown
Contributor

This is related to this issue enhancement proposal libremesh/lime-packages#867

@nicopace nicopace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the contextualization!

@nicopace

nicopace commented Apr 9, 2021

Copy link
Copy Markdown
Contributor

Do you need anything for this branch to be merged @germanferrero ?

@germanferrero

Copy link
Copy Markdown
Contributor Author

in the "Delete Nodes Page" the interaction in the screen appears when you select at least one node. if no node is selected, no clear call to action is defined.

@nicopace I'm waiting to have a bit of time to address this

@spiccinini

spiccinini commented Apr 15, 2021

Copy link
Copy Markdown
Contributor

I have some feedback:
Make the nodes clickable (to go to each node lime-app page), this may be done using a "three dots" with a subemenu?

Add more information to each node in the list. I am not sure how it is best to do it but maybe we can add a button to display more information and select maybe only one column of information at a time to be desplayed. I mean, have the ability to display the hostname and its ipv4, or the hostname and its ipv6 (or board, or firmware version). This idea I think that does not shows too much information but it is very useful at the same time. Other way can be to use the "three dots" menu with "show ipv4", "show ipv6", "show ...", actions.
What do you think? too much work?

@germanferrero germanferrero marked this pull request as draft April 21, 2021 22:13
@germanferrero germanferrero changed the title Add network nodes Add Reachable/Unreachable Nodes and Delete Nodes Screens Apr 22, 2021
@germanferrero germanferrero marked this pull request as ready for review April 22, 2021 23:24
Also add a screen to mark disconnected nodes as gone

chore(translations): add spanish translations for network nodes

Also fix some texts keys

chore(reachable-nodes): rename plugin
Currently each plugin match one to one with a menu item.
We want one menu item for deleting nodes, so a plugin for it
is created. In the future it will be usefull to keep related
functionality in the same plugin, and allow them to have more
than one menu item associated.
@germanferrero

Copy link
Copy Markdown
Contributor Author

Included in #310

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.

3 participants