[GH-ISSUE #412] Browser Search not working properly #4668

Closed
opened 2026-03-01 15:35:08 +03:00 by kerem · 2 comments
Owner

Originally created by @bitsky6 on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/412

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Manage Sites -> Sites Lists'
  2. Click on 'any of the configs'
  3. When you have it open in advanced mode and try to search the content of a larger config that needs scrolling as it can't fit in one page you press CTRL + F as usually to search for a word.
  4. It will only match what is on the current page, as soon as I try to scroll down the match disappears and wont see all of them.
  5. Would be preferable maybe the search to be inside the editor on the top so can actually search inside the config for specific words.

Expected behavior
I expect when I open in advanced mode the config and I want to search for the word for example "socket" it will match all words inside the config with simply pressing CTRL + F so can find and replace in case need multiple matches.

Screenshots
On this page I search for the word socket and gives me 6 matches.
But if I actually scroll down inside the config are 2 more socket words which are not matched unless scrolled down.
This can be dangerous in case you think have found all the changes you need but actually you missed some.
image

image

Info (please complete the following information):

  • Server OS: Docker
  • Server Arch: [e.g. x86, ]
  • Nginx UI Version: 2.0.0-beta.24 (135)
  • Your Browser: [e.g. Chrome, Firefox]
Originally created by @bitsky6 on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/412 **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Manage Sites -> Sites Lists' 2. Click on 'any of the configs' 3. When you have it open in advanced mode and try to search the content of a larger config that needs scrolling as it can't fit in one page you press CTRL + F as usually to search for a word. 4. It will only match what is on the current page, as soon as I try to scroll down the match disappears and wont see all of them. 5. Would be preferable maybe the search to be inside the editor on the top so can actually search inside the config for specific words. **Expected behavior** I expect when I open in advanced mode the config and I want to search for the word for example "socket" it will match all words inside the config with simply pressing CTRL + F so can find and replace in case need multiple matches. **Screenshots** On this page I search for the word socket and gives me 6 matches. But if I actually scroll down inside the config are 2 more socket words which are not matched unless scrolled down. This can be dangerous in case you think have found all the changes you need but actually you missed some. ![image](https://github.com/0xJacky/nginx-ui/assets/57507315/31294731-be69-42bd-9fde-16a9610d038c) ![image](https://github.com/0xJacky/nginx-ui/assets/57507315/5d192853-7945-4073-b3b7-8d6246fc72e1) **Info (please complete the following information):** - Server OS: Docker - Server Arch: [e.g. x86, ] - Nginx UI Version: 2.0.0-beta.24 (135) - Your Browser: [e.g. Chrome, Firefox]
kerem 2026-03-01 15:35:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Jun 7, 2024):

Hi @bitsky6, I just load the search box module of ace editor for it, and you will be able to use the search feature by pressing Ctrl+F (Command+F for macOS) in next beta version of Nginx UI.

image
<!-- gh-comment-id:2154607205 --> @0xJacky commented on GitHub (Jun 7, 2024): Hi @bitsky6, I just load the search box module of ace editor for it, and you will be able to use the search feature by pressing Ctrl+F (Command+F for macOS) in next beta version of Nginx UI. <img width="853" alt="image" src="https://github.com/0xJacky/nginx-ui/assets/13096985/c85ed329-8497-47fc-9a83-1432347dd89f">
Author
Owner

@bitsky6 commented on GitHub (Jun 7, 2024):

Thanks for the feedback will wait on the new one having this.

<!-- gh-comment-id:2154610589 --> @bitsky6 commented on GitHub (Jun 7, 2024): Thanks for the feedback will wait on the new one having this.
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/nginx-ui#4668
No description provided.