[PR #13866] [MERGED] Fixes #13864: Remove 'default' choice for dashboard widget color #14267

Closed
opened 2025-12-29 23:23:31 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13866
Author: @jeremystretch
Created: 9/22/2023
Status: Merged
Merged: 9/26/2023
Merged by: @jeremystretch

Base: developHead: 13864-dashboard-widget-color


📝 Commits (1)

  • 77c741b Fixes #13864: Remove 'default' choice for dashboard widget color

📊 Changes

2 files changed (+38 additions, -2 deletions)

View changed files

📝 netbox/extras/choices.py (+36 -0)
📝 netbox/extras/dashboard/forms.py (+2 -2)

📄 Description

Fixes: #13864

  • Create DashboardWidgetColorChoices
  • Remove the "default" option. An empty value will continue to default to the secondary Bootstrap color class

🔄 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/13866 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/22/2023 **Status:** ✅ Merged **Merged:** 9/26/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13864-dashboard-widget-color` --- ### 📝 Commits (1) - [`77c741b`](https://github.com/netbox-community/netbox/commit/77c741b2df65aa6ed5f6f368b094b4a20fbdc703) Fixes #13864: Remove 'default' choice for dashboard widget color ### 📊 Changes **2 files changed** (+38 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/choices.py` (+36 -0) 📝 `netbox/extras/dashboard/forms.py` (+2 -2) </details> ### 📄 Description ### Fixes: #13864 - Create `DashboardWidgetColorChoices` - Remove the "default" option. An empty value will continue to default to the `secondary` Bootstrap color class --- <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-29 23:23:31 +01:00
adam closed this issue 2025-12-29 23:23:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14267