ever-co/ever-gauzy

[Improvement] Gauzy Timer | Offline Mode must work on Windows, Linux and Mac

Opened this issue · 0 comments

As a user, I want to be able to track my work even when I don't have an internet connection, so that I can keep track of my work continuously without interruptions.
The offline tracking must work on Windows, Linux and Mac. We still have stability issue in offline tracking. Please retest and fix any issue that is affecting offline tracking.

Detailed Flow:

  1. User opens the time tracking application
  2. System detects that there's no internet connection
  3. System notifies the user that it's operating in offline mode
  4. User starts tracking time for a task
  5. System stores the time tracking data locally on the device
  6. User continues to use the application, starting and stopping time entries as needed
  7. When internet connection is restored, the system automatically syncs the offline data with the server
  8. System notifies the user that sync is complete

Acceptance Criteria:

  1. Offline Mode Detection:
    • The application accurately detects when there's no internet connection
    • The user is clearly notified that the application is in offline mode
  2. Functionality in Offline Mode:
    • Users can start and stop time tracking
  3. Local Data Storage:
    • All time tracking data is stored securely on the local device
    • The local storage can handle at least 10 hours of offline data
  4. Sync Process:
    • When internet connection is restored, the app automatically begins syncing
    • The sync process runs in the background without interrupting the user's work
    • Users are notified when the sync is complete
  5. Data Integrity:
    • No data loss occurs during the transition between online and offline modes
    • Time entries started offline and ended online (or vice versa) are recorded accurately
  6. User Interface:
    • The UI clearly indicates when the app is in offline mode
    • The UI shows which time entries are not yet synced