From 7a91f48a5d45e7029ecdc3e5e5888bfde2f1dcf2 Mon Sep 17 00:00:00 2001 From: gantaa <43763136+reddyashish@users.noreply.github.com> Date: Mon, 1 Jul 2019 01:09:48 -0400 Subject: [PATCH 1/7] DYN-1999 Adding a section for users to provide feedback. --- src/DynamoCoreWpf/Views/Core/DynamoView.xaml | 2 +- .../PackageDependencyView.xaml | 50 ++++++++++++++++++- .../PackageDependencyView.xaml.cs | 9 ++++ 3 files changed, 58 insertions(+), 3 deletions(-) diff --git a/src/DynamoCoreWpf/Views/Core/DynamoView.xaml b/src/DynamoCoreWpf/Views/Core/DynamoView.xaml index 5783727623f..3a2be9cef65 100644 --- a/src/DynamoCoreWpf/Views/Core/DynamoView.xaml +++ b/src/DynamoCoreWpf/Views/Core/DynamoView.xaml @@ -1711,7 +1711,7 @@ - + diff --git a/src/PackageDependencyViewExtension/PackageDependencyView.xaml b/src/PackageDependencyViewExtension/PackageDependencyView.xaml index 1492d374cc8..d16ee9c383a 100644 --- a/src/PackageDependencyViewExtension/PackageDependencyView.xaml +++ b/src/PackageDependencyViewExtension/PackageDependencyView.xaml @@ -6,7 +6,7 @@ mc:Ignorable="d" VerticalAlignment="Top" HorizontalAlignment="Left"> - + @@ -26,7 +26,7 @@ RowBackground="Transparent" FontSize="14" IsHitTestVisible="False" - Grid.Row="0"> + Grid.Row="1"> @@ -86,5 +86,51 @@ --> + + + + + + + + + + + + + + + + + + + + + diff --git a/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs b/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs index 6e02634a1b8..ab93e5f14fc 100644 --- a/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs +++ b/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs @@ -17,6 +17,8 @@ public partial class PackageDependencyView : UserControl private WorkspaceModel currentWorkspace; + private String FeedbackLink = "https://forum.dynamobim.com/t/call-for-feedback-on-dynamo-graph-package-dependency-display/37229"; + private ViewLoadedParams loadedParams; private PackageDependencyViewExtension dependencyViewExtension; @@ -38,6 +40,13 @@ private Boolean HasMissingPackage } } + /// + /// Re-directs to a web link to get the feedback from the user. + /// + private void ProvideFeedback(object sender, EventArgs e) + { + System.Diagnostics.Process.Start(FeedbackLink); + } /// /// Event handler for workspaceAdded event From 5bf585ca763efe8aa6ed81e63b1dbac2fae2264a Mon Sep 17 00:00:00 2001 From: gantaa <43763136+reddyashish@users.noreply.github.com> Date: Mon, 1 Jul 2019 01:27:19 -0400 Subject: [PATCH 2/7] Removing extra styling --- src/PackageDependencyViewExtension/PackageDependencyView.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PackageDependencyViewExtension/PackageDependencyView.xaml b/src/PackageDependencyViewExtension/PackageDependencyView.xaml index d16ee9c383a..994eacf515a 100644 --- a/src/PackageDependencyViewExtension/PackageDependencyView.xaml +++ b/src/PackageDependencyViewExtension/PackageDependencyView.xaml @@ -96,7 +96,7 @@ - +