docker-registry-frontend
                                
                                 docker-registry-frontend copied to clipboard
                                
                                    docker-registry-frontend copied to clipboard
                            
                            
                            
                        Feature Request: paginate by repo name
This is, by far, the most comprehensive and easy to use registry frontend I've tried! My one wish for it would be to have a tree view with collapsing nodes for each repo, or some other convenient view of just the repo namespaces. Thanks!!
@guruvan thank you.
Please be more specific about what your idea is. The title says "paginate" while the rest of the feature request talks about convenient views (e.g. tree views). What shall be visible inside the tree? Can you please draw a sketch and post it here, so we have something to discuss?
Thank you in advance.
We can surely talk about pagination in the list of repos or tags, but please specify exactly what you're aiming at.
I see more problems with a tree view than benefits:
- The folding and unfolding of branches in the tree cannot be represented in using a URI. Now every site (except the image ancestry list) has it's own URI. This is good if you want to share links. Currently I'm using the hashbang URL scheme which isn't very practical for SEO but since we're talking about private docker registries, this shouldn't be that big of a problem.
- For a smooth user experience with as little delay as possible, the tree view would have to preload the content for each folding step. At first sight this sounds to complicated to me and the browser memory would be under heavy load as well.
Thank for the quick reply!! Sorry if i was unclear. We've got dozens of repos and dozens of images in each repo, so the list of images available in the registry is somewhat unmanageable, especially for unfamiliar users.
The tree view was a second thought - having not much angular experience, I've no idea which is easier on the coder, browser, or sever. I can see how this is quite a bit more expensive, though. And, yes, these are definitely private registries, so SEO isn't an issue.
It'd be great if http://registry-frontend/#/repositories listed just the repo names, repo name link would bring user to http://registry-frontend/#/repositories/repo listing images image name link would bring user to http://registry-frontend/#/repositories/repo/image
An example from an existing project is https://github.com/worksap-ate/docker-registry-ui. (working demo http://worksap-ate.github.io/docker-registry-ui/#/ ) - which, btw, is quite excellent, but lacks the detailed info for the images/tags and image history that you have built in.
Thanks again!!
@guruvan As much as I would like to implement repository pagination in the frontend, there currently is an issue with the docker-registry itself that needs to be clarified first.
Thanks @kwk - The new registry in docker/distribution looks much more promising - haven't tried it yet, but there appears to be no further development on the older python based registry. Have you looked at the v2 API?