-
Notifications
You must be signed in to change notification settings - Fork 0
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 small changes #1
base: master
Are you sure you want to change the base?
Conversation
image_url: "string", | ||
deep_link: "string", | ||
deep_link_text: "string", | ||
}; |
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.
Hobbs: You should use real life data in your tests.
import Label from 'Label'; | ||
import Markdown from 'react-native-markdown-renderer'; | ||
import PropTypes from 'prop-types'; | ||
import styles from 'SkillzNewsMessageCellStyles'; | ||
import DeepLinkUtils from 'DeepLinkUtils'; |
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.
Hobbs: This isn't in alphabetical order, fix it.
@@ -20,7 +23,22 @@ export default class SkillzNewsMessageCell extends React.PureComponent { | |||
newsArticle: PropTypes.object.isRequired, | |||
} | |||
|
|||
constructor(props: any) { |
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.
Hobbs: This should obviously be a stateless component, do you have any real need for state here, why are you using it?
Calvin: Hobbes, can I just fix these later? I have a team demo in an hour and need these changes to be in the build. |
|
||
fakemesageForError(): SkillzNewsMessage { |
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.
Hobbs: I would not have put this function here.
What changes are included in this pull request?
How were the changes tested locally?
Are the following completed?
yarn test
)Status of any added tests?
Any screenshots/gifs for visual changes?
Who is the first round reviewer?
Hobbs