Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This adds a dedicated "Search" button to the UI for simple viewer. #111

Closed
wants to merge 1 commit into from

Conversation

jamie-lemon
Copy link
Collaborator

Addresses issues #78 & #98
A listener for search input doesn't work well
with language input methods which convert
words into kanji or Chinese characters.
This adds a dedicated search button and
ensures that the previous & next buttons
are shown and hidden as required.
It also prints out better syntax for the search
information.

Addresses issues #78 & #98
A listener for search input doesn't work well
with language input methods which convert
words into kanji or Chinese characters.
This adds a dedicated search button and
ensures that the previous & next buttons
are shown and hidden as required.
It also prints out better syntax for the search
information.
@jamie-lemon jamie-lemon requested a review from mipo1357 August 28, 2024 13:27
@jamie-lemon
Copy link
Collaborator Author

Fix for: #98

@xybei
Copy link
Contributor

xybei commented Aug 30, 2024

Adding a "Search" button is an innovative idea, but there is a small flaw in my test.

If the target word only appears in the pages before the current page, clicking "Search" cannot trigger the display of "Prev" or "Next", and thus cannot search for the previous words.

Considering that search boxes usually use two buttons, I submitted a pull request #112. Please see if it is acceptable?

@jamie-lemon jamie-lemon closed this Sep 3, 2024
@jamie-lemon jamie-lemon deleted the simple-viewer-ui-update branch September 3, 2024 12:12
@github-actions github-actions bot locked and limited conversation to collaborators Sep 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants