Code suggestions: indicate status of extension & quickly enable and disable
Background
We will be launching AI assisted code suggestions as a pre-installed extension in the GitLab web IDE in May. This issue is part of an epic for the UX portion of this project.
What's this issue all about
Quickly enable and disable code suggestions
The desk and internal research indicated that a place to quickly enable and disable code suggestions was very important to users.
I propose the following 3 ways to disable/enable code suggestions:
Image | Description |
---|---|
Via the hotkey hints toolbar | |
Via the status bar | |
n/a |
Via the settings |
See the status of code suggestions
Status via hover
Upon hover | Image |
---|---|
Language not supported | |
Code suggestions are disabled | |
Code suggestions is down (?) | |
Code suggestions must be enabled by your GitLab group admin (?) |
Status via icons
Enabled | Disabled | Error (e.g. code suggestions down) |
---|---|---|
Implementation
- ++Enable/disable code suggestions command
- Enable/disable using hot bar
- Language not supported
- ++Show Code suggestions are disabled or enabled
- Code suggestions are down - error - Failure logic
- Add tooltip for status
Designs
- Figma file- under stop and start suggestions section
Edited by Alper Akgun