Description:
Enhance the vehicle device management system to improve data integrity and usability.
Tasks:
- Add validation rules to ensure proper data consistency when attaching devices.
- Exclude devices that are already attached to other vehicles from the "Attach Device" dropdown or modal.
- Extend the functionality to support attaching sensors to vehicles as well.
- Update the UI to reflect new device and sensor relationships.
- Ensure backend validation prevents duplicate device assignments.
Acceptance Criteria:
- Users cannot attach the same device to multiple vehicles.
- Sensors can be attached and displayed similar to devices.
- Proper validation and error messages are shown to the user.
References:
- Related models:
Device, Sensor, Vehicle.
- Relevant components:
Device::Manager, Modals::AttachDevice.
Description:
Enhance the vehicle device management system to improve data integrity and usability.
Tasks:
Acceptance Criteria:
References:
Device,Sensor,Vehicle.Device::Manager,Modals::AttachDevice.