Skip to content

Conversation

@ChrisPulman
Copy link
Member

@ChrisPulman ChrisPulman commented Jun 29, 2021

ReactiveShell can be used when you wish to use a viewmodel on your base
NOTE: Only supports WhenActivated NOT WhenDeactivated due to the Base nature of the Shell component

ReactiveShellContent is a ViewModel based version of ShellContent

What kind of change does this PR introduce?

feature

What is the current behaviour?

Shell and FlyOut have no base in ReactiveUI.Xamarin

What is the new behaviour?

ReactiveShell, ReactiveShellContent, ReactiveFlyOut added to give a base for Shell and Flyout and allow further development

What might this PR break?

none

Please check if the PR fulfils these requirements

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

Other information:
ReactiveShell will ONLY support WhenActivated NOT WhenDeactivated due to the Base SPA nature of the Shell component

ReactiveShell can be used when you wish to use a viewmodel on your base
NOTE: Only supports WhenActivated NOT WhenDeactivated due to the Base nature of the Shell component

ShellViewModel is a ViewModel based version of ShellContent
@codecov
Copy link

codecov bot commented Jun 29, 2021

Codecov Report

Merging #2814 (4572011) into main (aa85c40) will increase coverage by 0.73%.
The diff coverage is 69.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2814      +/-   ##
==========================================
+ Coverage   65.04%   65.77%   +0.73%     
==========================================
  Files         134      137       +3     
  Lines        4712     4810      +98     
==========================================
+ Hits         3065     3164      +99     
+ Misses       1647     1646       -1     
Impacted Files Coverage Δ
...rc/ReactiveUI.XamForms/ReactiveMasterDetailPage.cs 0.00% <ø> (ø)
...rc/ReactiveUI.XamForms/ActivationForViewFetcher.cs 49.01% <52.63%> (+3.70%) ⬆️
src/ReactiveUI.XamForms/ReactiveShellContent.cs 66.66% <66.66%> (ø)
src/ReactiveUI.XamForms/ReactiveFlyoutPage.cs 93.33% <93.33%> (ø)
src/ReactiveUI.XamForms/ReactiveShell.cs 93.33% <93.33%> (ø)
src/ReactiveUI.XamForms/ReactiveContentPage.cs 100.00% <0.00%> (+13.33%) ⬆️
... and 2 more

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 aa85c40...4572011. Read the comment docs.

Rename ShellViewModel to ReactiveShellContent to keep in with other extended elements
@ChrisPulman ChrisPulman changed the title feature for Xamarin added ReactiveShell, ShellViewModel, ReactiveFlyOut feature for Xamarin added ReactiveShell, ReactiveShellContent, ReactiveFlyOut Jun 29, 2021
@RLittlesII RLittlesII merged commit d215b0f into main Jul 6, 2021
@RLittlesII RLittlesII deleted the feature_Xamarin_ReactiveShell_ShellViewModel_ReactiveFlyOut branch July 6, 2021 21:16
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2021
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.

3 participants