Better error messages when transferring a group with packages or Docker images
From maintainer review of !18515 (merged) :
If user tries to transfer a group having tens (or hundreds) of projects, he would have to go through all of them to find which project contains NPM packages? I wonder of we could show at least project names to make it easier to fix them (but this may be tricky from UX point of view if there are many projects - maybe something like "Project X and Y other projects contains NPM packages"?)
When transferring a group with NPM packages or Docker images, the action is blocked and one of the following error messages are displayed:
Cannot update the path because there are projects under this group that contain Docker images in their Container Registry. Please remove the images from your projects first and try again.
Group contains projects with NPM packages.
These error messages are not helpful if the user has a lot of projects. Basically, the user doesn't know which projects containers the Docker images or NPM packages.
- Display the projects containing Docker images or NPM packages
- Don't display all the projects containing Docker images or NPM packages as there can be a lot of them. Limit to the first 10 projects.