Add status to tooltip in rack elevation view #10501

Closed
opened 2025-12-29 21:32:19 +01:00 by adam · 1 comment
Owner

Originally created by @rodvand on GitHub (Nov 21, 2024).

Originally assigned to: @rodvand on GitHub.

NetBox version

v4.1.6

Feature type

New functionality

Triage priority

I volunteer to perform this work (if approved)

Proposed functionality

In the rack elevation view (/dcim/rack-elevations/) when hovering a racked device it includes some details.
Screenshot 2024-11-21 at 20 20 48

I propose that we include the device's status as well.

Use case

Some of my colleagues spend a good amount of time in the rack elevation view to plan and design future racks. Sometimes they power of devices planning for their removals. In this case they would leave the device in a 'Offline' status. For them to quickly be able to see if the device is 'offline' or 'active' they would like the status field to be included in the tooltip hover details.

Database changes

No response

External dependencies

No response

Originally created by @rodvand on GitHub (Nov 21, 2024). Originally assigned to: @rodvand on GitHub. ### NetBox version v4.1.6 ### Feature type New functionality ### Triage priority I volunteer to perform this work (if approved) ### Proposed functionality In the rack elevation view (/dcim/rack-elevations/) when hovering a racked device it includes some details. <img width="280" alt="Screenshot 2024-11-21 at 20 20 48" src="https://github.com/user-attachments/assets/7726f94c-f064-4da9-84b8-282f73e2d80c"> I propose that we include the device's status as well. ### Use case Some of my colleagues spend a good amount of time in the rack elevation view to plan and design future racks. Sometimes they power of devices planning for their removals. In this case they would leave the device in a 'Offline' status. For them to quickly be able to see if the device is 'offline' or 'active' they would like the status field to be included in the tooltip hover details. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:32:19 +01:00
adam closed this issue 2025-12-29 21:32:20 +01:00
Author
Owner

@rodvand commented on GitHub (Nov 21, 2024):

I believe the change needed would be to add the "Status: {device.status}" to this: 9c7f2ec98c/netbox/dcim/svg/racks.py (L56-L57)

@rodvand commented on GitHub (Nov 21, 2024): I believe the change needed would be to add the "Status: {device.status}" to this: https://github.com/netbox-community/netbox/blob/9c7f2ec98c13aede988e8fbee0d1e30b156a5e8f/netbox/dcim/svg/racks.py#L56-L57
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10501