Add uploadable project icons
It would be great to have icons for projects like the icons on the groups that are recently added to GL.
You could add the app-icon of a mobile app to the project to have a fast visible distinction between the projects.
These icons should be shown in front of the group and project names everywhere in gitlab (Dashboard, Project list, etc..)
Allow option to have per-repository logo same way groups have logos for easier navigation.
We are accepting merge requests for this based on Steven his awesome letter icon proposal. The implementation should have a bit smaller and thinner letter font, everything should be aligned and centerered properly and please take care of adapting truncating the text properly in all display modes.
Mike McLin commented
This has already been started: http://feedback.gitlab.com/forums/176466-general/suggestions/5433454-add-uploadable-project-icons
Great idea! Maybe if no project icon exists, it can default to the group icon if it's in a group?
Nigel Kukard commented
I really love this idea! good work Steven!
Steven is asking for UI help in https://github.com/gitlabhq/gitlabhq/pull/6422#issuecomment-38623836
Rafael, yes please make a new item for new requests.
Rafael Griffo Goes commented
It would be great to have the same feature (auto-generated avatar) on profile's picture, removing the need to check Gravatar on the internet.
Should I create another "I suggest you" ?
made a new PR #6422:
This has the generated logos.
UI must be checked and tests must be expanded.
Steven, it is very colorful but we don't mind. Maybe keep it as simple as possible for now. But feel free to experiment.
I will cleanup my code and push this today or this weekend.
What colors do you prefer?
It is now automatically calculated, but this can be a bit too colorful.
Ah I see. great
it is possible to let GL automatically choose from a few colors dependent on the project.
The main goal is to have different icons for all projects even when they start with the same letter.
I do not like this colorful letter buttons. I would prefer the style of the other default icons. simple gray with a white character
Steven Thonus commented
How about something like this:
Hi Steven, we discussed this and wanted to provide some feedback. As indicated before we not sure about the whole idea but there are also some practical obstacles:
1. In the current implementation the UI alignment is broken.
2. This need to be tested on multiple devices, for example when a project name is the maximum length the current implementation is distorted.
3. Not everyone has nice default icons that differ per project. Maybe we can show these people the first letter of the project as a workaround. But for example for us many projects start with a G. (not showing the icon will mean that testing the layout will become harder in the future because you have two scenarios, so that is no option either)
+1 for this feature. I would like to have it.
@Steven: thanks for this
@Steven: you rock =)
@ciro: this is also included in the PR.
pushing the new logo updates it. :-)
@Steven T: This just gave me a new idea:
why not make the project icon be included in the Git repository, and have a special name like ICON.xxx?
This would be analogous to the great README.xx is magic convention, and would require no view modification to upload the icon.
Funny fact: the *first* thing you see at the GitlabHQ README.md https://github.com/gitlabhq/gitlabhq#gitlab-self-hosted-git-management-software is... a project icon! Identical to the Group avatar.
Suggests that unconsciously the GitLab Team supports this feature =) (no disrespect meant ~~)
+1 for this.
A completed MR for this feature is in https://github.com/gitlabhq/gitlabhq/pull/6161