mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 05:11:09 -05:00
- 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.
17 lines
597 B
Markdown
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.
|