Skip to content

Conversation

ketan2jangid
Copy link
Contributor

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)

image

child: Text(
"${"for1".tr} \"${searchResScrController.queryString.value}\"",
style: Theme.of(context).textTheme.titleLarge,
),
Copy link
Owner

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.

Copy link
Owner

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.

@anandnet anandnet force-pushed the main branch 5 times, most recently from 9c53642 to 53d39ea Compare February 16, 2025 10:17
@ketan2jangid
Copy link
Contributor Author

@anandnet I have made the changes you have asked, not sure why the checks are failing. Can you check once?

@anandnet
Copy link
Owner

No worries, will check it tomorrow and let you know.

@ketan2jangid
Copy link
Contributor Author

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants