Add first implementation of delete functionality to insight page
Created by: vovakulikov
Closes https://github.com/sourcegraph/sourcegraph/issues/20917
This PR is about adding deleting functionality to code insights.
Also this PR is a first of edit/delete story
- This PR
- Code insight edit functionality
Known issues
- Due to the nature of the extension API and how our extension works, any updates to the user settings cause all the information on the page to be re-fetched. So right after users have deleted insight, they have to wait for all insights to be re-fetched again.