mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 19:48:37 -05:00
ML- Added a radio button to enter new model table name (#10343)
This commit is contained in:
@@ -8,7 +8,6 @@ import * as vscode from 'vscode';
|
||||
import { ApiWrapper } from '../../common/apiWrapper';
|
||||
import * as path from 'path';
|
||||
import * as constants from '../../common/constants';
|
||||
import * as utils from '../../common/utils';
|
||||
import { PredictService } from '../../prediction/predictService';
|
||||
|
||||
interface IActionMetadata {
|
||||
@@ -182,12 +181,12 @@ export class DashboardWidget {
|
||||
});
|
||||
const videosContainer = this.createVideoLinkContainers(view, [
|
||||
{
|
||||
iconPath: { light: 'images/video1.svg', dark: 'images/video1.svg' },
|
||||
iconPath: { light: 'images/aiMlSqlServer.svg', dark: 'images/aiMlSqlServer.svg' },
|
||||
description: 'Artificial intelligence and machine learning with SQL Server 2019',
|
||||
link: 'https://www.youtube.com/watch?v=sE99cSoFOHs'
|
||||
},
|
||||
{
|
||||
iconPath: { light: 'images/video2.svg', dark: 'images/video2.svg' },
|
||||
iconPath: { light: 'images/sqlServerMl.svg', dark: 'images/sqlServerMl.svg' },
|
||||
description: 'SQL Server Machine Learning Services',
|
||||
link: 'https://www.youtube.com/watch?v=R4GCBoxADyQ'
|
||||
}
|
||||
@@ -199,7 +198,7 @@ export class DashboardWidget {
|
||||
|
||||
const moreVideosContainer = this.createVideoLinkContainers(view, [
|
||||
{
|
||||
iconPath: { light: 'images/video2.svg', dark: 'images/video2.svg' },
|
||||
iconPath: { light: 'images/notebooksIntro.svg', dark: 'images/notebooksIntro.svg' },
|
||||
description: 'Introduction to Azure Data Studio Notebooks',
|
||||
link: 'https://www.youtube.com/watch?v=Nt4kIHQ0IOc'
|
||||
}
|
||||
@@ -316,7 +315,7 @@ export class DashboardWidget {
|
||||
'background-position': 'top',
|
||||
'width': `${maxWidth}px`,
|
||||
'height': '110px',
|
||||
'background-size': `{maxWidth}px 120px`
|
||||
'background-size': `${maxWidth}px 120px`
|
||||
}
|
||||
});
|
||||
videosContainer.addItem(descriptionComponent);
|
||||
@@ -349,15 +348,15 @@ export class DashboardWidget {
|
||||
link: constants.mlsDocLink
|
||||
},
|
||||
{
|
||||
title: constants.sqlMlsAzureDocTitle,
|
||||
description: constants.sqlMlsAzureDocDesc,
|
||||
link: constants.mlsAzureDocLink
|
||||
title: constants.onnxOnEdgeOdbcDocTitle,
|
||||
description: constants.onnxOnEdgeOdbcDocDesc,
|
||||
link: constants.onnxOnEdgeDocs
|
||||
}];
|
||||
|
||||
const moreLink = {
|
||||
title: constants.mlsInstallOdbcDocTitle,
|
||||
description: constants.mlsInstallOdbcDocDesc,
|
||||
link: utils.isWindows() ? constants.odbcDriverWindowsDocuments : constants.odbcDriverLinuxDocuments
|
||||
link: constants.odbcDriverDocuments
|
||||
};
|
||||
const styles = {
|
||||
'padding': '10px'
|
||||
@@ -499,7 +498,7 @@ export class DashboardWidget {
|
||||
}
|
||||
|
||||
private createTaskButton(view: azdata.ModelView, taskMetaData: IActionMetadata): azdata.Component {
|
||||
const maxHeight = 106;
|
||||
const maxHeight = 116;
|
||||
const maxWidth = 250;
|
||||
const mainContainer = view.modelBuilder.divContainer().withLayout({
|
||||
width: maxWidth,
|
||||
|
||||
Reference in New Issue
Block a user