Skip to content

Trevor.Lujan.Advanced1#12

Open
trevorlujan123 wants to merge 11 commits intoAustinCodingAcademy:masterfrom
trevorlujan123:master
Open

Trevor.Lujan.Advanced1#12
trevorlujan123 wants to merge 11 commits intoAustinCodingAcademy:masterfrom
trevorlujan123:master

Conversation

@trevorlujan123
Copy link

No description provided.

@michaeb
Copy link

michaeb commented Feb 3, 2017

Really nice work Trevor, I pulled it down and everything looks great. Nice work on the highlighter and the use of stateless functional components.

return (
<Action
key={action._id}
action={action}
Copy link

Choose a reason for hiding this comment

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

Inside of Action.js you're trying to access the actionMessage property of action, so make sure you're actually passing in an object. I think right now you're passing a string value.

Copy link
Contributor

@ivome ivome left a comment

Choose a reason for hiding this comment

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

Great job!! Clean code, nice functionality, keep it up!!


.unselect-button, .select-button{
background-color: #005eff;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Styles would be better placed in the css files for the corresponding component.

@@ -0,0 +1,17 @@
import React, {PropTypes} from 'react';

const Action = props => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would be careful with the naming here. Action usually refers to an actual action. So maybe ActionHistoryListItem would be more descriptive.

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.

3 participants