Icon usage in the Web IDE
There are a variety of issues with how we currently display icons in the Web IDE:
Icon content
- The "circle in rectangle" icon is being used both for the
Reviewtab as well as to signal a modified file.
| Review tab | Modified file |
|---|---|
![]() |
![]() |
- We use a Hamburger menu icon for
Unstaged changesand use the Hamburger icon + the previously mentioned circle forStaged changes. This is not what this icon usually stands for.
| Unstaged changes | Staged changes |
|---|---|
![]() |
![]() |
- There are multiple places where we add three dots (the kebab menu icon) to our UI: When hovering over a file in the
Editand theReviewtab, next to the dropdown icon, and also next to buttons for(un)stage all changesand forDiscard all changes. I can't make sense of what they stand for though.
| Dropdown | (Un)stage/discard all changes |
|---|---|
![]() |
![]() |
- The icon we use for
Discard all changesis a trash bin, an icon that usually stands for removing/deleting files, and we also use it for that purpose in the dropdown of the file overview. This could potentially create confusion.
| File overview | Discard all changes |
|---|---|
![]() |
![]() |
-
While both the plus and minus for added/deleted files make sense for the user, using a circle does not signal a modified file.
-
In the
Committab, additions and deletions use the plus/minus icon, but use the circle icon in theEditandReviewtab (https://gitlab.com/gitlab-org/gitlab-ce/issues/61335).
Icon colors
- The icons are yellow in both the
EditandReviewtab, but black in theCommittab.
| Edit | Review | Commit |
|---|---|---|
![]() |
![]() |
![]() |
- In the commit tab we invert the colors when a file is staged vs. unstaged. This change does get applied for the file tab in the edit mode, but not in the file overview.
Icon tooltips
- When I want to hover over an icon in the file overview to see its tooltip, a dropdown menu appears and the icon changes it position.
- When I want to hover over an icon in the file tab to see its tooltip, it disappears and the close button takes its place.
-
Only the
EditandReviewtab have tooltips for the icons, theCommittab does not have any icon tooltips. -
Currently only the icon for modified and for added files have a tooltip, the icon for deleted files does not have a tooltip.
cc @phikai @pslaughter @mishunov
Edited by Marcel van Remmerden











