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

Pm mypackages - cherrypick resources #14299

Merged
merged 9 commits into from
Aug 23, 2023

Conversation

dnenov
Copy link
Collaborator

@dnenov dnenov commented Aug 22, 2023

Cherry-pick from #14198 to break it down into smaller chunks.

  • last part of the PR
  • resources and final cleanup

Purpose

This is a follow-up PR on the package integration PR. It builds on the continuous design guides as per this Figma link.

Even though a lot of areas have been improved, this is still work in progress. With the main skeleton of the solution in place, the major directions of work are:

  • design changes in Search for packages tab
  • design changes in Publish a package tab
  • design changes in My packages tab
  • design changes in Publish version tab

Screenshots

01 loading screen
01_loading screen

02 discard loading timeout
02_discard loading timeout

03 package details extension interaction
03_package details extension

04 package manager contents
04_package manager contents

05 package manager to preferences interaction
05_package manager to preferences

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
  • This PR contains no files larger than 50 MB

Release Notes

Progression work on the Package Manager

  • interactions between different parts of the package manager and between package manager and preferences screen
  • added empty, loading, idle screens
  • work on the PacakgeDetailsExtension to allow hosting inside the PackageManager
  • misc refactor

Reviewers

@reddyashish
@QilongTang

FYIs

@Amoursol

dnenov added 8 commits August 17, 2023 13:10
- merging existing functionality for the package details extension
- added comment to the use of 'IsTabStop' inside the InstalledPackagesControl.xaml
- public eventhandler made internal
- framework element name equality check on longer relies on localized strings, using private readonly strings instead
- added resources for localization
- package manager view final changes
- added test for InitialResultsLoaded
- removed accidental code
- removed PackageManagerSearchPackagesControlName as no longer needed
- small update to the border thickness
- comment added to the new copy-to-clipboard
@chuongmep
Copy link
Contributor

chuongmep commented Aug 22, 2023

I have a question, can we allow upload with version lower like nuget.org ?
Example : I publish new version :

  • 2023.0.0
  • 2024.0.0
    And I need to upload new version update with number : 2023.0.1. I just want to confirm if I'm missing something with package manager.
    Thank you.

@@ -2202,13 +2202,20 @@ private void DynamoViewModelRequestShowPackageManager(object s, EventArgs e)
WindowStartupLocation = WindowStartupLocation.CenterOwner
};

// setting the owner to the packageManagerWindow will centralize promts originating from the Package Manager
dynamoViewModel.Owner = packageManagerWindow;
Copy link
Contributor

Choose a reason for hiding this comment

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

👍🏻

{
var tabName = Dynamo.Wpf.Properties.Resources.PreferencesPackageManagerSettingsTab;
var expanderName = Dynamo.Wpf.Properties.Resources.PackagePathsExpanderName;
PreferencesPanelUtilities.OpenPreferencesPanel(dynamoView, WindowStartupLocation.CenterOwner, tabName, expanderName);
Copy link
Contributor

@QilongTang QilongTang Aug 22, 2023

Choose a reason for hiding this comment

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

Do we do this so it works in a localized environment? But I think it is the other way round right? It would fail that way, did I miss anything here

Copy link
Contributor

Choose a reason for hiding this comment

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

I can see that you are following an existing example, let's leave it for now

Copy link
Contributor

@QilongTang QilongTang left a comment

Choose a reason for hiding this comment

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

LGTM with some comments

- removed redundant resource
- public into internal
@QilongTang QilongTang added this to the 3.0 milestone Aug 23, 2023
@QilongTang QilongTang merged commit bf6cca8 into DynamoDS:master Aug 23, 2023
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.

4 participants