Skip to content

Offline Persistence with Firebase Local Emulator #119

@Nitya-003

Description

@Nitya-003

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions