sciapp / sampledb

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

Option to display lists objects by default where I am the user #56

Open ju-bar opened 9 months ago

ju-bar commented 9 months ago

This is a request for an option to improve convenience of list displays. 1) Is there or could you add a clickable filter that adds &related_user=? 2) Could this addition for lists of specific objects like samples or measurement be set by default (maybe by a flag in preferences)?

FlorianRhiem commented 9 months ago

Hey Juri,

thanks for the suggestions! Currently that filter is only accessible in the UI via the user profile page, but I don't see why we can't add it to the filters for the object list. You can configure the default filters you want to apply to the object list, however these filters currently only affect the general object list, not the sub lists by action type. I'll look into it!

FlorianRhiem commented 9 months ago

As part of version 0.26.0, you can now filter by user activity directly from the object list. If you then click save, the filters will also be used in other object lists, e.g. the list of samples. Screenshot 2024-02-13 at 10-11-40 Objects — iffSamples