sciapp / sampledb

Sample and Measurement Metadata Database
https://scientific-it-systems.iffgit.fz-juelich.de/SampleDB/
MIT License
21 stars 11 forks source link

Groupemanagent: Add object directly to a group #49

Open dnlsch opened 1 year ago

dnlsch commented 1 year ago

I hope I have not overlooked it, but I miss an intuitive function or button to add a certain object to a group. As far as I understood the only way to add an object to a group is:

I think a common scenerio would be that I'm on the site of an object (e.g. ../objects/5) and want to add the object to an existing or even new group. Then I would expect a button like "Add to group" where I get a list of all available groups and can select the group to which I want to add the object. Alternatively I would like to "Create a new group". Maybe after clicking on such a button a modal opens with these functionalities. This way one can reduce the procedure from 6 to 3 click events.

grafik

maltedeckers commented 1 year ago

Object groups are realized as an custom action_type in the local SampleDB instance you are using and not a common SampleDB feature. Therefore they are handled as "normal" objects. I will think about better ways to integrate this functionality.