-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
bugAn existing problem with our app in productionAn existing problem with our app in production
Description
When you load a project for the first time it loads all the entries in chunks. If this process is interrupted then the number of entries will not match what's in the database. The only way for a user to recover from this state is to delete the cache for the language forge site. This is both difficult to explain and invalidates any other projects that have been cached successfully.
Potential solutions:
- add a clear cache button which would clear the cache for the current project and reload the page.
- allow resuming from an interrupted first load. It may be possible if the entries are loaded by a stable value like created date for the frontend to just resume by requesting values created after the last entree received when loading.
One way we could detect this state automatically is by comparing the total entry count locally with what's in mongo. If we implement solution 2 we also need solution 1 as a fallback.
Metadata
Metadata
Assignees
Labels
bugAn existing problem with our app in productionAn existing problem with our app in production
Type
Projects
Status
Done