ActivityWatch / ActivityWatch/activitywatch

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

Ouverte
#1,099 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
type: bug
Langage dominant
Python
Étoiles
18.9k
Forks
1k
Merge moyen
1 j 4 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.