-
Notifications
You must be signed in to change notification settings - Fork 211
Empty Search fix and search edit #408
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
base: main
Are you sure you want to change the base?
Conversation
child: Text( | ||
"${"for1".tr} \"${searchResScrController.queryString.value}\"", | ||
style: Theme.of(context).textTheme.titleLarge, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for delay in response. Please move gesture detector above this widget instead of whole.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have checked titleLarge does not seems good for small screen and also if user have long search string. Please revert that to titleMedium.
9c53642
to
53d39ea
Compare
@anandnet I have made the changes you have asked, not sure why the checks are failing. Can you check once? |
No worries, will check it tomorrow and let you know. |
Any update? |
These changes makes sure that the user is not able to make empty searches i.e. search for nothing (" ") and also removes leading and trailing spaces from searches, which doesn't look that good (eg below). Beside this, this PR also include change requested in issue #391 and now allows user to edit the searched text by tapping on it.
(A slight change is made in search result header, making the actual searched text bigger and making the 'Search results' text smaller, as it seemed a bit more logical to me to highlight the actual text)