ActivityWatch / ActivityWatch/activitywatch

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

Đang mở
#1,099 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: bug
Ngôn ngữ chính
Python
Star
18.9k
Fork
1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
28

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.