Skip to content

Monthly Stats Loading Issue: Dashboard gets stuck on loading and fails to display monthly statistics #1099

@Harshit28j

Description

@Harshit28j

I have encountered a bug in ActivityWatch where the monthly statistics section of the dashboard fails to load and gets stuck on a loading. This issue occurs consistently when attempting to view monthly stats,

Steps to Reproduce:

  1. Open ActivityWatch dashboard and go to activity.
  2. Change the query range from day to month.
  3. Observe the loading that appears.
  4. Wait for an extended period (e.g., 5 minutes), but the stats do not load.

Environment:

  • Operating System: Windows 11
  • Browser: Brave

Expected Behavior:
On accessing the Monthly query, the dashboard should display any available data for the month or show a message indicating that there are insufficient logs to generate monthly statistics. This would provide users with clear feedback on the status of their data.

Actual Behavior:
The "Monthly query" section gets stuck on a loading, and no statistics is displayed, even after waiting for an extended period.

image

Here is the video:

activity_watch_bug.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions