Skip to content

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

Merged
merged 4 commits into from
Jul 25, 2018
Merged

Conversation

schmidt-sebastian
Copy link
Contributor

This comments out the multi-tab flag in one .d.ts file and adds it to another (where I missed adding it).

Copy link
Contributor

@mikelehen mikelehen left a 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.
Copy link
Contributor

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. .."

Copy link
Contributor Author

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.
Copy link
Contributor

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
Copy link
Contributor

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).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@schmidt-sebastian schmidt-sebastian merged commit 0a4c43b into firestore-multi-tab Jul 25, 2018
@schmidt-sebastian schmidt-sebastian deleted the multitab-flagprotect branch August 3, 2018 17:15
@firebase firebase locked and limited conversation to collaborators Oct 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants