mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Dashboard agent tab style updates (#1934)
This commit is contained in:
@@ -117,7 +117,7 @@ export class JobData implements IAgentDialogData {
|
|||||||
|
|
||||||
if (!result || !result.success) {
|
if (!result || !result.success) {
|
||||||
vscode.window.showErrorMessage(
|
vscode.window.showErrorMessage(
|
||||||
localize('alertData.saveErrorMessage', "Alert update failed '{0}'", result.errorMessage ? result.errorMessage : 'Unknown'));
|
localize('jobData.saveErrorMessage', "Job update failed '{0}'", result.errorMessage ? result.errorMessage : 'Unknown'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ export class ProxyData implements IAgentDialogData {
|
|||||||
public async save() {
|
public async save() {
|
||||||
let agentService = await AgentUtils.getAgentService();
|
let agentService = await AgentUtils.getAgentService();
|
||||||
let result = await agentService.createProxy(this.ownerUri, this.toAgentProxyInfo());
|
let result = await agentService.createProxy(this.ownerUri, this.toAgentProxyInfo());
|
||||||
console.log(result);
|
|
||||||
if (!result || !result.success) {
|
if (!result || !result.success) {
|
||||||
// TODO handle error here
|
// TODO handle error here
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ export class JobDialog extends AgentDialog<JobData> {
|
|||||||
this.StepsTable_FailureColumnString
|
this.StepsTable_FailureColumnString
|
||||||
],
|
],
|
||||||
data: [],
|
data: [],
|
||||||
height: 300
|
height: 430
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
this.moveStepUpButton = view.modelBuilder.button()
|
this.moveStepUpButton = view.modelBuilder.button()
|
||||||
@@ -261,7 +261,7 @@ export class JobDialog extends AgentDialog<JobData> {
|
|||||||
this.AlertNameLabelString
|
this.AlertNameLabelString
|
||||||
],
|
],
|
||||||
data: [],
|
data: [],
|
||||||
height: 300,
|
height: 430,
|
||||||
width: 400
|
width: 400
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
@@ -296,7 +296,7 @@ export class JobDialog extends AgentDialog<JobData> {
|
|||||||
this.ScheduleNameLabelString
|
this.ScheduleNameLabelString
|
||||||
],
|
],
|
||||||
data: [],
|
data: [],
|
||||||
height: 300,
|
height: 430,
|
||||||
width: 420
|
width: 420
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
import * as nls from 'vscode-nls';
|
||||||
import * as sqlops from 'sqlops';
|
import * as sqlops from 'sqlops';
|
||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
import { AlertDialog } from './dialogs/alertDialog';
|
import { AlertDialog } from './dialogs/alertDialog';
|
||||||
@@ -12,6 +14,8 @@ import { ProxyDialog } from './dialogs/proxyDialog';
|
|||||||
import { JobStepDialog } from './dialogs/jobStepDialog';
|
import { JobStepDialog } from './dialogs/jobStepDialog';
|
||||||
import { PickScheduleDialog } from './dialogs/pickScheduleDialog';
|
import { PickScheduleDialog } from './dialogs/pickScheduleDialog';
|
||||||
|
|
||||||
|
const localize = nls.loadMessageBundle();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The main controller class that initializes the extension
|
* The main controller class that initializes the extension
|
||||||
*/
|
*/
|
||||||
@@ -23,6 +27,11 @@ export class MainController {
|
|||||||
this._context = context;
|
this._context = context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static showNotYetImplemented(): void {
|
||||||
|
vscode.window.showInformationMessage(
|
||||||
|
localize('mainController.notImplemented', "This feature is under development. Check-out the latest insiders build if you'd like to try out the most recent changes!"));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Activates the extension
|
* Activates the extension
|
||||||
*/
|
*/
|
||||||
@@ -48,8 +57,10 @@ export class MainController {
|
|||||||
dialog.openDialog();
|
dialog.openDialog();
|
||||||
});
|
});
|
||||||
vscode.commands.registerCommand('agent.openProxyDialog', (ownerUri: string, proxyInfo: sqlops.AgentProxyInfo, credentials: sqlops.CredentialInfo[]) => {
|
vscode.commands.registerCommand('agent.openProxyDialog', (ownerUri: string, proxyInfo: sqlops.AgentProxyInfo, credentials: sqlops.CredentialInfo[]) => {
|
||||||
let dialog = new ProxyDialog(ownerUri, proxyInfo, credentials);
|
//@TODO: reenable create proxy after snapping July release (7/14/18)
|
||||||
dialog.openDialog();
|
// let dialog = new ProxyDialog(ownerUri, proxyInfo, credentials);
|
||||||
|
// dialog.openDialog();
|
||||||
|
MainController.showNotYetImplemented();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -352,6 +352,14 @@ jobsview-component .jobview-grid .slick-cell.error-row {
|
|||||||
background: #444444 !important;
|
background: #444444 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vs-dark .jobalertsview-grid > .monaco-table .slick-header-columns .slick-resizable-handle {
|
||||||
|
border-left: 1px dotted white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jobalertsview-grid > .monaco-table .slick-header-columns .slick-resizable-handle {
|
||||||
|
border-left: 1px dotted #444444;
|
||||||
|
}
|
||||||
|
|
||||||
.vs-dark #operatorsDiv joboperatorsview-component .joboperatorsview-grid .grid-canvas .ui-widget-content.slick-row .slick-cell {
|
.vs-dark #operatorsDiv joboperatorsview-component .joboperatorsview-grid .grid-canvas .ui-widget-content.slick-row .slick-cell {
|
||||||
background:#333333;
|
background:#333333;
|
||||||
}
|
}
|
||||||
@@ -375,6 +383,14 @@ jobsview-component .jobview-grid .slick-cell.error-row {
|
|||||||
background: #444444 !important;
|
background: #444444 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vs-dark .joboperatorsview-grid > .monaco-table .slick-header-columns .slick-resizable-handle {
|
||||||
|
border-left: 1px dotted white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.joboperatorsview-grid > .monaco-table .slick-header-columns .slick-resizable-handle {
|
||||||
|
border-left: 1px dotted #444444;
|
||||||
|
}
|
||||||
|
|
||||||
.vs-dark #proxiesDiv jobproxiesview-component .jobproxiesview-grid .grid-canvas .ui-widget-content.slick-row .slick-cell {
|
.vs-dark #proxiesDiv jobproxiesview-component .jobproxiesview-grid .grid-canvas .ui-widget-content.slick-row .slick-cell {
|
||||||
background:#333333;
|
background:#333333;
|
||||||
}
|
}
|
||||||
@@ -397,3 +413,11 @@ jobsview-component .jobview-grid .slick-cell.error-row {
|
|||||||
.vs-dark #proxiesDiv .jobproxiesview-grid > .monaco-table .slick-viewport > .grid-canvas > .ui-widget-content.slick-row.hovered > .slick-cell {
|
.vs-dark #proxiesDiv .jobproxiesview-grid > .monaco-table .slick-viewport > .grid-canvas > .ui-widget-content.slick-row.hovered > .slick-cell {
|
||||||
background: #444444 !important;
|
background: #444444 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vs-dark .jobproxiesview-grid > .monaco-table .slick-header-columns .slick-resizable-handle {
|
||||||
|
border-left: 1px dotted white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jobproxiesview-grid > .monaco-table .slick-header-columns .slick-resizable-handle {
|
||||||
|
border-left: 1px dotted #444444;
|
||||||
|
}
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ export abstract class JobManagementView extends TabChild implements AfterContent
|
|||||||
this._showProgressWheel = true;
|
this._showProgressWheel = true;
|
||||||
this.isRefreshing = true;
|
this.isRefreshing = true;
|
||||||
this.onFirstVisible();
|
this.onFirstVisible();
|
||||||
|
this.layout();
|
||||||
this._parentComponent.refresh = false;
|
this._parentComponent.refresh = false;
|
||||||
} else if (this.isVisible === true && this._visibilityElement.nativeElement.offsetParent === null) {
|
} else if (this.isVisible === true && this._visibilityElement.nativeElement.offsetParent === null) {
|
||||||
this.isVisible = false;
|
this.isVisible = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user