Skip to content
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

feature(search): Implement search feature app #37

Conversation

benfluleck
Copy link
Owner

Implementation of search functionality on the client side web app.

Description

  • Search input for All Books
  • Search works after first three words of search item is inputted

What does this PR do?

Description of Task to be completed?

Screenshots (if appropriate):

screen shot 2017-11-29 at 11 03 02 pm

screen shot 2017-11-29 at 11 03 21 pm

Any background context you want to provide?

What are the relevant pivotal tracker stories?

https://www.pivotaltracker.com/story/show/153149549

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • New chore (expected functionality to be implemented)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

- Implemented search function for app utilising search books api
- Implemented search component and strategy on reducer
[Delivers #153149549]
}

.react-autosuggest__container{
padding-top: 5.5px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

// margin-left: -6px;
}

.react-autosuggest__container{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selector react-autosuggest__container should be written in lowercase with hyphens
Opening curly brace { should be preceded by one space


i.medium{
font-size: 2.5rem ;
padding-top: 14px ;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs
Declaration should not have a space before the terminating semicolon

}

i.medium{
font-size: 2.5rem ;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs
Declaration should not have a space before the terminating semicolon

height: 2.4rem !important;
}

i.medium{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid qualifying class selectors with an element.
Opening curly brace { should be preceded by one space

@@ -1,18 +1,20 @@
import React from 'react';
import { Row } from 'react-materialize';
import { Row, Icon, Col } from 'react-materialize';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Icon' is defined but never used no-unused-vars
'Col' is defined but never used no-unused-vars
Missing file extension for "react-materialize" import/extensions
Unable to resolve path to module 'react-materialize' import/no-unresolved

@@ -5,6 +5,7 @@ import { Row, Preloader, Col } from 'react-materialize';
import Book from '../../presentation/common/book/DisplayBook.jsx';
import { fetchAllBooks } from '../../../actions/fetchbooks';
import PaginationWrapper from '../common/Pagination.jsx';
import SearchBooks from '../../presentation/common/book/SearchBooks.jsx';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module '../../presentation/common/book/SearchBooks.jsx' import/no-unresolved
Unexpected use of file extension "jsx" for "../../presentation/common/book/SearchBooks.jsx" import/extensions

SEARCH_BOOKS_SUCCESS,
SEARCH_BOOKS_FAILURE
} from './actiontype';
import api from './api';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './api' import/no-unresolved
Missing file extension for "./api" import/extensions

import {
SEARCH_BOOKS_SUCCESS,
SEARCH_BOOKS_FAILURE
} from './actiontype';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './actiontype' import/no-unresolved
Missing file extension for "./actiontype" import/extensions

@@ -0,0 +1,29 @@
import { showErrorNotification } from './notifications';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './notifications' import/no-unresolved
Missing file extension for "./notifications" import/extensions

@benfluleck benfluleck merged commit 27e7bb4 into development Nov 29, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 953ea00 on chore/153149549/users-should-be-able-to-search-for-books into ** on development**.

@benfluleck benfluleck temporarily deployed to staging-hellobooks November 29, 2017 23:05 Inactive
@benfluleck benfluleck deleted the chore/153149549/users-should-be-able-to-search-for-books branch December 13, 2017 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants