-
Notifications
You must be signed in to change notification settings - Fork 9
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
New XH.pageState
observable + refactors of XH
-based implementation code
#3409
Conversation
+ make XH.clientAppCode backed by observable.
+ make XH.clientAppCode backed by observable.
# Conflicts: # CHANGELOG.md
+ make XH.clientAppCode backed by observable.
+ Mark boolean getters as @computed
# Conflicts: # CHANGELOG.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pageState logic all looks good. And the integration into Pref service looks good too.
With so many changes to XH and ACM, are you sure there are no breaking changes?
Maybe some apps are are using XH methods that have been moved?
@@ -156,7 +150,8 @@ export class ExceptionHandler { | |||
* @param options - provides further control over how the exception is shown and/or logged. | |||
*/ | |||
showException(exception: unknown, options?: ExceptionHandlerOptions) { | |||
if (this.#isUnloading) return; | |||
if (XH.pageState == 'terminated' || XH.pageState == 'frozen') return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
===
Taking a look at this today! |
XH.pageState
observable + refactors of XH
-based implementation code
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.
develop
branch as of last change.breaking-change
label + CHANGELOG if so.If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.