kytos-ng / pathfinder

Kytos main path finder Network Application (NApp)
https://kytos-ng.github.io/api/pathfinder.html
MIT License
0 stars 7 forks source link

ui: Replace source and destination `k-dropdown` with `k-input-auto` (autocompletion) #16

Closed viniarck closed 1 year ago

viniarck commented 2 years ago

Currently, the k-tool-bar component is setting both the source and destination with these k-dropdown, but it's desirable to have a k-input auto instead with autocompletion, similarly to what this mef_eline component has.

The autocompletion should behave more or less like this, and the name of the displayed interfaces should be preferably ${interface_obj.metadata.port_name} - ${id}, if the metadata.port_name is set and not empty, otherwise it should be ${interface_obj.name} - ${id}: 2022-02-23-114133_231x308_scrot

The payload of the request shouldn't change though, the id is still expected to be sent.