opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
207 stars 17 forks source link

bug: search anywhere does not show the namespace of nodes that inherit from the BuiltinIPAddress or BuiltinIPPrefix #3577

Open wvandeun opened 5 months ago

wvandeun commented 5 months ago

Component

Frontend UI

Current Behavior

When you search for an IP address or IP prefix using the search anywhere feature, it doesn't show the IP namespace in which they exist. This makes it harder to identify the IP Address or IP Prefix you were searching for, especially if the node exists in more namespaces. image

Expected Behavior

The IP Namespace of nodes inheriting from BuiltinIPAddress or BuiltinIPPrefix, should be shown in the search anywhere results

Steps to Reproduce

Additional Information

No response

dgarros commented 5 months ago

This is something we need to fix but I don't think this can be done just on the frontend today.

I think it's highlighting the need to refactor display labels to also include relationships, similar to what we can do with the uniqueness_constraints and the hfid now.