Skip to content

Commit

Permalink
Dynamo Packages Host filters (#9820)
Browse files Browse the repository at this point in the history
* Intial Commit

* Add Context Menu UI binding

* Add Calls to get supported hosts

* Some more code

* Clean Up

* Clean up

* Package dependency Search

* Add unfilter support

* Code Clean up and more elegent filter code

* Update the host dependencies getter

* Add package search element display of hosts

* Add style changes including fonts, vertical alignment, tooltip

* try to fix self CI

* Add unit test

* Remove the test added

* Address comments

* Add more tooltips

* Update Tooltips
  • Loading branch information
QilongTang authored and mjkkirschner committed Aug 3, 2019
1 parent 5413464 commit a5b9cf5
Show file tree
Hide file tree
Showing 25 changed files with 329 additions and 56 deletions.
4 changes: 2 additions & 2 deletions src/DynamoCore/DynamoCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ limitations under the License.
<Reference Include="Analytics.NET.Google">
<HintPath>..\..\extern\Analytics.NET\Analytics.NET.Google.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=1.1.7040.19960, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.1.1.7040.19960\lib\net47\Greg.dll</HintPath>
<Reference Include="Greg, Version=1.2.7121.21318, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.1.2.7121.21318\lib\net47\Greg.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion src/DynamoCore/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Greg" version="1.1.7040.19960" targetFramework="net47" />
<package id="Greg" version="1.2.7121.21318" targetFramework="net47" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
<package id="RestSharp" version="105.2.3" targetFramework="net47" />
</packages>
4 changes: 2 additions & 2 deletions src/DynamoCoreWpf/DynamoCoreWpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
<Reference Include="FontAwesome.WPF">
<HintPath>..\..\extern\FontAwesome\FontAwesome.WPF.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=1.1.7040.19960, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.1.1.7040.19960\lib\net47\Greg.dll</HintPath>
<Reference Include="Greg, Version=1.2.7121.21318, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.1.2.7121.21318\lib\net47\Greg.dll</HintPath>
</Reference>
<Reference Include="HelixToolkit, Version=2015.1.629.0, Culture=neutral, PublicKeyToken=52aa3500039caf0d, processorArchitecture=MSIL">
<HintPath>..\packages\HelixToolkit.2015.1.629\lib\portable-net4+sl4+wp71+win8\HelixToolkit.dll</HintPath>
Expand Down
29 changes: 28 additions & 1 deletion src/DynamoCoreWpf/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions src/DynamoCoreWpf/Properties/Resources.en-US.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2216,6 +2216,15 @@ Uninstall the following packages: {0}?</value>
<data name="ProvideFeedbackError" xml:space="preserve">
<value>Could not re-direct to the Dynamo forum page for feedback:</value>
</data>
<data name="PackageHostDependencyTooltip" xml:space="preserve">
<value>This package requires the specified host(s) to run.</value>
</data>
<data name="PackageHostDependencyFilter" xml:space="preserve">
<value>Filter packages by Dynamo host application.</value>
</data>
<data name="PackageHostDependencyFilterContextItem" xml:space="preserve">
<value>Packages requires the specified host to run.</value>
</data>
<data name="MessageUninstallSamePackage" xml:space="preserve">
<value>"The package {0} is already installed. To reinstall it, you must first uninstall it and restart to complete the uninstall. Would you like to mark {0} for uninstall?"</value>
</data>
Expand Down
9 changes: 9 additions & 0 deletions src/DynamoCoreWpf/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2219,6 +2219,15 @@ Uninstall the following packages: {0}?</value>
<data name="ProvideFeedbackError" xml:space="preserve">
<value>Could not re-direct to the Dynamo forum page for feedback:</value>
</data>
<data name="PackageHostDependencyTooltip" xml:space="preserve">
<value>This package requires the specified host(s) to run.</value>
</data>
<data name="PackageHostDependencyFilter" xml:space="preserve">
<value>Filter packages by Dynamo host application.</value>
</data>
<data name="PackageHostDependencyFilterContextItem" xml:space="preserve">
<value>Packages requires the specified host to run.</value>
</data>
<data name="MessageUninstallSamePackage" xml:space="preserve">
<value>"The package {0} is already installed. To reinstall it, you must first uninstall it and restart to complete the uninstall. Would you like to mark {0} for uninstall?"</value>
</data>
Expand Down
Loading

0 comments on commit a5b9cf5

Please sign in to comment.