mercredi 18 novembre 2020

What is the common design for updating an object?

I created a react application for building a tree with nodes. every node has a properties, and a list of child nodes in the ui, I'm displaying the tree in the left side, and the properties and a table of branches - child nodes of the clicked node in the right side, that contains info about the connection type of the branch to its parent.

the user should be able to update the node properties and update the info of the branches nodes.

what is a better approach, display the properties as an inputs, so the user can change the properties, or put a button "update" which will open a modal-dialog form where the user can update the properties?

and what about the branches table? should every row in the table has a button "edit" that would open a form or should the user be able to update the branch properties from the table itself?




Aucun commentaire:

Enregistrer un commentaire