Add frontend UI for configuration management
Issue Description
Currently, users need to edit Python files (local.py) to configure the application. This is not user-friendly and requires technical knowledge. We need a frontend UI that allows users to manage their configuration without editing files directly.
Proposed Features
-
Configuration Management UI:
- View current configuration
- Add/remove/edit stops
- Add/remove/edit monitored lines
- Set map preferences
- Save/load configurations
-
Interactive Stop Selection:
- Map-based stop selection
- Search stops by name/ID
- Preview stop information before adding
-
Configuration Storage:
- Store configurations in a database or JSON file
- Export/import configurations
- Configuration versioning
- Backup/restore functionality
Technical Considerations
-
Backend Changes:
- API endpoints for configuration management
- Configuration validation
- Secure storage of sensitive data
- Hot reload of configuration changes
-
Frontend Implementation:
- User-friendly forms
- Real-time validation
- Interactive map integration
- Responsive design
-
Security:
- Authentication for configuration changes
- Validation of user input
- Protection against malicious configurations
Success Criteria
- Users can manage all configurations without editing files
- Changes are applied without server restart
- Configuration changes are validated and stored securely
- User-friendly interface with clear feedback
Dependencies
Add frontend UI for configuration management
Issue Description
Currently, users need to edit Python files (
local.py) to configure the application. This is not user-friendly and requires technical knowledge. We need a frontend UI that allows users to manage their configuration without editing files directly.Proposed Features
Configuration Management UI:
Interactive Stop Selection:
Configuration Storage:
Technical Considerations
Backend Changes:
Frontend Implementation:
Security:
Success Criteria
Dependencies