testing: menu contribution points around messages (#190298)

- Implements the proposal in #190277 by adding a `contextValue` to
  TestMessages added to test runs.
- Make the `FloatingClickMenu` reusable outside the editor, and uses
  it to implement a `testing/message/content` contribution point.

With this extensions can do things like:

![](https://memes.peet.io/img/23-08-68e2f9db-abc4-4717-9da6-698b002c481c.png)
This commit is contained in:
Connor Peet
2023-08-12 08:03:01 -07:00
committed by GitHub
parent 1b8729178c
commit 2d9cc42045
21 changed files with 493 additions and 249 deletions

View File

@@ -40,6 +40,7 @@
"envShellEvent",
"testCoverage",
"testObserver",
"testMessageContextValue",
"textSearchProvider",
"timeline",
"tokenInformation",