Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single click SHIR #25350

Merged
merged 7 commits into from
Feb 28, 2024
Merged

Single click SHIR #25350

merged 7 commits into from
Feb 28, 2024

Conversation

RamyaR29
Copy link
Contributor

@RamyaR29 RamyaR29 commented Feb 20, 2024

This PR implements the single click SHIR feature,
more information on the feature -

  1. Design doc : Single-Click-SHIR.docx (sharepoint.com)
    Figma - End to End Design GA - SQL Migration ADS – Figma

IR table
image

Configure IR
image

New DMS page
image

@coveralls
Copy link

coveralls commented Feb 20, 2024

Pull Request Test Coverage Report for Build 8075278873

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+4.6%) to 46.398%

Files with Coverage Reduction New Missed Lines %
extensions/notebook/src/dialog/configurePython/configurePythonWizard.ts 1 46.46%
Totals Coverage Status
Change from base Build 7982013199: 4.6%
Covered Lines: 21464
Relevant Lines: 43217

💛 - Coveralls

@RamyaR29 RamyaR29 marked this pull request as ready for review February 21, 2024 05:45
const data: DeclarativeTableCellValue[][] = [
[
{ value: " " },
{ value: "No node found" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, should be added as resource string in strings.ts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -33,7 +33,7 @@ $timeStamp = [System.DateTime]::Now.ToString("yyyyMMddHHmmss")
$Global:ScriptId = "Script-$timestamp"

# TODO: Auto populate
$Global:LatestIRVersion = [Version]"5.35.8686.1"
$Global:LatestIRVersion = [Version]"5.34.8675.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recommend updating this version to 5.37.. as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.34 is the recommended version based on this link https://go.microsoft.com/fwlink/?linkid=839822

await fs.writeFile(choosenPath.fsPath, value);
if (await vscode.window.showInformationMessage(
"PowerShell script saved",
"Open", "Cancel") === "Open") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to create resource strings for these as well for localization.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@brian-harris
Copy link
Contributor

I'm not able to access the links above, can you please add images to the descrition

@stuti149
Copy link
Contributor

@RamyaR29 can you add the Screen shots of UI that is build (also check in dark mode if everything looks good)

@RamyaR29 RamyaR29 removed the request for review from AkshayMata February 27, 2024 15:38
const manualIRconfigurationExpander = view.modelBuilder.button().withProps(
{
iconPath: IconPathHelper.expandButtonClosed,
ariaLabel: 'Manual IR configuration collapsed'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these labels should be replaced with resource strings

// opens IR dialog
public async openIRDialog(): Promise<void> {
const configureIR = new ConfigureIRDialog(this.migrationStateModel);
await configureIR.openDialog();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may add a try catch here to handle and log error if IR dialog opening fails due to any error.

@RamyaR29 RamyaR29 merged commit dd5f631 into main Feb 28, 2024
14 checks passed
@RamyaR29 RamyaR29 deleted the ramya/single-click-shir branch February 28, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants