You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Procastify aims to provide a calm workspace, but issues like data loss or loading spinners during internet drops disrupt mental clarity. To address this, we need to enable and configure Firebase’s offline persistence capabilities.
Tasks
Enable Persistence: Implement the enableIndexedDbPersistence call in the Firebase configuration.
Optimistic UI: When a user saves a note, update the UI instantly while syncing happens in the background.
Guest-to-User Migration: Ensure that data created in Guest mode is securely linked to the user account upon login without conflicts.
Description
Procastify aims to provide a calm workspace, but issues like data loss or loading spinners during internet drops disrupt mental clarity. To address this, we need to enable and configure Firebase’s offline persistence capabilities.
Tasks
Enable Persistence: Implement the
enableIndexedDbPersistencecall in the Firebase configuration.Optimistic UI: When a user saves a note, update the UI instantly while syncing happens in the background.
Guest-to-User Migration: Ensure that data created in Guest mode is securely linked to the user account upon login without conflicts.