fix(vscode): resolve chat view before commands (#1237)
* fix(vscode): resolve chat view before commands * fix(vscode): guard chat command payload delivery --------- Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
committed by
GitHub
co-authored by
Isaac Sanchez
parent
9816f5dd6c
commit
3c7c20e1b6
@@ -37,6 +37,10 @@ export class ChatViewProvider implements vscode.WebviewViewProvider {
|
||||
return this._view?.visible ?? false;
|
||||
}
|
||||
|
||||
public hasResolvedView() {
|
||||
return this._view !== undefined;
|
||||
}
|
||||
|
||||
// Cache latest status/URL for when webview is resolved after connection is ready
|
||||
private _cachedStatus: ConnectionStatus = 'connecting';
|
||||
private _cachedError?: string;
|
||||
|
||||
Reference in New Issue
Block a user