feat: Add detailed park and ride pages with HTMX integration

- Implemented park detail page with dynamic content loading for rides and weather.
- Created park list page with filters and search functionality.
- Developed ride detail page showcasing ride stats, reviews, and similar rides.
- Added ride list page with filtering options and dynamic loading.
- Introduced search results page with tabs for parks, rides, and users.
- Added HTMX tests for global search functionality.
This commit is contained in:
pacnpal
2025-12-19 19:53:20 -05:00
parent bf04e4d854
commit b9063ff4f8
154 changed files with 4536 additions and 2570 deletions

16
docs/htmx-patterns.md Normal file
View File

@@ -0,0 +1,16 @@
# HTMX Patterns for ThrillWiki
This document records the HTMX patterns used across the project. It is
intended as a living reference for developers migrating Alpine-driven
interactions to server-driven HTMX flows.
Key patterns:
- Partial rendering for list and detail updates (`*_partial.html`)
- `HX-Trigger` for cross-component events
- `HX-Redirect` for post-auth redirects
- `hx-indicator` and skeleton loaders for UX
- Field-level validation via `validate_field` query param
See templates under `backend/templates/htmx/` and mixins in
`backend/apps/core/mixins/__init__.py` for examples.