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

Search Help Text Overflow #628

Closed
omargawdat opened this issue Jul 25, 2024 · 2 comments
Closed

Search Help Text Overflow #628

omargawdat opened this issue Jul 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@omargawdat
Copy link

omargawdat commented Jul 25, 2024

Unfold: 0.33.0
Django: 5
Browser: Latest Chrome

Bug:

search help text can't be displayed all within the search box, so i can't read the whole text.

Illustration Image:

image

Code:

    search_fields = ["phone_number", "company__username", "company__phone_number", "first_name", "last_name"]
    search_help_text = _("Search by phone number, company username, company phone number, first name, last name")

Suggestion:

we can show it all when the user hover over it as in the permissions.
image

@asfawayalk
Copy link

asfawayalk commented Jul 27, 2024

Good point also when the search bar is shown like this

UNFOLD = {
  "SIDEBAR": {
     "show_search": True
  }
}
  1. The result text will overflow if it is long and I can not read all of it. (Showing the whole text when hover is a good feature)
  2. If the list of the search result is long, it has to be scrollable. Now I can not access the results that are beyond the screen

@lukasvinclav lukasvinclav added the bug Something isn't working label Aug 19, 2024
@lukasvinclav
Copy link
Contributor

Fixed in #691

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants