Commit Graph
3 Commits
Author SHA1 Message Date
Peter Stockings dc0f41cd27 Integrate session note and tag editing and center progress controls 2026-09-06 22:38:11 +10:00
Peter Stockings d7c9f71d22 Add activity logs table 2026-01-31 14:53:01 +11:00
Peter Stockings 78436b230b feat: Refactor notes functionality into blueprint
- Moved notes-related routes (viewing/editing workout notes) from `app.py` into a new blueprint at `routes/notes.py`.
- Integrated notes-specific database logic (fetching and updating notes) directly into `routes/notes.py` helper functions, removing the corresponding methods from `db.py` for better encapsulation.
- Registered the new `notes_bp` blueprint in `app.py`.
- Removed the original notes route definitions from `app.py`.
- Updated `url_for` calls in `templates/partials/workout_note.html` to reference the new blueprint endpoints (e.g., `notes.get_person_notes`).
- Updated `templates/changelog/changelog.html` to document this refactoring in its own entry.
2025-03-31 22:08:47 +11:00