Commit Graph

44 Commits

Author SHA1 Message Date
pacnpal
c437ddbf28 Enhance moderation dashboard with Alpine.js for improved state management and event handling. Added x-data and event listener for retry functionality. 2025-09-26 14:53:17 -04:00
pacnpal
f7b1296263 Refactor moderation dashboard and advanced search components to utilize Alpine.js for improved state management. Enhanced event handling and user experience by replacing legacy JavaScript functions with Alpine.js reactive methods. Updated auth modal comparison and button comparison tests to leverage Alpine.js for better interactivity and functionality. 2025-09-26 14:48:13 -04:00
pacnpal
40e5cf3162 Refactor ride form template to utilize Alpine.js for state management. Enhanced form submission handling and improved search result clearing functionality for better user experience. 2025-09-26 14:27:47 -04:00
pacnpal
b9377ead37 Refactor designer and ride model search results templates to utilize Alpine.js for state management. Enhanced selection functionality and improved event handling for better user experience. 2025-09-26 14:23:03 -04:00
pacnpal
851709058f Refactor location widget and park search results templates to utilize Alpine.js for state management. Enhanced search functionality, improved data binding, and streamlined event handling for better user experience. 2025-09-26 14:21:28 -04:00
pacnpal
8c0c3df21a Refactor templates to utilize AlpineJS for state management and interactions, replacing custom JavaScript. Updated navigation links for parks and rides, streamlined mobile filter functionality, and enhanced advanced search features. Removed legacy JavaScript code for improved performance and maintainability. 2025-09-26 13:43:14 -04:00
pacnpal
41b3c86437 Add initial migration for moderation app and resolve seed command issues
- Created an empty migration file for the moderation app to enable migrations.
- Documented the resolution of the seed command failure due to missing moderation tables.
- Identified and fixed a VARCHAR(10) constraint violation in the User model during seed data generation.
- Updated role assignment in the seed command to comply with the field length constraint.
2025-09-25 08:39:05 -04:00
pacnpal
b1c369c1bb Add park and ride card components with advanced search functionality
- Implemented park card component with image, status badge, favorite button, and quick stats overlay.
- Developed ride card component featuring thrill level badge, status badge, favorite button, and detailed stats.
- Created advanced search page with filters for parks and rides, including location, type, status, and thrill level.
- Added dynamic quick search functionality with results display.
- Enhanced user experience with JavaScript for filter toggling, range slider updates, and view switching.
- Included custom CSS for improved styling of checkboxes and search results layout.
2025-09-24 23:10:48 -04:00
pacnpal
f3c59ad6ff remove backend 2025-09-21 20:19:12 -04:00
pacnpal
540f40e689 Revert "update"
This reverts commit 75cc618c2b.
2025-09-21 20:11:00 -04:00
pacnpal
75cc618c2b update 2025-09-21 20:04:42 -04:00
pacnpal
b0e0678590 feat: major project restructure - move Django to backend dir and fix critical imports
- Restructure project: moved Django backend to backend/ directory
- Add frontend/ directory for future Next.js application
- Add shared/ directory for common resources
- Fix critical Django import errors:
  - Add missing sys.path modification for apps directory
  - Fix undefined CATEGORY_CHOICES imports in rides module
  - Fix media migration undefined references
  - Remove unused imports and f-strings without placeholders
