Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Show "Incompatible store" dialog when IDB version is too high #2199

Closed
wants to merge 11 commits into from

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Oct 5, 2018

This way the logic to switch between indexeddb/memory store
can be made higher up (in Lifecycle) depending on
the error (e.g. VersionError) and user input (a dialog)

Also merged replaceUsingCreds and start as they are
always called together and one should not be called without
the other.
instead of just clearing the store without saying anything
this will create less confusion when using /app and /develop
undoing previous changes, as falling back to another store after an
error during MatrixClient::startClient results in an infinite spinner
and we don't want to spend more time on this.
@bwindels bwindels changed the title Show "Incompatible store" dialog when IDB version is too high/LL is enabled in IDB store but not in client Show "Incompatible store" dialog when IDB version is too high Oct 8, 2018
@bwindels
Copy link
Contributor Author

bwindels commented Oct 9, 2018

Going to abandon this, as trying it out is now also infinispinnering, and don't want to spend more time on a problem we currently don't have.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant