ActivityWatch / ActivityWatch/activitywatch

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

Open
#1,099 1 comment 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
18.9k
Forks
1k
Avg merge
1d 4h
Merged PRs (30d)
28

Description

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](https://github.com/user-attachments/assets/4f066ff9-66b4-4d05-988c-35f72b30d785)

Here is the video:

https://github.com/user-attachments/assets/31ed7158-6f45-4812-a0c7-194234e3e8ac

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.