From b8fb1661447d840e937690d0f460f886a2c23fbb Mon Sep 17 00:00:00 2001 From: Leonard Hecker Date: Tue, 16 Aug 2022 20:57:51 +0200 Subject: [PATCH 1/2] Use the redirection service for recently added URLs --- src/cascadia/TerminalApp/TerminalPage.cpp | 6 +++++- src/cascadia/TerminalApp/TerminalPage.xaml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cascadia/TerminalApp/TerminalPage.cpp b/src/cascadia/TerminalApp/TerminalPage.cpp index 32d4fb67299..7707c5918b2 100644 --- a/src/cascadia/TerminalApp/TerminalPage.cpp +++ b/src/cascadia/TerminalApp/TerminalPage.cpp @@ -732,7 +732,11 @@ namespace winrt::TerminalApp::implementation void TerminalPage::_SendFeedbackOnClick(const IInspectable& /*sender*/, const Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs& /*eventArgs*/) { - ShellExecute(nullptr, nullptr, L"https://github.com/microsoft/terminal/issues", nullptr, nullptr, SW_SHOW); +#if defined(WT_BRANDING_RELEASE) + ShellExecute(nullptr, nullptr, L"https://aka.ms/terminal-feedback-hub", nullptr, nullptr, SW_SHOW); +#else + ShellExecute(nullptr, nullptr, L"https://go.microsoft.com/fwlink/?linkid=2204904", nullptr, nullptr, SW_SHOW); +#endif } void TerminalPage::_ThirdPartyNoticesOnClick(const IInspectable& /*sender*/, const Windows::UI::Xaml::RoutedEventArgs& /*eventArgs*/) diff --git a/src/cascadia/TerminalApp/TerminalPage.xaml b/src/cascadia/TerminalApp/TerminalPage.xaml index a2f430cfcb1..4bfb6f1d3ac 100644 --- a/src/cascadia/TerminalApp/TerminalPage.xaml +++ b/src/cascadia/TerminalApp/TerminalPage.xaml @@ -109,7 +109,7 @@ + NavigateUri="https://go.microsoft.com/fwlink/?linkid=2203152" /> Date: Tue, 16 Aug 2022 21:10:30 +0200 Subject: [PATCH 2/2] Merge Dustin's feedback Co-authored-by: Dustin L. Howett --- src/cascadia/TerminalApp/TerminalPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascadia/TerminalApp/TerminalPage.cpp b/src/cascadia/TerminalApp/TerminalPage.cpp index 7707c5918b2..579ff3067d1 100644 --- a/src/cascadia/TerminalApp/TerminalPage.cpp +++ b/src/cascadia/TerminalApp/TerminalPage.cpp @@ -733,7 +733,7 @@ namespace winrt::TerminalApp::implementation void TerminalPage::_SendFeedbackOnClick(const IInspectable& /*sender*/, const Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs& /*eventArgs*/) { #if defined(WT_BRANDING_RELEASE) - ShellExecute(nullptr, nullptr, L"https://aka.ms/terminal-feedback-hub", nullptr, nullptr, SW_SHOW); + ShellExecute(nullptr, nullptr, L"https://go.microsoft.com/fwlink/?linkid=2125419", nullptr, nullptr, SW_SHOW); #else ShellExecute(nullptr, nullptr, L"https://go.microsoft.com/fwlink/?linkid=2204904", nullptr, nullptr, SW_SHOW); #endif