TemplateStudio
TemplateStudio copied to clipboard
[Request] Add backwards and forwards navigation including using mouse buttons
It would be amazing if every app built with WTS automatically includes backwards and forwards navigation through the stack using the keyboard, mouse (side buttons) and even Xbox controller.
For an implementation see https://github.com/Microsoft/Windows-universal-samples/blob/master/Samples/XamlUIBasics/cs/AppUIBasics/Common/NavigationHelper.cs
interesting idea, want to help and build out a proof of concept what this would act / look like for a navigation view app?
Is a PoC necessary to build, or can the XAML Controls Gallery (aka XamlUiBasics) app from the Windows Universal Samples repository act as PoC? This already uses NavigationView and implements keyboard (alt-left and alt-right arrows) and mouse back and forwards (XButton1 and XButton2) in the navigation stack, plus backwards using the Xbox controller.
i do as i think proof of concepts help see how something would work in a system like template studio. some of those samples can over simplify an issue and want to see how something works before we go full scale implementation.
how does the nav system work in maybe when you have a page with a media player?
The generated code should already include hardware button support for back navigation (as per #1770) According to the notes on that issue Prism also support forward navigation via hardware buttons.
Some questions
- Are there issues with the current generated code that mean the back button doesn't always work? Or not work with some hardware buttons?
- What examples are there of apps that use forward navigation within an existing stack, rather than to a new page?
- Is forward navigation something that every app needs?
- Would forward navigation via hardware buttons be useful as an optional feature?