-
Notifications
You must be signed in to change notification settings - Fork 168
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
(fix): search option text shrinking in autocomplete #949
base: master
Are you sure you want to change the base?
Changes from 19 commits
7b4356a
e71fa87
7cc40a0
e816669
190845f
46ce0cc
3456907
5860b72
b296107
3d23661
0977d50
6677139
2e5a19d
5ab51fc
1acd87e
16b99aa
79090d5
d40c7d0
ee2f027
d9c6178
cf81946
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ function PageWrapper(props) { | |
} else if (searchType === SearchType.PROJECTS) { | ||
completions = await api.autocompleteProjects({ query, token }); | ||
completions = completions | ||
.filter(c=>( c.creator.id === props.auth.id && c.publish.type !== 1 )) | ||
// .filter(c=>( c.creator.id === props.auth.id && c.publish.type !== 1 )) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I will delete this line if there is no need to filter the projects and show all of them There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should show all projects here. I think we should remove this line and test if this works fine. This could be a regressions as Raymond suggests here: #419 (comment) |
||
.map(({ id, title, creator, images }) => ({ | ||
title, | ||
shortInfo: creator.username, | ||
|
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.
the first approach was keeping the username at right for big screens. You can see the comparison here
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.
Lets mover username below. I also wanted to highlight that for smaller screens where the title gets split in two lines and we get one more username line below, we need to align all this within the height of the image so everything looks proportional. At this time, it is bleeding from top and bottom a bit. Take design help if needed.