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 small changes #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Feature small changes #1

wants to merge 3 commits into from

Conversation

hle-skillz
Copy link
Owner

What changes are included in this pull request?

  • Deep linking, error handling, and game icons.

How were the changes tested locally?

  1. Tested on iOS simulator

Are the following completed?

  • All Jest tests passing? (verify via yarn test)
  • New code additions include tests?
  • Changes in this PR reviewed by myself before requesting a review?
  • Formatted Jira ticket number in the title? e.g. [PS-1234]

Status of any added tests?

  • Add a screenshot here of test status.

Any screenshots/gifs for visual changes?

Who is the first round reviewer?

Hobbs

Comment on lines +26 to +29
image_url: "string",
deep_link: "string",
deep_link_text: "string",
};
Copy link
Owner Author

@hle-skillz hle-skillz Feb 21, 2020

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';
Copy link
Owner Author

@hle-skillz hle-skillz Feb 21, 2020

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) {
Copy link
Owner Author

@hle-skillz hle-skillz Feb 21, 2020

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?

@hle-skillz
Copy link
Owner Author

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.

Comment on lines +30 to +31

fakemesageForError(): SkillzNewsMessage {
Copy link
Owner Author

@hle-skillz hle-skillz Feb 22, 2020

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.

@hle-skillz hle-skillz changed the title [PS-1234] Couple quick features added to Skillz news #1 Feature small changes Mar 13, 2020
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.

1 participant