Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Reachable/Unreachable Nodes and Delete Nodes Screens #301

Closed

Conversation

germanferrero
Copy link
Contributor

@germanferrero germanferrero commented Mar 23, 2021

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
Contributor

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

@germanferrero
Copy link
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
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
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
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
Contributor

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

Copy link
Contributor

@nicopace nicopace left a comment

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
Copy link
Contributor

nicopace commented Apr 9, 2021

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

@germanferrero
Copy link
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
Copy link
Contributor

spiccinini commented Apr 15, 2021

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
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