[PR #12335] [CLOSED] Fixes color mode selection #13948

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12335
Author: @abhi1693
Created: 4/24/2023
Status: Closed

Base: developHead: fix/color-mode


📝 Commits (7)

  • 8447a2b introduce system theme
  • aba00ca fix initial value in preferences
  • 01d1e7a simplify color mode selection
  • 9687170 Merge remote-tracking branch 'origin/feature' into fix/color-mode
  • c9fcd68 Merge remote-tracking branch 'origin/feature' into fix/color-mode
  • 51d9aec updated dist
  • 4dea39c Merge branch 'develop' into fix/color-mode

📊 Changes

8 files changed (+48 additions, -217 deletions)

View changed files

📝 netbox/netbox/preferences.py (+3 -1)
📝 netbox/project-static/dist/netbox.js (+9 -9)
📝 netbox/project-static/dist/netbox.js.map (+2 -2)
📝 netbox/project-static/js/setmode.js (+32 -62)
netbox/project-static/src/colorMode.ts (+0 -134)
📝 netbox/project-static/src/netbox.ts (+0 -2)
📝 netbox/templates/base/base.html (+1 -7)
📝 netbox/users/forms.py (+1 -0)

📄 Description

Fixes: #12330


🔄 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/12335 **Author:** [@abhi1693](https://github.com/abhi1693) **Created:** 4/24/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `fix/color-mode` --- ### 📝 Commits (7) - [`8447a2b`](https://github.com/netbox-community/netbox/commit/8447a2b491406959376b85c2fb7251f6fc0937df) introduce system theme - [`aba00ca`](https://github.com/netbox-community/netbox/commit/aba00ca01df1a8bbe1152dbac0bb8e34de82bbf3) fix initial value in preferences - [`01d1e7a`](https://github.com/netbox-community/netbox/commit/01d1e7adbcefb17b527e14e2c47f207b51c42704) simplify color mode selection - [`9687170`](https://github.com/netbox-community/netbox/commit/9687170526b9fb8dcdc17b40c139075d2ded4afa) Merge remote-tracking branch 'origin/feature' into fix/color-mode - [`c9fcd68`](https://github.com/netbox-community/netbox/commit/c9fcd6897c0ad1cba8bedd3e6f39bfc2917f170f) Merge remote-tracking branch 'origin/feature' into fix/color-mode - [`51d9aec`](https://github.com/netbox-community/netbox/commit/51d9aec61dfa82f0911bb294ac891eda5ce3b1db) updated dist - [`4dea39c`](https://github.com/netbox-community/netbox/commit/4dea39cc56a6b9d9df5154bfbeaacf4d2ebfba83) Merge branch 'develop' into fix/color-mode ### 📊 Changes **8 files changed** (+48 additions, -217 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/preferences.py` (+3 -1) 📝 `netbox/project-static/dist/netbox.js` (+9 -9) 📝 `netbox/project-static/dist/netbox.js.map` (+2 -2) 📝 `netbox/project-static/js/setmode.js` (+32 -62) ➖ `netbox/project-static/src/colorMode.ts` (+0 -134) 📝 `netbox/project-static/src/netbox.ts` (+0 -2) 📝 `netbox/templates/base/base.html` (+1 -7) 📝 `netbox/users/forms.py` (+1 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #12330 <!-- Please include a summary of the proposed changes below. --> --- <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:21:42 +01:00
adam closed this issue 2025-12-29 23:21:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13948