13 Commits

Author SHA1 Message Date
Peter Stockings
6095e76f10 Here is a conventional commit message summarizing the refactoring work:
```
feat: Refactor calendar feature into blueprint

- Moved calendar logic from `features/calendar.py` and `app.py` into a new blueprint at `routes/calendar.py`.
- Removed the `Calendar` class and refactored logic into helper functions within the blueprint module for better organization and readability.
- Eliminated the `pandas` dependency for date range generation, using standard `datetime` operations instead.
- Resolved circular import issues between `db.py`, `extensions.py`, and `routes/calendar.py` by adjusting import locations.
- Corrected `url_for` calls in templates (`calendar.html`, `partials/people_link.html`) to reference the new blueprint endpoint (`calendar.get_calendar`).
- Fixed an `AttributeError` related to HTMX request checking in the calendar route.
- Corrected `AttributeError` related to `.date()` calls on `datetime.date` objects in view processing functions.
- Updated `templates/changelog/changelog.html` to document the refactoring and associated fixes.
```
2025-03-30 22:20:48 +11:00
Peter Stockings
0e5de89e81 Change sidebar link behaviour so it doesnt scroll to top of screen until content has loaded and add in loading spinner for person list in sidebar 2024-04-11 17:57:24 +10:00
Peter Stockings
d3df532570 Revert "Add left to right slide in transition on main content rerender (#container)"
This reverts commit ae460815d7.
2023-08-15 15:34:29 +10:00
Peter Stockings
ae460815d7 Add left to right slide in transition on main content rerender (#container) 2023-08-14 22:57:47 +10:00
Peter Stockings
8c7fb7a278 When menu link is clicked scroll to top of page 2023-07-26 13:01:15 +10:00
Peter Stockings
ba6fa91d7e Close side bar if menu link has been clicked when on mobile 2023-07-25 20:13:14 +10:00
Peter Stockings
650a3879a2 Clear form and display temporary notification when adding users/exercises on settings page 2023-07-24 09:45:33 +10:00
Peter Stockings
e8bcc58989 Remove logic connected to highlighting active tab for people 2023-04-08 16:00:34 +10:00
Peter Stockings
82f7e83056 Fix error on refresh where footer elements fused with action button 2023-03-14 22:30:43 +11:00
Peter Stockings
50c32d20a4 Attempt to fix person link highlight 2022-12-16 21:20:18 +11:00
Peter Stockings
aed610d8b6 Make calendar month view default when viewing a persons workout and display workouts for month view (year view remaining) 2022-12-03 16:57:35 +11:00
Peter Stockings
41bfce9513 Make dashboard, person, settings page htmx driven 2022-11-23 22:39:57 +11:00
Peter Stockings
3dcc61005e Convert edit/add/remove people form in settings to htmx driven and trigger event to refresh list of people and workout count on insert/update/remove person 2022-11-20 14:14:04 +11:00