Skip to content

[VS Code] Include More States in the Duo Chat State Manager

Problem to solve

While the LS does currently send states for Duo Chat and Code Suggestions, the number of states that are handled for Duo Chat is not the same. This presents an issue when wanting to tackle this task: [VS Code] DuoChat: Improve VS Code webview erro... (#1699 - closed) which allows for more descriptive error messages to users. This Improve Duo status menu by better addressing un... (gitlab-org/editor-extensions&83) also would benefit from having more states.

Proposal

There is a sample implementation that has already been done for CodeSuggestionsStateManager. The implementation for a DuoChatStateManager would expand upon the initial refactor that precedes this issue.

Further details

This is a second iteration of the work that is being done here: [VS Code] Show the current Duo Chat status to t... (#1712 - closed)

Links / references

cc @dashaadu @kisha.mavryck @tristan.read

Edited by Dylan Bernardi