Skip to content

[GFI] Improve Vehicle Device Management #177

Description

@roncodes

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions