[PR #9964] [MERGED] Add a "clear" button for quick search #13538

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9964
Author: @jsenecal
Created: 8/9/2022
Status: Merged
Merged: 8/11/2022
Merged by: @jeremystretch

Base: developHead: feat9857


📝 Commits (1)

  • f74b7aa Add a "clear" button for quick search

📊 Changes

13 files changed (+177 additions, -104 deletions)

View changed files

📝 netbox/project-static/dist/netbox-dark.css (+1 -1)
📝 netbox/project-static/dist/netbox-light.css (+1 -1)
📝 netbox/project-static/dist/netbox-print.css (+1 -1)
📝 netbox/project-static/dist/netbox.js (+7 -7)
📝 netbox/project-static/dist/netbox.js.map (+1 -1)
📝 netbox/project-static/src/search.ts (+44 -0)
📝 netbox/project-static/styles/netbox.scss (+21 -0)
📝 netbox/project-static/styles/overrides.scss (+8 -0)
📝 netbox/project-static/styles/theme-dark.scss (+4 -0)
📝 netbox/project-static/styles/theme-light.scss (+1 -2)
📝 netbox/project-static/styles/utilities.scss (+6 -0)
📝 netbox/templates/dcim/device/interfaces.html (+70 -69)
📝 netbox/templates/inc/table_controls_htmx.html (+12 -22)

📄 Description

Fixes: #9857

Proposed functionality
Add a button next to the quick search field on object lists to clear the search value and reload the entire object list.

Use case
Provides a slightly more convenient user experience when utilizing the quick search feature.


🔄 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/9964 **Author:** [@jsenecal](https://github.com/jsenecal) **Created:** 8/9/2022 **Status:** ✅ Merged **Merged:** 8/11/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `feat9857` --- ### 📝 Commits (1) - [`f74b7aa`](https://github.com/netbox-community/netbox/commit/f74b7aa7acb6ee9f84e9d4ff237c33bac92cc0d8) Add a "clear" button for quick search ### 📊 Changes **13 files changed** (+177 additions, -104 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox-dark.css` (+1 -1) 📝 `netbox/project-static/dist/netbox-light.css` (+1 -1) 📝 `netbox/project-static/dist/netbox-print.css` (+1 -1) 📝 `netbox/project-static/dist/netbox.js` (+7 -7) 📝 `netbox/project-static/dist/netbox.js.map` (+1 -1) 📝 `netbox/project-static/src/search.ts` (+44 -0) 📝 `netbox/project-static/styles/netbox.scss` (+21 -0) 📝 `netbox/project-static/styles/overrides.scss` (+8 -0) 📝 `netbox/project-static/styles/theme-dark.scss` (+4 -0) 📝 `netbox/project-static/styles/theme-light.scss` (+1 -2) 📝 `netbox/project-static/styles/utilities.scss` (+6 -0) 📝 `netbox/templates/dcim/device/interfaces.html` (+70 -69) 📝 `netbox/templates/inc/table_controls_htmx.html` (+12 -22) </details> ### 📄 Description ### Fixes: #9857 **Proposed functionality** Add a button next to the quick search field on object lists to clear the search value and reload the entire object list. **Use case** Provides a slightly more convenient user experience when utilizing the quick search feature. --- <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:19:26 +01:00
adam closed this issue 2025-12-29 23:19:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13538