diff --git a/src/DynamoCoreWpf/Properties/Resources.Designer.cs b/src/DynamoCoreWpf/Properties/Resources.Designer.cs index e073ee8104c..764cc98a92d 100644 --- a/src/DynamoCoreWpf/Properties/Resources.Designer.cs +++ b/src/DynamoCoreWpf/Properties/Resources.Designer.cs @@ -4308,6 +4308,33 @@ public static string PreviewListLabel { } } + /// + /// Looks up a localized string similar to This Feature is in Preview! . + /// + public static string PreviewText { + get { + return ResourceManager.GetString("PreviewText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Provide Feedback. + /// + public static string ProvideFeedbackButton { + get { + return ResourceManager.GetString("ProvideFeedbackButton", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not re-direct to the Dynamo forum page for feedback:. + /// + public static string ProvideFeedbackError { + get { + return ResourceManager.GetString("ProvideFeedbackError", resourceCulture); + } + } + /// /// Looks up a localized string similar to Publish Online. /// diff --git a/src/DynamoCoreWpf/Properties/Resources.en-US.resx b/src/DynamoCoreWpf/Properties/Resources.en-US.resx index e76ecc5027d..34ab8e65153 100644 --- a/src/DynamoCoreWpf/Properties/Resources.en-US.resx +++ b/src/DynamoCoreWpf/Properties/Resources.en-US.resx @@ -2199,4 +2199,13 @@ Do you want to install the latest Dynamo update? No new tab is added, as the extension is already present in the extensions side bar. + + Provide Feedback + + + This Feature is in Preview! + + + Could not re-direct to the Dynamo forum page for feedback: + \ No newline at end of file diff --git a/src/DynamoCoreWpf/Properties/Resources.resx b/src/DynamoCoreWpf/Properties/Resources.resx index aa9654c1942..815fa989c96 100644 --- a/src/DynamoCoreWpf/Properties/Resources.resx +++ b/src/DynamoCoreWpf/Properties/Resources.resx @@ -2202,4 +2202,13 @@ Want to publish a different package? No new tab is added, as the extension is already present in the extensions side bar. + + Provide Feedback + + + This Feature is in Preview! + + + Could not re-direct to the Dynamo forum page for feedback: + \ No newline at end of file diff --git a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoColorsAndBrushes.xaml b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoColorsAndBrushes.xaml index 544fe69fece..74e4e27a953 100644 --- a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoColorsAndBrushes.xaml +++ b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoColorsAndBrushes.xaml @@ -68,8 +68,9 @@ #009EFF #efede4 - + + diff --git a/src/DynamoCoreWpf/Views/Core/DynamoView.xaml b/src/DynamoCoreWpf/Views/Core/DynamoView.xaml index 5783727623f..27bc06fdf5a 100644 --- a/src/DynamoCoreWpf/Views/Core/DynamoView.xaml +++ b/src/DynamoCoreWpf/Views/Core/DynamoView.xaml @@ -1677,7 +1677,7 @@ Grid.Row="2" Grid.Column="4" Grid.RowSpan="2"> - + - + @@ -1862,7 +1862,7 @@ Grid.Row="2" Grid.RowSpan="2" Height="Auto" - Width="3" + Width="0" Name="extensionSplitter" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" diff --git a/src/PackageDependencyViewExtension/PackageDependencyView.xaml b/src/PackageDependencyViewExtension/PackageDependencyView.xaml index 1492d374cc8..e4834235f31 100644 --- a/src/PackageDependencyViewExtension/PackageDependencyView.xaml +++ b/src/PackageDependencyViewExtension/PackageDependencyView.xaml @@ -3,10 +3,19 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:p="clr-namespace:Dynamo.Wpf.Properties;assembly=DynamoCoreWpf" + xmlns:ui="clr-namespace:Dynamo.UI;assembly=DynamoCoreWpf" mc:Ignorable="d" VerticalAlignment="Top" HorizontalAlignment="Left"> - + + + + + + + + @@ -86,5 +95,51 @@ --> + + + + + + + + + + + + + + + + + + + + + diff --git a/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs b/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs index cb8820a6911..ffdf89aa8fe 100644 --- a/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs +++ b/src/PackageDependencyViewExtension/PackageDependencyView.xaml.cs @@ -3,6 +3,7 @@ using System; using System.Collections.ObjectModel; using System.ComponentModel; +using System.Windows; using System.Windows.Controls; using System.Windows.Media; @@ -17,6 +18,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 +41,19 @@ private Boolean HasMissingPackage } } + /// + /// Re-directs to a web link to get the feedback from the user. + /// + private void ProvideFeedback(object sender, EventArgs e) + { + try { + System.Diagnostics.Process.Start(FeedbackLink); + } + catch (Exception ex) { + String message = Dynamo.Wpf.Properties.Resources.ProvideFeedbackError + "\n\n" + ex.Message; + MessageBox.Show(message, "Error", MessageBoxButton.OK, MessageBoxImage.Error); + } + } /// /// Event handler for workspaceAdded event