In bulk visibility change design, we have rows of neurons displayed. There is a similar neuron util getNeuronTags but it provides some extra data. I would like to have exact data which i will display in these rows.
I want to have a method isPrivateNeuron to verify if neurons are private !isPublicNeuron doesn't work because visibiltiy can be undefined or also Unspecified for upcoming bulk visibiltiy changes.
Changes
Add createNeuronNeuronVisibilityRowData and isPrivateNeuron neuron utils
create a new method getNeuronTagUnrelatedToController to reutilise part of getNeuronTags
Add neuron-visibility-row type
Tests
Add tests to cover new methods in neuron.utils
Todos
[ ] Add entry to changelog (if necessary).
not necessary
Motivation
In bulk visibility change design, we have rows of neurons displayed. There is a similar neuron util getNeuronTags but it provides some extra data. I would like to have exact data which i will display in these rows.
I want to have a method isPrivateNeuron to verify if neurons are private !isPublicNeuron doesn't work because visibiltiy can be undefined or also Unspecified for upcoming bulk visibiltiy changes.
Changes
Tests
Add tests to cover new methods in neuron.utils
Todos