fleetbase/fleetops

[GFI] Improve Vehicle Device Management

Open

#177 opened on Oct 30, 2025

 (0 comments) (0 reactions) (0 assignees)PHP (55 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (17 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide