Comment 2 for bug 1951893

Revision history for this message
Caleb Ellis (caleb-ellis) wrote :

It's true we only deal with one type of node at a time, but it's useful to know what type that is when we're dealing with them. This is true regardless of whether we're in the list or details pages.

Right now I'm in the process of refactoring some of our machine list UI code to be able to work for all node types, but for some things (particularly regarding node actions) we need to know the node type. For example the machine "clone" action which works inverse to the rest - we need to know that the node is a machine before we can check that it has the correct status (Ready or Failed testing).

To be clear this is something we're already doing, just using "link_type" instead of "node_type".