Feature request: Reset button and hotkeys for resetting the filter and returning to My Devices #2073

Closed
opened 2026-02-20 09:03:13 -05:00 by deekerman · 5 comments
Owner

Originally created by @veitw on GitHub (Feb 16, 2021).

Originally assigned to: @Ylianst on GitHub.

Hi,

we make extensive use of the filter to manage our hundreds of clients and I would love to see a button inside or right of the filter input to reset the filter.
Even more I would appreciate some hotkeys to reset the filter and one to return to the My Devices view (at least if not currently in a terminal or desktop session), e.g. Esc and Ctrl+Esc.

As a PoC for the reset button, I injected

<button type="button" onclick="clearDeviceSearch()" style="padding: 0px; text-align: center; vertical-align: middle; width: 20px; height: 20px; border-radius: 50%; border: 0px; background-color: #eee; margin-left: -30px">&times;</button>

right after the filter search input, as shown here:

image

I know this is most probably not the way you would implement it and it is not very good looking -- this is just a PoC. ;)

Thanks for the great software and best regards,
// Veit

Originally created by @veitw on GitHub (Feb 16, 2021). Originally assigned to: @Ylianst on GitHub. Hi, we make extensive use of the filter to manage our hundreds of clients and I would love to see a button inside or right of the filter input to reset the filter. Even more I would appreciate some hotkeys to reset the filter and one to return to the My Devices view (at least if not currently in a terminal or desktop session), e.g. Esc and Ctrl+Esc. As a PoC for the reset button, I injected ``` <button type="button" onclick="clearDeviceSearch()" style="padding: 0px; text-align: center; vertical-align: middle; width: 20px; height: 20px; border-radius: 50%; border: 0px; background-color: #eee; margin-left: -30px">&times;</button> ``` right after the filter search input, as shown here: ![image](https://user-images.githubusercontent.com/16285895/108084909-0dcdae80-7075-11eb-96c8-e89c21140ae0.png) I know this is most probably not the way you would implement it and it is not very good looking -- this is just a PoC. ;) Thanks for the great software and best regards, // Veit
Author
Owner

@Ylianst commented on GitHub (Feb 16, 2021):

Right now, if you press the ESC key, it will clear the filter box. I can look at adding a clearing box.

@Ylianst commented on GitHub (Feb 16, 2021): Right now, if you press the `ESC` key, it will clear the filter box. I can look at adding a clearing box.
Author
Owner

@veitw commented on GitHub (Feb 17, 2021):

Right now, if you press the ESC key, it will clear the filter box.

Oh, actually! I was confident this was not possible yet. Thank you very much and sorry for the confusion.

Have you thought about the idea to add other (global, as long as you do not have an active desktop or terminal session that require keyboard focus) hotkey combinations, such as the suggested Ctrl+Esc to jump back to the My Devices tab (or as a "reset view" hotkey, that also resets filter along with returning to My Devices)?

@veitw commented on GitHub (Feb 17, 2021): > Right now, if you press the `ESC` key, it will clear the filter box. Oh, actually! I was confident this was not possible yet. Thank you very much and sorry for the confusion. Have you thought about the idea to add other (global, as long as you do not have an active desktop or terminal session that require keyboard focus) hotkey combinations, such as the suggested Ctrl+Esc to jump back to the My Devices tab (or as a "reset view" hotkey, that also resets filter along with returning to My Devices)?
Author
Owner

@Ylianst commented on GitHub (Feb 18, 2021):

Published MeshCentral v0.7.72 with a search clear button when in FireFox. Chrome and Edge already showed such a button since the input box was of "search" type.

image

Let me know if that works. For other requests, please open a new issue, that way we can track better. Thanks.

@Ylianst commented on GitHub (Feb 18, 2021): Published MeshCentral v0.7.72 with a search clear button when in FireFox. Chrome and Edge already showed such a button since the input box was of "search" type. ![image](https://user-images.githubusercontent.com/1319013/108431987-8610ad00-71f8-11eb-94b3-2295dda96a0d.png) Let me know if that works. For other requests, please open a new issue, that way we can track better. Thanks.
Author
Owner

@veitw commented on GitHub (Feb 25, 2021):

@Ylianst: Works great, thank you!

Have you thought about implementing a "reset view" feature as mentioned above?
The idea was to have a hotkey combination (e.g. Ctrl+Esc) to jump back to the My Devices tab from anywhere, unless there is an active desktop or terminal sessionwhich requires keyboard focus.

@veitw commented on GitHub (Feb 25, 2021): @Ylianst: Works great, thank you! Have you thought about implementing a "reset view" feature as mentioned above? The idea was to have a hotkey combination (e.g. Ctrl+Esc) to jump back to the My Devices tab from anywhere, unless there is an active desktop or terminal sessionwhich requires keyboard focus.
Author
Owner

@Ylianst commented on GitHub (Feb 26, 2021):

Not a bad idea. Open a new issue with it and I will look at adding it in.

@Ylianst commented on GitHub (Feb 26, 2021): Not a bad idea. Open a new issue with it and I will look at adding it in.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MeshCentral#2073
No description provided.