mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Update dashboard, profiler and query icons (#2135)
This commit is contained in:
@@ -936,11 +936,11 @@
|
|||||||
},
|
},
|
||||||
"_shell_light": {
|
"_shell_light": {
|
||||||
"fontCharacter": "\\E073",
|
"fontCharacter": "\\E073",
|
||||||
"fontColor": "#455155"
|
"fontColor": "#bfc2c1"
|
||||||
},
|
},
|
||||||
"_shell": {
|
"_shell": {
|
||||||
"fontCharacter": "\\E073",
|
"fontCharacter": "\\E073",
|
||||||
"fontColor": "#4d5a5e"
|
"fontColor": "#d4d7d6"
|
||||||
},
|
},
|
||||||
"_slim_light": {
|
"_slim_light": {
|
||||||
"fontCharacter": "\\E074",
|
"fontCharacter": "\\E074",
|
||||||
@@ -1374,7 +1374,9 @@
|
|||||||
"cmakelists.txt": "_makefile_3",
|
"cmakelists.txt": "_makefile_3",
|
||||||
"procfile": "_heroku",
|
"procfile": "_heroku",
|
||||||
"todo": "_todo",
|
"todo": "_todo",
|
||||||
"npm-debug.log": "_npm_ignored"
|
"npm-debug.log": "_npm_ignored",
|
||||||
|
"dashboard": "_shell",
|
||||||
|
"profiler": "_csv"
|
||||||
},
|
},
|
||||||
"languageIds": {
|
"languageIds": {
|
||||||
"bat": "_windows",
|
"bat": "_windows",
|
||||||
@@ -1409,7 +1411,7 @@
|
|||||||
"rust": "_rust",
|
"rust": "_rust",
|
||||||
"scss": "_sass",
|
"scss": "_sass",
|
||||||
"shellscript": "_shell",
|
"shellscript": "_shell",
|
||||||
"sql": "_db",
|
"sql": "_default",
|
||||||
"swift": "_swift",
|
"swift": "_swift",
|
||||||
"typescript": "_typescript",
|
"typescript": "_typescript",
|
||||||
"typescriptreact": "_react",
|
"typescriptreact": "_react",
|
||||||
@@ -1614,7 +1616,7 @@
|
|||||||
"rust": "_rust_light",
|
"rust": "_rust_light",
|
||||||
"scss": "_sass_light",
|
"scss": "_sass_light",
|
||||||
"shellscript": "_shell_light",
|
"shellscript": "_shell_light",
|
||||||
"sql": "_db_light",
|
"sql": "_default_light",
|
||||||
"swift": "_swift_light",
|
"swift": "_swift_light",
|
||||||
"typescript": "_typescript_light",
|
"typescript": "_typescript_light",
|
||||||
"typescriptreact": "_react_light",
|
"typescriptreact": "_react_light",
|
||||||
@@ -1660,7 +1662,9 @@
|
|||||||
"omakefile": "_makefile_2_light",
|
"omakefile": "_makefile_2_light",
|
||||||
"cmakelists.txt": "_makefile_3_light",
|
"cmakelists.txt": "_makefile_3_light",
|
||||||
"procfile": "_heroku_light",
|
"procfile": "_heroku_light",
|
||||||
"npm-debug.log": "_npm_ignored_light"
|
"npm-debug.log": "_npm_ignored_light",
|
||||||
|
"dashboard": "_shell_light",
|
||||||
|
"profiler": "_csv_light"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "https://github.com/jesseweed/seti-ui/commit/188dda34a56b9555c7d363771264c24f4693983d"
|
"version": "https://github.com/jesseweed/seti-ui/commit/188dda34a56b9555c7d363771264c24f4693983d"
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import { Event, Emitter } from 'vs/base/common/event';
|
|||||||
import { generateUuid } from 'vs/base/common/uuid';
|
import { generateUuid } from 'vs/base/common/uuid';
|
||||||
import { IDialogService, IConfirmation, IConfirmationResult } from 'vs/platform/dialogs/common/dialogs';
|
import { IDialogService, IConfirmation, IConfirmationResult } from 'vs/platform/dialogs/common/dialogs';
|
||||||
import { escape } from 'sql/base/common/strings';
|
import { escape } from 'sql/base/common/strings';
|
||||||
|
import URI from 'vs/base/common/uri';
|
||||||
|
|
||||||
export class ProfilerInput extends EditorInput implements IProfilerSession {
|
export class ProfilerInput extends EditorInput implements IProfilerSession {
|
||||||
|
|
||||||
@@ -116,7 +117,19 @@ export class ProfilerInput extends EditorInput implements IProfilerSession {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public getName(): string {
|
public getName(): string {
|
||||||
return nls.localize('profilerInput.profiler', 'Profiler');
|
let name: string = nls.localize('profilerInput.profiler', 'Profiler');
|
||||||
|
if (!this._connection) {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
name += ': ' + this._connection.serverName.substring(0, 20);
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public getResource(): URI {
|
||||||
|
return URI.from({
|
||||||
|
scheme: ProfilerInput.SCHEMA,
|
||||||
|
path: 'profiler'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public get data(): TableDataView<Slick.SlickData> {
|
public get data(): TableDataView<Slick.SlickData> {
|
||||||
|
|||||||
Reference in New Issue
Block a user