Pm search for packages - votes#14390
Conversation
- adding changes connected to the 'votes' behavior
- still not showing the new 'GetUserVotes' request that was added with this PR DynamoDS/PackageManagerClient#84
|
Sorry, I reviewed one commit(was routed through outlook) rather than the PR, will wait for the PR to be ready for review. |
|
hi @zeusongit, Deyan mentioned with the newer version of Greg, the new route does not exist still so this PR does not build |
Hi @QilongTang , I tried it locally, i updated the greg package to 6084, and it is building for me successfully locally, one thing that I noticed is that maybe greg is not updated in all the locations where it is used, so do a complete update maybe? |
|
@dnenov Is this ready for review or any changes coming in? |
- voting for packages functionality reinstated - checking for user votes on loading - if the user has already voted for a package prevents from voting again - ui updates
- now correctly updates the SeachElement item inside the PackageManagerPackagesControl 'votes' icon when user has voted for a package - now allows to vote for a package right after a package has been installed
Hey @reddyashish ! This one is definitely ready for review, it must have fallen under the cracks. My bad! |
- removed duplicate package references
| Assert.IsFalse(res); | ||
| } | ||
|
|
||
| //[Test] |
There was a problem hiding this comment.
Uncomment this test? would be nice to test this. Is the mock test failing for any reason?
| return pkgResponse.content; | ||
| }, null); | ||
|
|
||
| return votes.has_upvoted; |
There was a problem hiding this comment.
the local variable votes will be null when the function fails. Check for null before returning its property.
|
Some comments @dnenov. Also double check the additional references that are added. You would need to pull in the latest master again to resolve the conflicts. |
- reconciled meshed up references - comments
- last reference?
| [assembly: AssemblyCompany("Autodesk, Inc")] | ||
| [assembly: AssemblyProduct("Dynamo")] | ||
| [assembly: AssemblyCopyright("Copyright © Autodesk, Inc 2023")] | ||
| [assembly: AssemblyCopyright("Copyright � Autodesk, Inc 2023")] |
There was a problem hiding this comment.
This file shouldn't be added, that is why the self-serve is failing.
- revert changes made by mistake




Purpose
Greg route working, now checks if user has voted for a package to prevent further voting. Current behavior is as follows:
details panel!!! Greg updated! The new requestGetUserVotesto add theuser/votesroute that was introduced with this PR is still not showing on the Dynamo side.This is a cherry-pick with package manager changes around the detailed package extension, and specifically the
votesbehavior. Alongside the visual updates, the PR changes the following - users will be able to vote for a package if they have it installed. Downloading is still disabled.UI Changes
Declarations
Check these if you believe they are true
*.resxfilesRelease Notes
Reviewers
@zeusongit
@sm6srw
FYIs
@QilongTang