Implement Journal activity feed (Group 10)

Activity CRUD:
- Activity list page (/activities) with date, distance, elevation
- Create activity with GPX upload, description, optional route link
- Activity detail with stats and date
- "Link to Route" action (select from existing routes)
- "Create Route from Activity" action (creates route from GPX)

Server logic in activities.server.ts with async GPX parsing.
Uses ClientDate component for SSR-safe date rendering.
All 6 Group 10 tasks complete.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-24 21:29:42 +01:00
parent a7c4a0759b
commit a9c99844c6
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
6 changed files with 476 additions and 6 deletions

View file

@ -98,12 +98,12 @@
## 10. Journal — Activity Feed
- [ ] 10.1 Set up PostgreSQL schema (journal.activities table with route_id FK, gpx, stats)
- [ ] 10.2 Implement activity creation page (GPX upload, description, optional route link)
- [ ] 10.3 Implement activity detail page (map with GPS trace, stats, description)
- [ ] 10.4 Implement activity feed page (chronological list of own activities)
- [ ] 10.5 Implement "Link to Route" action (select existing route to link)
- [ ] 10.6 Implement "Create Route from Activity" action (create route from activity GPX)
- [x] 10.1 Set up PostgreSQL schema (journal.activities table with route_id FK, gpx, stats)
- [x] 10.2 Implement activity creation page (GPX upload, description, optional route link)
- [x] 10.3 Implement activity detail page (map with GPS trace, stats, description)
- [x] 10.4 Implement activity feed page (chronological list of own activities)
- [x] 10.5 Implement "Link to Route" action (select existing route to link)
- [x] 10.6 Implement "Create Route from Activity" action (create route from activity GPX)
## 11. Testing & Polish