Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

fix global routes to push onto stack correctly #6025

Merged
merged 1 commit into from Apr 29, 2019

Conversation

PureWeen
Copy link
Contributor

@PureWeen PureWeen commented Apr 26, 2019

Description of Change

Pages on shell sections were always just being pushed off. This change correctly interprets the URI request and then pushes or replaces accordingly

Issues Resolved

API Changes

Removed:

  • Made ShellSection.GoToAsync internal for now. Converted away from public virtual. This will be replaced later with handlers

Platforms Affected

  • Core/XAML (all platforms)

Testing Procedure

There is a unit test but you can try doing this
gotoasync("page")
gotoasync("page")

and make sure it creates a stack of two pages

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

@samhouts samhouts added the API-change Heads-up to reviewers that this PR may contain an API change label Apr 29, 2019
@samhouts samhouts merged commit 470f97b into 4.0.0 Apr 29, 2019
v4.0.0 automation moved this from In Review to Done Apr 29, 2019
@samhouts samhouts deleted the shell_6016_multiple_pages branch April 29, 2019 23:40
@samhouts samhouts added this to the 4.0.0 milestone Apr 29, 2019
AxelUser pushed a commit to AxelUser/Xamarin.Forms that referenced this pull request Jun 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/shell 🐚 API-change Heads-up to reviewers that this PR may contain an API change e/1 🕐 1 t/bug 🐛
Projects
No open projects
v4.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants