Commit Graph

28 Commits

Author SHA1 Message Date
pacnpal
2a0c3fb3dd Add comprehensive tests for Parks API and models
- Implemented extensive test cases for the Parks API, covering endpoints for listing, retrieving, creating, updating, and deleting parks.
- Added tests for filtering, searching, and ordering parks in the API.
- Created tests for error handling in the API, including malformed JSON and unsupported methods.
- Developed model tests for Park, ParkArea, Company, and ParkReview models, ensuring validation and constraints are enforced.
- Introduced utility mixins for API and model testing to streamline assertions and enhance test readability.
- Included integration tests to validate complete workflows involving park creation, retrieval, updating, and deletion.
2025-08-17 19:36:20 -04:00
pacnpal
6408368959 Refactor parks and rides views for improved organization and readability
- Updated imports in parks/views.py to use ParkReview as Review for clarity.
- Enhanced road trip views in parks/views_roadtrip.py by removing unnecessary parameters and improving context handling.
- Streamlined error handling and response messages in CreateTripView and FindParksAlongRouteView.
- Improved code formatting and consistency across various methods in parks/views_roadtrip.py.
- Refactored rides/models.py to import Company from models for better clarity.
- Updated rides/views.py to import RideSearchForm from services for better organization.
- Added a comprehensive Django best practices analysis document to memory-bank/documentation.
2025-08-16 12:58:19 -04:00
pacnpal
8549cc527c major changes, including tailwind v4 2025-08-15 12:24:20 -04:00
pacnpal
65f8aee1d7 Refactor imports and improve code organization: streamline import statements and enhance readability in parks/views.py 2025-02-21 20:37:03 -05:00
pacnpal
5921a3d7ff 2025-02-21 19:14:26 -05:00
pacnpal
c1f764ceae Refactor error message handling: centralize required fields error message and improve park list template accessibility 2025-02-21 18:55:41 -05:00
pacnpal
2dc5dad855 Enhance park search functionality: update view mode handling and improve park list item layout 2025-02-21 18:52:01 -05:00
pacnpal
bd1adc017c Refactor park queryset logic: move base queryset to a dedicated module for improved organization and maintainability 2025-02-19 09:30:17 -05:00
pacnpal
0991a74939 Implement ride count fields with real-time annotations; update filters and templates for consistency and accuracy 2025-02-13 16:44:30 -05:00
pacnpal
9daa049b2b Refactor park listing templates: implement grid and list view modes, enhance search results rendering, and improve error handling in search functionality 2025-02-13 12:19:23 -05:00
pacnpal
f4c4fd9142 Refactor search functionality: remove obsolete JavaScript and HTML templates; enhance error handling and response rendering for park search results 2025-02-13 10:29:57 -05:00
pacnpal
146f366453 Enhance search functionality with loading indicators, dark mode support, and improved UI; implement event handling for search results and refine park filter tests for better coverage 2025-02-13 09:42:58 -05:00
pacnpal
80e911afbc Integrate parks app with site-wide search system; add filter configuration, error handling, and search interfaces 2025-02-12 16:59:20 -05:00
pixeebot[bot]
b350159947 Add timeout to requests calls 2025-01-28 03:09:49 +00:00
pacnpal
2279e19cfd Enhance moderation dashboard UI and UX:
- Add HTMX-powered filtering with instant updates
- Add smooth transitions and loading states
- Improve visual hierarchy and styling
- Add review notes functionality
- Add confirmation dialogs for actions
- Make navigation sticky
- Add hover effects and visual feedback
- Improve dark mode support
2024-11-13 14:38:38 +00:00
pacnpal
4899d08cfb fixing the home page 2024-11-06 19:09:56 +00:00
pacnpal
e10248d32e fix location add 2024-11-05 15:11:45 +00:00
pacnpal
9cd7ee94a5 initial geodjango implementation 2024-11-05 04:10:47 +00:00
pacnpal
27f3326e22 okay fine 2024-11-03 17:47:26 +00:00
pacnpal
f51c8370ce photos fix 2024-11-01 01:27:11 +00:00
pacnpal
80a9d61ca2 here we go 2024-10-31 22:32:01 +00:00
pacnpal
c52f14e700 idk man 2024-10-31 17:27:31 +00:00
pacnpal
b675d59c16 fixed the damn discord button 2024-10-31 16:13:05 +00:00
pacnpal
8824d554f1 pycountry integration? 2024-10-30 20:04:04 +00:00
pacnpal
298e2a80cb lol 2024-10-29 23:11:55 -04:00
pacnpal
708986e4c4 good stuff 2024-10-29 21:29:16 -04:00
pacnpal
158f25b24b yay 2024-10-29 01:09:14 -04:00
pacnpal
1339baec59 first commit 2024-10-28 17:09:57 -04:00