Files
thrillwiki_django_no_react/docs/htmx-patterns.md
pacnpal b9063ff4f8 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.
2025-12-19 19:53:20 -05:00

17 lines
597 B
Markdown

# 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.