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

#156266036 Reply Review #94

Merged
merged 11 commits into from
Apr 8, 2018
Merged

#156266036 Reply Review #94

merged 11 commits into from
Apr 8, 2018

Conversation

emasys
Copy link
Owner

@emasys emasys commented Apr 8, 2018

What does this PR do?

Enable a review to have a reply

Description of Task to be completed?

A user should be able to reply a review of another user

How should this be manually tested?

N/A

Any background context you want to provide?

N/A

What are the relevant pivotal tracker stories?

story type: feature
story Id: 156266036
story title: Reply Review

Screenshots (if appropriate)

screen shot 2018-04-08 at 9 04 39 am

Questions:

N/A

@emasys emasys merged commit fb4f4ab into develop Apr 8, 2018
@@ -1,5 +1,5 @@
import { Users, Recipes } from '../../models';
import { setStatus, notFoundDispatcher } from '../../middleware/helper';
import { setStatus } from '../../middleware/helper';

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 '../../middleware/helper' import/no-unresolved
Missing file extension for "../../middleware/helper" import/extensions

@@ -6,7 +6,7 @@ import {
serverErrorDispatcher
} from '../middleware/helper';
import { postReview, fetchReview, deleteReviewEntry } from '../services/review';
import { Recipes, Reviews, Users } from '../models';
import { Recipes, Reviews, Users, ReviewsReply } from '../models';

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 '../models' import/no-unresolved
Missing file extension for "../models" import/extensions


// .reply-wrapper {
// background:

Choose a reason for hiding this comment

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

Files should end with a trailing newline

}

// .reply-wrapper {

Choose a reason for hiding this comment

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

Line contains trailing whitespace

color: rgba(0, 0, 0, 0.411); // top: 1rem;
z-index: 2;
font-size: 1rem;

Choose a reason for hiding this comment

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

Property color already defined on line 1104
Color darkgray should be written in hexadecimal form as #a9a9a9
Color literals like darkgray should only be used in variable declarations; they should be referred to via variable everywhere else.

@@ -29,6 +29,11 @@ export default (
...state,
delete_reviews: action.payload
};
case type.GET_REPLIES:
return {
...state,

Choose a reason for hiding this comment

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

Expected indentation of 8 spaces but found 6 indent

@@ -29,6 +29,11 @@ export default (
...state,
delete_reviews: action.payload
};
case type.GET_REPLIES:
return {

Choose a reason for hiding this comment

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

Expected indentation of 6 spaces but found 4 indent

@@ -29,6 +29,11 @@ export default (
...state,
delete_reviews: action.payload
};
case type.GET_REPLIES:

Choose a reason for hiding this comment

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

Expected indentation of 4 spaces but found 2 indent

<div className="container reply-container">
{showForm && (
<form
onSubmit={event => {

Choose a reason for hiding this comment

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

Expected parentheses around arrow function argument having a body with curly braces arrow-parens

)}
{!showReply &&
comment.reviewsreply.length + increment === 0 && (
<a> No reply </a>

Choose a reason for hiding this comment

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

The href attribute is required on an anchor. Provide a valid, navigable address as the href value jsx-a11y/anchor-is-valid

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.

2 participants