mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Added documents for MI (#10634)
This commit is contained in:
@@ -242,7 +242,7 @@ export const odbcDriverDocuments = 'https://go.microsoft.com/fwlink/?linkid=2129
|
||||
export const mlDocLink = 'https://go.microsoft.com/fwlink/?linkid=2128671';
|
||||
export const mlExtDocLink = 'https://go.microsoft.com/fwlink/?linkid=2129918';
|
||||
export const mlsDocLink = 'https://go.microsoft.com/fwlink/?linkid=2128672';
|
||||
export const mlsAzureDocLink = 'https://go.microsoft.com/fwlink/?linkid=2128673';
|
||||
export const mlsMIDocLink = 'https://go.microsoft.com/fwlink/?linkid=2128673';
|
||||
export const onnxOnEdgeDocs = 'https://go.microsoft.com/fwlink/?linkid=2128882';
|
||||
export const managePackagesDocs = 'https://go.microsoft.com/fwlink/?linkid=2129919';
|
||||
|
||||
|
||||
@@ -329,6 +329,11 @@ export class DashboardWidget {
|
||||
width: maxWidth,
|
||||
height: '500px',
|
||||
}).component();
|
||||
const moreLinksContainer = view.modelBuilder.flexContainer().withLayout({
|
||||
flexFlow: 'column',
|
||||
width: maxWidth,
|
||||
height: '300px',
|
||||
}).component();
|
||||
const titleComponent = view.modelBuilder.text().withProperties({
|
||||
value: constants.dashboardLinksTitle,
|
||||
CSSStyles: {
|
||||
@@ -350,18 +355,22 @@ export class DashboardWidget {
|
||||
title: constants.sqlMlsDocTitle,
|
||||
description: constants.sqlMlsDocDesc,
|
||||
link: constants.mlsDocLink
|
||||
},
|
||||
{
|
||||
}];
|
||||
|
||||
const moreLinks = [{
|
||||
title: constants.onnxOnEdgeOdbcDocTitle,
|
||||
description: constants.onnxOnEdgeOdbcDocDesc,
|
||||
link: constants.onnxOnEdgeDocs
|
||||
}];
|
||||
|
||||
const moreLink = {
|
||||
},
|
||||
{
|
||||
title: constants.sqlMlsMIDocTitle,
|
||||
description: constants.sqlMlsMIDocDesc,
|
||||
link: constants.mlsMIDocLink
|
||||
}, {
|
||||
title: constants.mlsInstallOdbcDocTitle,
|
||||
description: constants.mlsInstallOdbcDocDesc,
|
||||
link: constants.odbcDriverDocuments
|
||||
};
|
||||
}];
|
||||
const styles = {
|
||||
'padding': '10px'
|
||||
};
|
||||
@@ -375,8 +384,10 @@ export class DashboardWidget {
|
||||
linksContainer.addItems(links.map(l => this.createLink(view, l)), {
|
||||
CSSStyles: styles
|
||||
});
|
||||
moreLinksContainer.addItems(moreLinks.map(l => this.createLink(view, l)));
|
||||
|
||||
this.addShowMorePanel(view, linksContainer, moreLinksContainer, { 'padding-left': '10px' }, styles);
|
||||
|
||||
this.addShowMorePanel(view, linksContainer, this.createLink(view, moreLink), { 'padding-left': '10px' }, styles);
|
||||
return linksContainer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user