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

chore: move removePreload to the stack router and enable preloading in the material-top-tabs #11758

Merged
merged 5 commits into from
Dec 17, 2023

Conversation

osdnk
Copy link
Member

@osdnk osdnk commented Dec 17, 2023

Please provide enough information so that others can review your pull request.

Motivation

Explain the motivation for making this change. What existing problem does the pull request solve?

If this pull request addresses an existing issue, link to the issue. If an issue is not present, describe the issue here.

Test plan

Describe the steps to test this change so that a reviewer can verify it. Provide screenshots or videos if the change affects UI.

The change must pass lint, typescript and tests.

@osdnk osdnk changed the title chore: move removePreload to the stack router chore: move removePreload to the stack router and enable preloading in the material-top-tabs Dec 17, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1900747) 76.72% compared to head (f55afb3) 76.63%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11758      +/-   ##
==========================================
- Coverage   76.72%   76.63%   -0.09%     
==========================================
  Files         207      207              
  Lines        6097     6095       -2     
  Branches     2378     2377       -1     
==========================================
- Hits         4678     4671       -7     
- Misses       1367     1372       +5     
  Partials       52       52              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

netlify bot commented Dec 17, 2023

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit 3c859ce
🔍 Latest deploy log https://app.netlify.com/sites/react-navigation-example/deploys/657f4ea12f5e7b0008ab62f5
😎 Deploy Preview https://deploy-preview-11758--react-navigation-example.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 17, 2023

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit f55afb3
🔍 Latest deploy log https://app.netlify.com/sites/react-navigation-example/deploys/657f524c92045e0008820aaf
😎 Deploy Preview https://deploy-preview-11758--react-navigation-example.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@osdnk osdnk enabled auto-merge (squash) December 17, 2023 19:56
@osdnk osdnk merged commit 1a8ea15 into main Dec 17, 2023
8 checks passed
@osdnk osdnk deleted the @osdnk/stack-router-preload branch December 17, 2023 19:57
osdnk added a commit that referenced this pull request Dec 28, 2023
The changes are pretty straightforward and should be expressive enough
to understand by reading the codebase. This PR:
- Adds the new retaining feature including changes in the router and
minor changes in the card stack (as temporarily scene can include both
the preloaded route and the one getting detached )
- Moves around some leftovers from the previous PR (#11758 )
- Adds tests 

To test, try the example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants