Skip to content

Commit

Permalink
Change the Feedback link to take you to github (#789)
Browse files Browse the repository at this point in the history
Fixes #787.

  Considering we're just duping all feedback hub issues to github, lets cut out
  the middleman and take them straight here.
  • Loading branch information
zadjii-msft authored and miniksa committed May 14, 2019
1 parent 7c6278d commit b5eeddf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/cascadia/TerminalApp/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,12 @@ namespace winrt::TerminalApp::implementation
}

// Method Description:
// - Called when the feedback button is clicked. Launches the feedback hub
// to the list of all feedback for the Terminal app.
// - Called when the feedback button is clicked. Launches github in your
// default browser, navigated to the "issues" page of the Terminal repo.
void App::_FeedbackButtonOnClick(const IInspectable&,
const RoutedEventArgs&)
{
// If you want this to go to the new feedback page automatically, use &newFeedback=true
winrt::Windows::System::Launcher::LaunchUriAsync({ L"feedback-hub://?tabid=2&appid=Microsoft.WindowsTerminal_8wekyb3d8bbwe!App" });

winrt::Windows::System::Launcher::LaunchUriAsync({ L"https://github.com/microsoft/Terminal/issues" });
}

// Method Description:
Expand Down

0 comments on commit b5eeddf

Please sign in to comment.