mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 10:51:09 -05:00
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:
16
docs/htmx-patterns.md
Normal file
16
docs/htmx-patterns.md
Normal 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.
|
||||
Reference in New Issue
Block a user