Feedback on collection web UI
On a workspace page (eg https://debusine.debian.net/workspace/System/view/):
-
IMO there should be no list at all on this page since you already have a dedicated page (https://debusine.debian.net/workspace/System/collection/) -
instead you could have a stats about collections, how many collections for each "category" -
and have a direct link to a "by category" filtered of https://debusine.debian.net/workspace/System/collection/ (in the same spirit of your by-category artifact summary on the collection page)
On the collection-list page (eg https://debusine.debian.net/workspace/System/collection/):
-
it's probably helpful to hide "debusine:workflow-internal" collections by default as they are pretty much uninteresting for end users (and would likely overwhelm the list in normal use cases) -
"This is a list of available collections you can access:" --> "This is a list of collections you can access from the WORKSPACE workspace:" or "This is the list of collections available in the WORKSPACE workspace:" (depending on whether you include inherited lists... but I would not really expect inherited collections to appear here, but maybe there can be an optional parameter to show inherited collections too)
On a collection page (eg https://debusine.debian.net/workspace/System/collection/debian:environments/debian/):
-
Replace "Search collection" by "Browse collection" ? -
Can we have links on each artifact category to start the "search/browse" with a filtered view by the corresponding category? -
Do you provide similar stats for "collection-based items" and "bare-data items" ? (I don't think we have examples of this right now, so I can't check) -
Show collection items (plain list, unpaginated) -
Show list of bare data items (YAGNI: plain list for now)
-
- Can we have stats about active and removed items (for all 3 kind of items)? (we probably have those since I see that the collections are configured for full history retention)
- I don't know if we want to differentiate between removed items where we have everything and those where we only have meta-data
- Can we have ways to browse/search the removed/historical items ?
-
Add switch in browse to include removed/historical items -
Add stats about removed/historical items alongside those about active items
-
On a browse collection page (eg https://debusine.debian.net/workspace/System/collection/debian:suite/trixie/search/):
- What happens if we have collection and bare-data items?
-
I would make the view "name centered" and have a column that could contain things like "Artifact: debian:binary-package" or "Collection: debian:suite" or "Bare data" and each of artifact/collection/bare data would be a link to the corresponding web view -
The "name" column should also link to a view that would display detailed information about the -
It could be interesting to display the "created_at" field mainly to be able to sort the list by that value and see the latest additions
-
- If I filter the list in some way (eg display a single category), when I click on the "arrows" to sort against a given column, I lose the active filter. It should be kept.
On a new collection item page:
-
We want to be able to see all the collection item fields, and in particular the "data" one and the various timestamps/users.
/cc @enrico
Edited by Enrico Zini