[PR #8722] [MERGED] Generalize scopeSelector js to allow easy reuse of existing layout configurations #13385

Closed
opened 2025-12-29 22:27:06 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8722
Author: @stephanblanke
Created: 2/22/2022
Status: Merged
Merged: 2/25/2022
Merged by: @thatmattlove

Base: developHead: develop


📝 Commits (2)

  • b1de85a Fixes #8710: Show/hide form elements based on scope selection
  • 1a7438a Fixed code comments

📊 Changes

3 files changed (+35 additions, -14 deletions)

View changed files

📝 netbox/project-static/dist/netbox.js (+7 -7)
📝 netbox/project-static/dist/netbox.js.map (+1 -1)
📝 netbox/project-static/src/forms/scopeSelector.ts (+27 -6)

📄 Description

Fixes: #8710

The change allows to easily attach one scope selector configuration to multiple views.


🔄 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/8722 **Author:** [@stephanblanke](https://github.com/stephanblanke) **Created:** 2/22/2022 **Status:** ✅ Merged **Merged:** 2/25/2022 **Merged by:** [@thatmattlove](https://github.com/thatmattlove) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (2) - [`b1de85a`](https://github.com/netbox-community/netbox/commit/b1de85a44f8387b381d1eb7770d9ca2c5f63c503) Fixes #8710: Show/hide form elements based on scope selection - [`1a7438a`](https://github.com/netbox-community/netbox/commit/1a7438acfd9b8e4fbf37ea50b182c5cae97f6810) Fixed code comments ### 📊 Changes **3 files changed** (+35 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.js` (+7 -7) 📝 `netbox/project-static/dist/netbox.js.map` (+1 -1) 📝 `netbox/project-static/src/forms/scopeSelector.ts` (+27 -6) </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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #8710 <!-- Please include a summary of the proposed changes below. --> The change allows to easily attach one scope selector configuration to multiple views. --- <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 22:27:06 +01:00
adam closed this issue 2025-12-29 22:27:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13385