-
Notifications
You must be signed in to change notification settings - Fork 948
Comment out multi-tab flag #1039
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
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.
LGTM with ignorable nits.
@@ -808,6 +829,29 @@ declare namespace firebase.firestore { | |||
*/ | |||
enablePersistence(): Promise<void>; | |||
|
|||
// TODO(multitab): Uncomment when multi-tab is released publicly. |
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.
I assume we'll do the right thing, but really this should be "Uncomment (and remove above version) when. .."
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.
I'll take care of that when the day comes :)
// * There are several reasons why this can fail, which can be identified by | ||
// * the `code` on the error. | ||
// * | ||
// * * failed-precondition: The app is already open in another browser tab. |
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.
Technically this should probably have some mention of experimentalTabSynchronization... but since it's experimental maybe we don't care to give it too much verbiage in this method description...
@@ -202,6 +202,10 @@ class FirestoreConfig { | |||
persistence: boolean; | |||
} | |||
|
|||
// TODO(multi-tab): Replace with Firestore.PersistenceSettings |
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.
multitab (or else pinky swear that you'll grep for "TODO(multi" before we declare multi-tab done).
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.
Fixed
This comments out the multi-tab flag in one
.d.ts
file and adds it to another (where I missed adding it).