-
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
Advanced search #2199
Advanced search #2199
Conversation
huyxgit
commented
Apr 21, 2021
•
edited
Loading
edited
@humphd this question is a bit further when this advanced search component completed: should we wire up this search dialog to the searchButton on Nav bar instead of redirecting to search-page right away? |
@huynguyez good question. At some point (later) we might want to have a way to search from the main page without moving over to this page. For now, let's have a way to get to the advanced search from the search page, but not have that be the default. |
@huynguyez do you need help? I can hop on a call in about 2 hours and work on this so we can merge it. |
@izhuravlev sure, still problems with the dialog, state. What time? |
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.
Just a preliminary review. There's stuff other stuff I need to look at but this is a few stuff I caught
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.
You're probably going to have to update the SearchProvider so that you can access a state toggle value similar to SearchHelp. Look at how SearchHelp's toggle value is implemented in SearchProvider.tsx for reference
I can't input text into the search bar - sorry for the delay, we can stay on the call after the meeting and work on it till it's done |
@HyperTHD I tried to store the state in global but it still same. any idea? |
Not work when I store state in Context (search provider). But using states in local component is working as expected. Obviously this should be optimized later |
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.
Small change.
dialogContent: { | ||
background: '#eeeeee', | ||
height: '300px', | ||
color: 'black', |
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.
Instead of using black
you can use #000000
instead.
Hi @huyxgit, any update on this work? |
There is work in progress on the branch right here: I have cherry picked the beginning code for the modal, and have made more progress by implementing the backend for the advanced search from the PR that was added here: #2617 I am going to close this PR as it is abandoned, and I have picked up the issue. |