-
Notifications
You must be signed in to change notification settings - Fork 189
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
Issue 1224 Reposition search button for search UI #1381
Conversation
This is a small nit, but can you center it more between the end of the text box and the edge of the container? |
@agarcia-caicedo I will work on that. |
Can we edit the title of this PR? |
@agarcia-caicedo I centered the icon button. |
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.
@humphd I am trying to figure this one out. |
@humphd fulfilled request, it now works on small windows. |
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.
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.
A suggestion, but in mobile screens, rather than have the filter and the search input take up two lines, like it currently does, we can shrink the filter so it takes up less space and have both the filter and search in one line. That way there could be space for the search button |
@agarcia-caicedo @humphd @strawberries73 I tried to use Input Adornments for the Textfield and It works pretty nice. I prefer its default (light grey) color than blue for the search icon. |
@VIETNAMEZE I like it personally. How does it look on mobile? |
@strawberries73 Same as the gif above |
@VIETNAMEZE I think that's a viable solution. I'm not a fan of how the button looks with the fix, but that could be a follow up issue, since it's more of a purely aesthetic nit |
@agarcia-caicedo That's why I prefered the search icon to be in grey color, the blue doesn't look nice. it doesn't need to be stand out too much since people more likely to hit 'enter' than press the button |
I do remember @humphd wanting a button that looks like a button, so that's why I'm hesitate to make it less noticeable and more like a decoration |
@agarcia-caicedo I was able to put the changes in that @VIETNAMEZE suggested. Personally I like the blue search button. :) |
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.
OK, I think this direction will work. In a follow-up we can revisit the actual look and feel, I'm not sure the blue is ideal here, but it doesn't need to block things.
However, your branch management has undone a number of things on master
when you did Merge branch 'master' into Issue-1224
with commit f291f8d
. For example, clicking the adornment no longer does a search, and we get errors in the console. Please make sure you re-read the git workflow document I linked on Blackboard: https://github.com/Seneca-CDOT/telescope/blob/master/docs/git-workflow.md.
If you're able to rebase and correct these merge conflicts, that would be good. If not, please close this and open a new PR that only changes the code related to the new <InputAdornment>
.
Issue This PR Addresses
Fixes #1224
Type of Change
Description
Moved the Icon search button (magnifying glass) down into the right of the input text box. Works for all devices.
Checklist