mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[PR #561] [MERGED] [Feature]: Statistics page - Add timeframe filtering, new widgets & fix success rate calculation #1065
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#1065
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/561
Author: @aneopsy
Created: 3/1/2026
Status: ✅ Merged
Merged: 3/1/2026
Merged by: @maziggy
Base:
0.2.2b1← Head:statistic-timeframe📝 Commits (8)
b2603c8fix(stats): calculate success rate from completed and failed prints only792a86ffeat(stats): add new widgets, shared MetricToggle, and timeframe filtering1a7bdf2test(stats): update StatsPage tests to match current widget structure5216bebrefactor(stats): improve Color Distribution card layout and toggle168c00ffeat(stats): add /archives/slim endpoint and fix dashboard bugsff3d3a8feat(stats): add hourly heatmap for short timeframes and fix timezone bugs449dd24Merge branch '0.2.2b1' into statistic-timeframe2b2a407Fix num_weeks calculation to ensure at least one week📊 Changes
18 files changed (+1870 additions, -363 deletions)
View changed files
📝
backend/app/api/routes/archives.py(+115 -13)📝
backend/app/schemas/archive.py(+21 -0)📝
backend/app/services/archive.py(+11 -1)📝
backend/app/services/failure_analysis.py(+34 -14)📝
backend/tests/integration/test_archives_api.py(+150 -0)📝
frontend/src/__tests__/pages/StatsPage.test.tsx(+204 -14)📝
frontend/src/api/client.ts(+38 -4)📝
frontend/src/components/Dashboard.tsx(+8 -0)📝
frontend/src/components/FilamentTrends.tsx(+290 -131)➕
frontend/src/components/MetricToggle.tsx(+39 -0)📝
frontend/src/i18n/locales/de.ts(+42 -0)📝
frontend/src/i18n/locales/en.ts(+42 -0)📝
frontend/src/i18n/locales/fr.ts(+42 -0)📝
frontend/src/i18n/locales/it.ts(+42 -0)📝
frontend/src/i18n/locales/ja.ts(+42 -0)📝
frontend/src/i18n/locales/pt-BR.ts(+42 -0)📝
frontend/src/pages/StatsPage.tsx(+697 -186)➕
frontend/src/utils/weight.ts(+11 -0)📄 Description
Description
Related Issue
Fixes #548
Type of Change
Changes Made
Screenshots
Testing
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.