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

DYN-4241-Step6-PackageDependencies #12277

Merged
merged 2 commits into from
Nov 16, 2021
Merged

DYN-4241-Step6-PackageDependencies #12277

merged 2 commits into from
Nov 16, 2021

Conversation

RobertGlobant20
Copy link
Contributor

Purpose

I added the Step 6 to the packages guide, the automation needed for opening the PackageDetaiils and adding support for showing the PackageDetails User Control over the dark overlay.
Basically I did the next changes:

  • The highlight and cutoff functionality was moved from the Guide class to the Step class, so it will be executed on Step.Show(), Step.Hide() or when exiting the Guide.
  • I modified resources for the Package Details popup and remove the resource for the "Autodesk Sample Package" due that it shouldn't be localized.
  • I added some code to subscribe the "Search for a Package" menuitem Click event to the NextStep method (bug reported by Sol).
  • I added a method that will be executing the search in the PackageSearch window after the initial search is completed so the message "Please wait.." is shown.
  • I disable the Back button in the Step1 due that was closing all the Steps and leaving the dark overlay.
  • Finally I added some methods for closing the PackageSearch window

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated

Release Notes

Adding the Step 6 (package dependencies) to the Packages Guide

Reviewers

@QilongTang

FYIs

@filipeotero

I added the Step 6 to the packages guide, the automation needed for opening the PackageDetaiils and adding support for showing the PackageDetails User Control over the dark overlay.
The highlight and cutoff functionality was moved from the Guide class to the Step class, so it will be executed on Step.Show(), Step.Hide() or when exiting the Guide.
Also I modified resources for the Package Details popup and remove the resource for the "Autodesk Sample Package" due that it shouldn't be localized.
I added some code to subscribe the "Search for a Package" menuitem Click event to the NextStep method.
I disable the Back button in the Step1 due that was closing all the Steps and leaving the dark overlay.
Finally I added some methods for closing the PackageSearch window
@RobertGlobant20
Copy link
Contributor Author

This is how the Packages guide looks until Step6 (Package Dependencies)
packages_guide_step6
.

if (packageManagerViewModel == null)
return;

//Due that we need to search the Autodesk Sample package after the inicial search is completed
Copy link
Contributor

Choose a reason for hiding this comment

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

typo initial

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@QilongTang fixed in the next commit:
7b9f128

/// <summary>
/// This method will set the highlight rectangle color if there is any configured in the json file
/// </summary>
/// <param name="bVisible">It will say it the Highlight Area will be disabled or enable</param>
Copy link
Contributor

Choose a reason for hiding this comment

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

if the Highlight Area will be disabled or enable? Please update

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@QilongTang fixed in the next commit:
7b9f128

/// <summary>
/// This method will update the CutOff rectangle size everytime that the step change
/// </summary>
/// <param name="bVisible">It will say it the CutOff Area will be disabled or enable</param>
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@QilongTang fixed in the next commit:
7b9f128

@QilongTang QilongTang merged commit 1f2d0c9 into DynamoDS:master Nov 16, 2021
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.

2 participants