Skip to content

Add 'inactive' state to the extension action items

Created by: AlicjaSuska

Part of the tracking issue #16165, RFC 250

Description

Action items can be inactive and still visible in the action items bar. Inactive state appears when the extension is not working for the particular view or file, for example:

  • Go extension on non-Go files
  • Git Blame on search results pages
  • Codecov when there is no info about code coverage

Change in the behavior: currently, action items disappear in the situations mentioned above.

Design details

Icon of the inactive action item should be in the disabled state:

  • if the extension has the icon - it should be desaturated
  • if the extension uses our default icon, it should be grey (attention: different colors for light and dark themes)