Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: PopToRoot doesn't clear PageStack #58

Merged
merged 3 commits into from May 11, 2019
Merged

fix: PopToRoot doesn't clear PageStack #58

merged 3 commits into from May 11, 2019

Conversation

RLittlesII
Copy link
Member

What kind of change does this PR introduce?

Added some test coverage and fixed a few issues

  • ViewStackService properties now properly return observables
  • PopToRoot will now notify that it has popped an item from the stack
  • PopToRoot will now clear the stack after it has completed

What is the current behavior?

Resolves: #57

What is the new behavior?

PopToRoot clears the ViewStackService.PageStack

What might this PR break?

Nothing

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

- fixed PopToRoot not notifying and clearing stack
- fixed properties returning subjects
- migrated to await syntax in tests
- Added PopToRoot to Sample
@codecov
Copy link

codecov bot commented May 11, 2019

Codecov Report

Merging #58 into master will increase coverage by 5.99%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #58      +/-   ##
=========================================
+ Coverage   30.41%   36.4%   +5.99%     
=========================================
  Files           6       6              
  Lines         194     206      +12     
  Branches       26      28       +2     
=========================================
+ Hits           59      75      +16     
+ Misses        133     129       -4     
  Partials        2       2
Impacted Files Coverage Δ
src/Sextant/Navigation/ViewStackService.cs 92.85% <93.33%> (+8.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e4270c...a10bf73. Read the comment docs.

@glennawatson glennawatson merged commit 46ed2f4 into master May 11, 2019
@delete-merged-branch delete-merged-branch bot deleted the feature/test branch May 11, 2019 03:56
@lock lock bot locked and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] PopToRoot doesn't clear the PageStack
2 participants