-
Notifications
You must be signed in to change notification settings - Fork 156
✨ [RUMF-1580] Implement storage fallback #2261
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
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
f35a90f
to
5f16faa
Compare
70842b8
to
4910506
Compare
5f16faa
to
73df497
Compare
4910506
to
205349f
Compare
73df497
to
b26c828
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2261 +/- ##
==========================================
+ Coverage 93.93% 94.25% +0.31%
==========================================
Files 204 205 +1
Lines 6122 6142 +20
Branches 1354 1358 +4
==========================================
+ Hits 5751 5789 +38
+ Misses 371 353 -18 ☔ View full report in Codecov by Sentry. |
205349f
to
90064ab
Compare
b26c828
to
3c9ac7f
Compare
90064ab
to
3e1c1e3
Compare
d408034
to
305deaf
Compare
f7661fb
to
83acc68
Compare
packages/core/src/domain/session/storeStrategies/sessionInLocalStorage.ts
Outdated
Show resolved
Hide resolved
packages/core/src/domain/session/storeStrategies/sessionInLocalStorage.ts
Outdated
Show resolved
Hide resolved
/** | ||
* Every second, the storage will be polled to check for any change that can occur | ||
* to the session state in another browser tab, or another window. | ||
* This value has been determined from our previous cookie-only implementation. | ||
*/ |
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.
👍
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.
Great work!
Motivation
When cookies are not available, allows the sessionManager to fallback to localStorage.
Changes
Testing
I have gone over the contributing documentation.