Uploaded image for project: 'Horizon Stream'
  1. Horizon Stream
  2. HS-194

Frontend: Add a device button and modal

    XMLWordPrintable

Details

    • Story
    • Status: Done (View Workflow)
    • Minor
    • Resolution: Done
    • None
    • None

    Description

      • Create an "Add Device" button
      • Create an "Add Device" form, to be used with the primary modal
      • Form should use a Pinia action to call a service endpoint to send form data
      • Refresh the device table after adding a new device
        • Race condition: devices won't exist immediately after the add device request completes. Solve with timeout for now - will use something like a websocket in the future.
          • An alternative solution (until websockets), is to use a polling hook. There is an example of this in oaas-lite.
      • Add types/tests as necessary

      Out of scope:

      • Device and inventory management by deleting/modifying devices
      • SNMP agent management, such as communication ports, and SNMP agent version v1/v2c/v3
      • Websocket or other real-time functionality for new devices

      Attachments

        Issue Links

          Activity

            People

              Mike Mike
              geraldhumphries Gerald Humphries
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: