-
Notifications
You must be signed in to change notification settings - Fork 166
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
Recommendation bar text shrinking bug #433
Recommendation bar text shrinking bug #433
Conversation
…into prev-next-button-issue
Prev next button issue
…into recommendation_bar-text-shrinking-bug
@Deepanshu039 Can you paste a screenshot of a case where the title is very very long like "Making a windmill out of a toothpaste box which is green in color" |
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.
LGTM 🏳️🌈 Maybe we can merge this if long title case is handled properly
@tuxology this is how it is going to handle a very long text.. because in this case there won't be enough space available so in recommendation bar it first tries to show the max length of title considering there should be at-least some space left for creator_name(unique_name).
|
The design of this feels wrong imo. can we come up with a better design? |
@NdibeRaymond Wouldn't that be considered as another issue because I only fixed the issue which was asked i.e. shrinking of the main title before the creator name? |
Or it can all be bundled into one issue |
yeah that is also a great idea. |
@NdibeRaymond what type of design change do you suggest if you could just provide a hint. |
I'm not too opinionated about it, but do we really need to have a thumbnail of project image and the project creator name in a project search autocomplete @tuxology? I still feel that should be removed. They are costly to load and really don't do much except occupy space and make it harder to view the actual title that is being searched. Looking at the screenshots above, you can see that the title of project is paying the price. We can't even see the title properly |
@NdibeRaymond @tuxology if you could tell me what content to be shown in the search bar I can make a new commit. |
Ok, so @NdibeRaymond brings a good point to the table. This "added feature" is only useful when there is a large screen, otherwise, this is not a good utilization of space. While the addition of an image from he project being fetched is nice in terms of identifying if the searched result is what you want, doing this on smaller screen destroys the UX. However, there is a good middle ground I think. On smaller screen we can remove the name of creator and the project image. @Deepanshu039 Can you do that and then we can merge it and create a more broader issue about improving UX further? |
@tuxology @NdibeRaymond let me understand it, what you are suggesting here is, that the title, creator_name, and image should be shown in desktop mode while in the mobile size only the title should show no need to show creator_name and image. |
Yes, precisely 👍 |
so @tuxology @NdibeRaymond @AndrewLester I am a little confused here with the suggestions, not sure whether to keep the project image in the mobile size or not. |
yeah @AndrewLester the image indeed makes the suggestions more helpful but @NdibeRaymond @tuxology rightly pointed out that the image breaks the UI on smaller screens, so I was thinking about a workaround and this is what I came up with Not sure whether this aligns with our needs, But can you please review the design and suggest some improvements if this is of any use for our new search bar. @tuxology @NdibeRaymond @AndrewLester Thank you so much for your time. |
@Deepanshu039 Project image is a good idea to keep in the design - esp. when its clear we are searching for projects. A visual representation is a good way to navigate in terms of UX and will help the user be confident about a project they are about to click is the one they remember. However, do note that on smaller screens, it will be a bit difficult to keep the UX consistent given the space. We can have 3 grades - on really smaller screens (eg 5 inch screens or smaller resolutions) we will show just text. Another point to note is that we need to also tell users that if nothing was discovered in the suggestions, they can still hit the Enter button or click somewhere to go to a dedicated search results page. One way to do is to limit the list we have to 5-7 elements and have a last element called "More Results >" which the users can click and see all detailed results. For example, typing "light" on search bar shows 13 suggestions in dropdown, but when you click enter, you get 17 results. So we need to tell users that there could be more results awaiting. I would say, lets finish this PR by first implementing you suggestion #433 (comment) @Deepanshu039 and then we can create another PR for "More Results >" idea. @AndrewLester yes, I do agree to #433 (comment) We will go ahead with including images by default for most larger screen sizes. We won't implement the thumbnail thing yet. That is another layer of complexity where we have to create thumbnails and cache them on server properly first. |
We are now carrying forward work here this in this PR : #467 Closing this. |
Summary
fixed the shrinking of main text (title of project) in the search bar.
Description of PR here...
Closes #419
Fixed Screenshots
(Insert image, only for frontend)