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

Dnenov packageintegration mypackages #14198

Closed

Conversation

dnenov
Copy link
Collaborator

@dnenov dnenov commented Jul 25, 2023

Not to be merged. Currently broken down in separate PRs.

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 30 commits May 24, 2023 16:36
- created a WPF window for the new Package Manager
-  placed under Packages in the toolbar
- added basic ui affordances (close, move)
- analytics track window events
- search tab functional
- moved the PackageManagerSearch functionality into a separate UserControl
- mirrored publish package view into a user control hosted inside the new Package Manager
- added back the search bar to the search package control
- a separate search control added to better manage the style
- implemented the Installed Packages tab
- window border of preferences/package manager change to match node border
- moved location of packagemanger to be under the packagemanager folder in the DynamoCoreWpf project
- added UI tests for the Package Manager
- introduced a single PackageManagerViewModel containing all view models necessary for the separate functionalities of the PacakgeManager
- added initial tests for PackageManagerViewModel
- code refactor and clean-up
- added test class for SearchBoxControlText control
- minor changes
- changes to preferences view cause merge conflict, storing changes to attempt clean merge and introduce after
- changed PackageMnagerlientViewModel Owner type to Window, to allow for other controls to be set
- changed how height is set for the InstalledPackagesControl to allow the control to display correctly inside larger windows
- added MyPackages controll
- added warning navigation screen when no local packages are installed
- created a new Window owner of the PackageManagerClientViewModle to allow other Views to utilize it correctly
- now populates separately and is not linked to SearchResults (not influenced by search changes)
- added the loading animation screen (still WIP)
- connected controls and visibility binding
- since this particular animation cannot be set in style, created custom control for the loading stripe
- getting the UI as close to the initial design as possible
- introduced a separate property to only flip once the initial results are loaded
dnenov added 14 commits July 4, 2023 16:01
- added the remaining animation stripes covering the search and filter buttons in the search view
- various tweaks
- ui alignment
- visibility for empty screens
- tab stops removed
- created the timedout screen and mocked up a timed-out workflow
- first stab at making the package details view extension work with the new package manager
- removed installed packages from the Preferences Panel
- renamed Package Manager to Package Settings
- modified timed out screen to allow for multiple choices of action
- link package manager with preferences panel with back-and-forth links between connected functionalities
- still working on the loading timed out workflow
- transformed the loading timed out warning into a toast row, which is part of the search control
- the timed out warning will appear after certain amount of time has elapsed as specified inside the MAX_LOAD_TIME variable
- the timed out warning will disappear (if shown) after the results have been loaded
- removed old code
- work out the way to utilize the PackageDetailsExtension with the ability to host inside a dedicated grid column
- making sure only 1 instance of the extension is being used at a time
- disposing of the necessary objects associated with the extension when closing the PackageManagerView
- added remaining string values to localized resources
- removed package manager search and publish package from the Dynamo menu
- localized package manager menu item
- I was removing unnecessary namespaces, I may have to go back to previous state if this doesn't work
- changed max loading time value to 30 seconds
- added the ability to copy currently selected package path value to clipboard
- restored accidental changes to AssemblySharedInfo - copied line from current Master
- restored accidental changes to AssemblySharedInfo - copied line from current Master
@QilongTang
Copy link
Contributor

QilongTang commented Aug 15, 2023

@reddyashish @dnenov When are we going to split the follow up improvements into another PR? In general I am scared of huge PRs :)

@QilongTang QilongTang added this to the 3.0 milestone Aug 15, 2023
@dnenov
Copy link
Collaborator Author

dnenov commented Aug 15, 2023

Yes, it is a big one, isn't it :/ I will check in with @reddyashish to see what's the best way to split it up!

@QilongTang
Copy link
Contributor

Thanks @dnenov @reddyashish Maybe we can review this one as it is and leave other improvements on another PR. What do you think?

@dnenov
Copy link
Collaborator Author

dnenov commented Aug 25, 2023

This can now be closed, all the parts that made up this PR have been successfully merged.

@dnenov dnenov closed this Aug 25, 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.

3 participants