mirror of
https://github.com/pacnpal/thrillwiki_laravel.git
synced 2025-12-20 07:31:09 -05:00
1.9 KiB
1.9 KiB
ThrillWiki Development Continuation Prompt
Continue the development of ThrillWiki's Location System implementation. The project is a Laravel+Livewire application for managing theme parks, currently being converted from Django.
Current Progress
We have:
- Documented the Location System design in
memory-bank/features/LocationSystem.md - Created the locations table migration in
database/migrations/2024_02_23_235000_create_locations_table.php
Next Implementation Steps
-
Create the Location model with:
- Polymorphic relationships
- Coordinate handling
- Geocoding integration
- Distance calculations
-
Implement the HasLocation trait for:
- Location relationships
- Coordinate accessors
- Distance methods
- Map integration
-
Create the GeocodeService for:
- Address lookup
- Coordinate validation
- Batch processing
- Cache management
-
Implement the LocationSearchService for:
- Distance-based search
- Boundary queries
- Clustering support
- Performance optimization
-
Create Livewire components for:
- Location selection
- Map integration
- Address search
- Coordinate picking
Project Structure
Key files and directories:
memory-bank/features/LocationSystem.md- System documentationapp/Models/- Model implementationsapp/Traits/- Shared traitsapp/Services/- Service classesapp/Livewire/- Livewire componentsresources/views/livewire/- Component views
Development Context
The system uses:
- Laravel for backend
- Livewire for components
- MySQL for database
- Memory Bank for documentation
Next Steps
- Create the Location model
- Implement HasLocation trait
- Develop geocoding service
- Build search functionality
- Create Livewire components
Please continue implementing these features following the established patterns and maintaining comprehensive documentation in the Memory Bank.