[PR #18789] [MERGED] Closes #18774: Set title attribute of each tag to its description #15438

Closed
opened 2025-12-30 00:21:55 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18789
Author: @jamestiotio
Created: 3/3/2025
Status: Merged
Merged: 3/3/2025
Merged by: @bctiemann

Base: mainHead: 18774-tag-description


📝 Commits (1)

  • 06b5ff2 Closes #18774: Set title attribute of each tag to its description

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/utilities/templates/builtins/tag.html (+1 -1)

📄 Description

Closes: #18774

Set the title attribute of each tag to its description if the description is defined.

This feature would allow users to show a preview tooltip of the tag description when hovering over a tag in the Device and VM general views.

For example, given the following Alpha tag:

alpha_tag_details

The user would be able to hover over the Alpha tag in the Devices tab:

device_tag_description

And the Virtual Machines tab:

vm_tag_description


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/18789 **Author:** [@jamestiotio](https://github.com/jamestiotio) **Created:** 3/3/2025 **Status:** ✅ Merged **Merged:** 3/3/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `18774-tag-description` --- ### 📝 Commits (1) - [`06b5ff2`](https://github.com/netbox-community/netbox/commit/06b5ff2e4ae3a38db3576b00800076264b80dbad) Closes #18774: Set title attribute of each tag to its description ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/templates/builtins/tag.html` (+1 -1) </details> ### 📄 Description ### Closes: #18774 Set the `title` attribute of each tag to its description if the description is defined. This feature would allow users to show a preview tooltip of the tag description when hovering over a tag in the Device and VM general views. For example, given the following Alpha tag: ![alpha_tag_details](https://github.com/user-attachments/assets/bb11efbb-a827-40f5-a27e-923c93e58604) The user would be able to hover over the Alpha tag in the Devices tab: ![device_tag_description](https://github.com/user-attachments/assets/c6b276fe-d8d9-4c76-9480-bffa5221e0f8) And the Virtual Machines tab: ![vm_tag_description](https://github.com/user-attachments/assets/d5ec5577-3251-4dd5-b32d-bca105beed24) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:21:55 +01:00
adam closed this issue 2025-12-30 00:21:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15438