Make sql master link clickable that opens connection (#6982)

* Make sql master link clickable that opens connection

* Improve comments and fix break

* Show error message if failed to connect and clear username

* Remove key handler - text doesn't even get focus currently so this isn't doing anything
This commit is contained in:
Charles Gagnon
2019-08-27 17:39:05 -07:00
committed by GitHub
parent 4e25bc9396
commit 99350210d7
5 changed files with 74 additions and 5 deletions

7
src/sql/azdata.d.ts vendored
View File

@@ -3106,6 +3106,10 @@ declare module 'azdata' {
export interface TextComponent extends Component, ComponentProperties {
value: string;
/**
* An event called when the text is clicked
*/
onDidClick: vscode.Event<any>;
}
export interface HyperlinkComponent extends Component, HyperlinkComponentProperties {
@@ -3118,6 +3122,9 @@ declare module 'azdata' {
}
export interface RadioButtonComponent extends Component, RadioButtonProperties {
/**
* An event called when the radio button is clicked
*/
onDidClick: vscode.Event<any>;
}