singularityhub / sregistry

server for storage and management of singularity images
https://singularityhub.github.io/sregistry
Mozilla Public License 2.0
103 stars 42 forks source link

Add/container descriptions #382

Closed vsoch closed 1 year ago

vsoch commented 2 years ago

This will add support for containers to have descriptions to close #381. We add the description with the container metadata (a json field) so no additional migrations to the database are necessary. Specifically, on the container details page if a user is an owner and has edit permission, they see an input with an update button: Screenshot 2021-11-10 at 21-56-00 sregistry singularity registry

Otherwise they just see the description, verbatim: Screenshot 2021-11-10 at 21-56-11 sregistry singularity registry

And the description (before truncation by the table) is added to the collections table:

Screenshot 2021-11-10 at 22-00-14 sregistry singularity registry

xiaojinghu93 commented 2 years ago

Wow, @vsoch, thank you so much! This new feature is awesome! Now we can move all the detailed info into the description area and that's greatly helpful.

vsoch commented 2 years ago

@xiaojinghu93 I just updated to merge with main (no functionality changes just the CHANGELOG.md and VERSION file). Have you tested this locally and it is to your liking and ready to merge on successful tests again?

vsoch commented 1 year ago

No response, closing.