- Install missing django-environ dependency
- Django server now runs without ModuleNotFoundError
- Update .gitignore and README for new structure
- Add pnpm workspace configuration for monorepo setup
2025-08-23 18:37:55 -04:00
pacnpal
da7c7e3381 major changes, including tailwind v4 2025-08-15 12:24:20 -04:00
pacnpal
71b73522ae Revert "Add version control system functionality with branch management, history tracking, and merge operations"
This reverts commit f3d28817a5.
2025-02-08 17:37:30 -05:00
pacnpal
f3d28817a5 Add version control system functionality with branch management, history tracking, and merge operations 2025-02-06 19:29:23 -05:00
pacnpal
323aa561a5 Refactor authentication settings and enhance frontend moderation panel with performance optimizations, loading states, error handling, mobile responsiveness, and accessibility improvements 2025-02-06 14:20:12 -05:00
pacnpal
dfe6194039 ok 2024-11-14 04:15:24 +00:00
pacnpal
e63677e8c0 the ghost of the sea 2024-11-14 02:48:41 +00:00
pacnpal
af3e255a2e Fix moderation submission template:
- Fix unclosed if tags and template structure
- Fix ride category selection and stats display
- Fix location map display and remove duplicates
- Fix grid layout and closing tags
2024-11-14 02:31:28 +00:00
pacnpal
ebbf772669 Fix moderation submission display:
- Fix location map display in view mode
- Remove duplicate location map
- Fix grid layout and closing tags
- Show location map before other fields
2024-11-14 02:24:01 +00:00
pacnpal
891c29beff Fix moderation submission display:
- Add location map template for view mode
- Add coaster fields template for stats
- Fix location and stats display in both view and edit modes
2024-11-14 02:16:04 +00:00
pacnpal
e86cb95f14 Fix moderation submission edit view:
- Add coaster stats fields template
- Fix ride category selection and stats display
- Fix location widget and map initialization
2024-11-14 02:10:14 +00:00
pacnpal
fd97ed31cb Fix map initialization and park area selection in moderation submission edit view 2024-11-14 01:56:56 +00:00
pacnpal
d9990ae241 Fix ride category, status, and park area selection in moderation submission edit view 2024-11-14 01:32:37 +00:00
pacnpal
da0ee1acfa Fix ride category selection and stats field display in moderation submission edit view 2024-11-14 01:24:27 +00:00
pacnpal
edc9d66849 Add enhanced toast notifications for moderation actions
- Add color-coded toast notifications for different actions
- Use appropriate icons for each action type
- Improve toast positioning and z-index
- Add smooth transitions for better UX
- Remove duplicate toast implementation
2024-11-13 22:02:59 +00:00
pacnpal
8265348a83 code commit 2024-11-13 21:59:49 +00:00
pacnpal
8f7f7add2d Fix moderation dashboard CSS formatting
- Update category and status select fields with consistent styling
- Add proper dark mode support for form elements
- Improve form field spacing and alignment
- Standardize input field styling across the dashboard
2024-11-13 21:31:02 +00:00
pacnpal
7ec4d964dc Update loading indicator styling for dark mode compatibility 2024-11-13 18:59:04 +00:00
pacnpal
d68c927a00 Move loading indicator to center of empty state div in submission list 2024-11-13 18:57:48 +00:00
pacnpal
caba5c6158 Update active tab indicator colors in light mode to use blue instead of grey 2024-11-13 18:55:14 +00:00
pacnpal
131ef7ceb0 Update dark mode styling for submission list to match site theme 2024-11-13 18:53:03 +00:00
pacnpal
a30f3ef644 Update dark mode styling for moderation dashboard to match site theme 2024-11-13 18:51:15 +00:00
pacnpal
2e1040e3a6 Add Moderation Dashboard title to the top of the dashboard view 2024-11-13 18:48:18 +00:00
pacnpal
751d21098d Add refresh button to moderation dashboard that maintains current filters when refreshing content 2024-11-13 18:46:32 +00:00
pacnpal
6a9154ce69 Improve moderation dashboard UI and functionality
- Add status tabs (Pending, Approved, Rejected, Escalated)
- Implement HTMX for smooth tab switching and status changes
- Add proper permissions for escalated submissions
- Change Status filter to Submission Type (Text/Photo)
- Move navigation into dashboard content
- Fix tab menu visibility and transitions
- Add contextual loading indicator
- Update styling to match dark theme
- Ensure consistent styling across components
2024-11-13 18:37:36 +00:00
pacnpal
15e56c9770 Add CSRF token handling to HTMX requests:
- Configure HTMX to include CSRF token in request headers
- Add global HTMX configuration in dashboard.html
- Fix CSRF token missing error in moderation actions
2024-11-13 17:16:43 +00:00
pacnpal
09ee45f6c7 Fix duplicate menus in moderation dashboard:
- Move navigation to separate moderation_nav.html partial
- Include navigation only once in dashboard.html base template
- Remove duplicate navigation from child templates
2024-11-13 17:09:22 +00:00
pacnpal
177117f4d6 Improve moderation dashboard UI and HTMX integration:
- Create partial templates for dashboard, edit submissions, and photo submissions
- Update views to properly handle HTMX requests
- Fix duplicate UI issues when navigating
- Improve overall UI design and transitions
2024-11-13 17:04:42 +00:00
pacnpal
f011d58c6d Fix duplicate UI in moderation dashboard by separating HTMX partial templates and full page templates 2024-11-13 16:34:31 +00:00
pacnpal
08e97f21b7 Reorganize moderation dashboard structure:
- Move from /moderation/admin to /moderation to avoid conflicts
- Improve template organization with partials
- Add HTMX-powered navigation and filtering
- Add smooth transitions and loading states
- Improve photo submission handling
- Add review notes functionality
- Add confirmation dialogs
2024-11-13 14:50:34 +00:00
pacnpal
d2c9d02523 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:17 +00:00
pacnpal
3cbda93094 here we go 2024-10-31 22:32:01 +00:00
pacnpal
6880f36b99 good stuff 2024-10-29 21:29:16 -04:00