[IDE] Add file language icons to Duo context menu and tokens
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
When using the context menu, make it easier to identify file languages by using their respective icons instead of the generic document
icon.
See gitlab-org/editor-extensions/meta#223 for more details on the problem and user feedback.
Why it's important
This will make it easier for users to scan and understand context sources when using Duo in the IDE.
Proposal
Use the file icons already specified in Pajamas.
- Match file language icons when in the
File
category of the context menu (e.g.HTML, CSS, JS
) - Also use these new icons in the context tokens
Example
Description | Example |
---|---|
Context menu list | ![]() |
Context token | ![]() |
Important links
- Figma
- Prototype iteration 3 (to illustrate the concept, not a 1:1 spec)
Edited by 🤖 GitLab Bot 🤖