autofocus on netbox search bar on dashboard page #8132

Closed
opened 2025-12-29 20:32:50 +01:00 by adam · 8 comments
Owner

Originally created by @ITJamie on GitHub (May 29, 2023).

NetBox version

v3.5.2

Feature type

New functionality

Proposed functionality

when netbox loads it would be great if the netbox search box had autofocus enabled on the dashboard page.

that way when a user loads the netbox default page url, they can instantly start searching for objects without having to tab to or click into the search box.

Use case

user accessability / ease of use adjustment

Database changes

No response

External dependencies

No response

Originally created by @ITJamie on GitHub (May 29, 2023). ### NetBox version v3.5.2 ### Feature type New functionality ### Proposed functionality when netbox loads it would be great if the netbox search box had autofocus enabled on the dashboard page. that way when a user loads the netbox default page url, they can instantly start searching for objects without having to tab to or click into the search box. ### Use case user accessability / ease of use adjustment ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: needs ownerpending closurecomplexity: low labels 2025-12-29 20:32:50 +01:00
adam closed this issue 2025-12-29 20:32:50 +01:00
Author
Owner

@PieterL75 commented on GitHub (Jun 8, 2023):

I once submitted the same FR https://github.com/netbox-community/netbox/issues/7839 and took a shot at the implementation.
But having the focus there, is not very practical when being on an edit form, then de focus should be on the main field..
that logic was very hard to handle (for me at least)

@PieterL75 commented on GitHub (Jun 8, 2023): I once submitted the same FR https://github.com/netbox-community/netbox/issues/7839 and took a shot at the implementation. But having the focus there, is not very practical when being on an edit form, then de focus should be on the main field.. that logic was very hard to handle (for me at least)
Author
Owner

@ITJamie commented on GitHub (Jun 8, 2023):

I think it should only have the autofocus flag if it is on the dashboard page

@ITJamie commented on GitHub (Jun 8, 2023): I think it should only have the autofocus flag if it is on the dashboard page
Author
Owner

@github-actions[bot] commented on GitHub (Sep 7, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Sep 7, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@abhi1693 commented on GitHub (Sep 7, 2023):

Instead of auto-focusing, we can add a way that when you hit / on your keyboard, the search comes into focus. This will avoid making too much logic of when it should or should not be in focus. You can test this feature via GitHub as well to get a taste of this. :)

@abhi1693 commented on GitHub (Sep 7, 2023): Instead of auto-focusing, we can add a way that when you hit `/` on your keyboard, the search comes into focus. This will avoid making too much logic of when it should or should not be in focus. You can test this feature via GitHub as well to get a taste of this. :)
Author
Owner

@PieterL75 commented on GitHub (Sep 10, 2023):

Now that sounds like an excellent idea !
can you submit the FR? I got a feeling that if your name is in the request, it is pickup up better by the maintainers

@PieterL75 commented on GitHub (Sep 10, 2023): Now that sounds like an excellent idea ! can you submit the FR? I got a feeling that if your name is in the request, it is pickup up better by the maintainers
Author
Owner

@yash-pal1 commented on GitHub (Sep 25, 2023):

assign to me

@yash-pal1 commented on GitHub (Sep 25, 2023): assign to me
Author
Owner

@github-actions[bot] commented on GitHub (Aug 24, 2024):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 24, 2024): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Oct 14, 2024):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Oct 14, 2024): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8132