mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5743] [Feature]: Add text search to node Select components #3993
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3993
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jshir700 on GitHub (Jul 2, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5743
Is your feature request related to a problem?
When managing many nodes, both the "Deploy To" dropdown in the add/edit inbound dialog and the node filter dropdown in the inbound list page only allow mouse-click selection. Typing on the keyboard does nothing, forcing users to scroll through the entire list to find a specific node. This becomes frustrating with 20+ nodes.
Describe the solution you'd like
Add
showSearchto both node-relatedSelectcomponents so users can type to filter the list by node name:1. Add/Edit Inbound Dialog — "Deploy To" field (
frontend/src/pages/inbounds/form/InboundFormModal.tsxlines 540-552):2. Inbound List Page — Node filter dropdown (
frontend/src/pages/inbounds/list/InboundList.tsxlines 173-179):Both selects already populate
labelwith the node name, so Ant Design's defaultshowSearchbehavior (filtering bylabel) works out of the box.Alternatives you've considered
filterOptionmanually — unnecessary sinceshowSearchalready defaults to filtering bylabel.Concrete use case
A user manages 30 proxy nodes across different regions (Tokyo, Singapore, Frankfurt, etc.). They need to deploy a new inbound to "法兰克福1-ARM1" — with the current dropdown they must scroll past 29 other nodes. With
showSearch, they can type "法兰克福" or "frankfurt" and the list filters instantly.Mockups, screenshots, or examples
Similar
showSearchis already used correctly elsewhere in the codebase:HostFormModal.tsx:168— Host page inbound selectorGeneralTab.tsx:200— Settings pageNodeFormModal.tsx:397— Node formFallbacksCard.tsx:74— Inbound fallback selectorsWhich parts of the panel would this affect?
Frontend (UI / panel pages)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 2, 2026):
Confirmed against the current source. Both
Selectcomponents are as described:frontend/src/pages/inbounds/form/InboundFormModal.tsx(around line 542) — the "Deploy To"Selectin the add/edit inbound dialog has noshowSearch.frontend/src/pages/inbounds/list/InboundList.tsx(around line 173) — the node filterSelecton the inbound list toolbar has noshowSearch.The proposed fix matches an existing convention already used in this codebase — e.g.
frontend/src/pages/nodes/NodeFormModal.tsx:397adds bareshowSearchto aSelectbacked by a plainoptionsarray (nofilterOptionoverride), and Ant Design's default search filters onoption.labelin that case. Since both target selects already populatelabelwith the node name, addingshowSearchalone should behave as described without extra filtering logic.This is a small, self-contained, low-risk frontend change, so it's labeled for anyone who wants to pick it up.
This reply was generated automatically. A maintainer may follow up.