-
Notifications
You must be signed in to change notification settings - Fork 4
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
#161966583 Search #17
Conversation
36a1051
to
2642651
Compare
2642651
to
cf2bc9d
Compare
cf2bc9d
to
61cad64
Compare
61cad64
to
24bc201
Compare
24bc201
to
82bdb5c
Compare
82bdb5c
to
069d493
Compare
069d493
to
b8c98fe
Compare
switch (action.type) { | ||
case types.SEARCH_SUBMIT: | ||
return { | ||
...state, results: null, keyWords: action.searchKeyWords, loading: true, |
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.
why is results given the value null?
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.
That clears the current search page when the user submits a new search.
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.
Resolve your merge conflicts
b8c98fe
to
db41ea2
Compare
- allows user to search the articles by author, title or tag [#161966583]t
db41ea2
to
8ff5981
Compare
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!
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.
Looks good to me.
What does this pull request do?
Description of the tasks to be completed?
How should this be manually tested?
clone the repo
https://github.com/andela/ah-technocrats-frontend.git
change to the cloned directory
cd ah-technocrats-frontend
git checkout t-search-161966583
to checkout to this branchrun
npm install
to install the application.run npm start
From the search bar, you should be able to enter a search query. Press enter to perfom the search.
What are the relevant Pivotal Tracker Stories
#161966583
Checklist: