Closed sqs closed 1 month ago
@dominiccooney Thanks, I just addressed your comments and re-pushed.
@dominiccooney OK to merge and do a post-merge review? This will fix the feature flag listener problem and unblock more testing of the prompt library prior to the release.
@sqs review post merge sounds good to me. We should work out with search team who is on point for bigger changes like this so they can really own the result.
Before merging this can someone check Cody web demo. I can check it later today myself but maybe it would be too late since this has been approved already
@vovakulikov I’ve checked it and it works
Now, the webview can call into API methods exposed by the ChatController (extension host), and those API methods can return a stream of values. This lets the webview "observe" things in the extension host.
Fixes several issues:
useFeatureFlag
now load properly. This fixes an issue where the Prompts dropdown was not displaying, even for users for whom it was enabled.useAsyncGenerator
React hook).Test plan
CI. Also a lot of manual usage of @-mentions and the Prompts dropdown, since those are the parts that use this new API.