From a399179bf6c14fa3e4e7050432abba922e6795ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Z=C3=B6ller?= Date: Thu, 4 Dec 2025 08:19:53 +0100 Subject: [PATCH] More graphs --- CLAUDE.md | 4 +- .../templates/activities/detail.html | 279 ++++++++++++++++++ 2 files changed, 281 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index e98205e..3021b2d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -776,14 +776,14 @@ For ActivityPub federated posts and thumbnails: - [x] User search and discovery UI (users/discover.html, /discover route, search bar with live filtering, user cards grid, pagination) - [x] Followers/following lists (ActorDTO, GET /api/users/{username}/followers, GET /api/users/{username}/following) - [x] Follower/following counts (UserController.populateSocialCounts, UserDTO with followersCount/followingCount, frontend displays real counts) +- [x] Heart rate chart over time on activity details (Chart.js line chart, elapsed time x-axis, heart rate y-axis) +- [x] Speed/pace chart over time on activity details (Chart.js line chart with smoothing, displays speed in km/h with pace in tooltip) - [ ] Notifications system - [ ] Enhanced privacy controls UI - [ ] Follow/unfollow buttons on user profiles - [ ] Activity visibility to followers (implement FOLLOWERS visibility enforcement) - [ ] Breadcrumb navigation - [ ] Active route highlighting in navigation -- [ ] Heart rate chart over time on activity details -- [ ] Speed/pace chart over time on activity details - [ ] Global error boundary/handler - [ ] Custom 404 Not Found page - [ ] Custom 403 Forbidden page diff --git a/src/main/resources/templates/activities/detail.html b/src/main/resources/templates/activities/detail.html index 5f2765d..03597bc 100644 --- a/src/main/resources/templates/activities/detail.html +++ b/src/main/resources/templates/activities/detail.html @@ -109,6 +109,38 @@ + + + + + +