Add a note that opening new support request from ADS works only after uploading configuration to the cloud/portal (#14601)

* Added note to support request page

* Fixed note
This commit is contained in:
nasc17
2021-03-09 15:09:21 -08:00
committed by GitHub
parent 4b462a41ab
commit 973f151e07
2 changed files with 6 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ export const resetAllToDefault = localize('arc.resetAllToDefault', "Reset all to
export const resetToDefault = localize('arc.resetToDefault', "Reset to default");
export const troubleshoot = localize('arc.troubleshoot', "Troubleshoot");
export const clickTheNewSupportRequestButton = localize('arc.clickTheNewSupportRequestButton', "Click the new support request button to file a support request in the Azure Portal.");
export const supportRequestNote = localize('arc.supportRequestNote', "Note that the resource configuration must have been uploaded to Azure first in order to open a support request.");
export const running = localize('arc.running', "Running");
export const ready = localize('arc.ready', "Ready");
export const notReady = localize('arc.notReady', "Not Ready");

View File

@@ -44,6 +44,11 @@ export class PostgresSupportRequestPage extends DashboardPage {
CSSStyles: { ...cssStyles.text, 'margin-bottom': '20px' }
}).component());
content.addItem(this.modelView.modelBuilder.text().withProperties<azdata.TextComponentProperties>({
value: loc.supportRequestNote,
CSSStyles: { ...cssStyles.text, 'margin-bottom': '20px' }
}).component());
const supportRequestButton = this.modelView.modelBuilder.button().withProperties<azdata.ButtonProperties>({
iconPath: IconPathHelper.support,
label: loc.newSupportRequest,