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

Add isBackgroundLoad property on page context #2286

Merged
merged 5 commits into from May 16, 2024

Conversation

ht4963-ms
Copy link
Contributor

@ht4963-ms ht4963-ms commented Apr 24, 2024

For more information about how to contribute to this repo, visit this page.

Description

A new flag isBackgroundLoad is added to the app context to support an opt-in capability to preload apps in the background for reducing subsequent loading latency. When this flag is on, it indicates that the app is loaded but invisible, and therefore the user will not be able to interact with it.

Main changes in the PR:

Added isBackgroundLoad to the pageInfo interface.

Validation

Validation performed:

Unit test

Unit Tests added:

Unit tests are required for all changes. If no unit tests were added as part of this change, please explain why they aren't necessary.

Yes

End-to-end tests added:

No

Additional Requirements

Change file added:

Yes

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.
@ht4963-ms ht4963-ms requested a review from a team as a code owner April 24, 2024 00:03
@ht4963-ms ht4963-ms enabled auto-merge (squash) May 16, 2024 20:46
@ht4963-ms ht4963-ms merged commit e59a8a2 into main May 16, 2024
21 checks passed
@ht4963-ms ht4963-ms deleted the htsang/add-precache-context-property branch May 16, 2024 21:21
alexneyman-MSFT pushed a commit that referenced this pull request May 17, 2024
* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
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