fix: Code suggestion gutter icons in Web IDE
Description
This MR contains two bug fixes
-
It fixes the Code Suggestions gutter status icon (introduced in !1222 (merged)) in the Web IDE. The gutter icon doesn't load in the Web IDE because
context.asAbsolutePath
doesn't work in Web Extensions. -
It also makes sure that the gutter icon doesn't persist across tabs
Related Issues
How has this been tested?
See the demo video for instructions on how to test the gutter icon bug of persisting across tabs.
To test in the Web IDE:
- Load this branch in the Web IDE's git submodule of the VSCode Workflow extension.
- Load the Web IDE using
yarn start:example
- When typing in the Web IDE, the gutter icon for code suggestions should appear (in supported languages).
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Enrique Alcántara