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

Styling/form labels #101

Merged
merged 3 commits into from
Jul 28, 2020
Merged

Styling/form labels #101

merged 3 commits into from
Jul 28, 2020

Conversation

rachael-t
Copy link
Contributor

Issue(s) related to this PR:

Type of change made:

  • Bugfix (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 not work as expected)
  • Styling- no new features

If this submission is a new feature:

  • Have you added an explanation of what your changes do?
  • Have you lint your code locally prior to submission?

Change Log:

  • Added labels to the FlyForm

Were there any challenges that arose? If so, how were they addressed?

Technical Debt:

  • None

Testing:

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?
  • All new and existing tests passed?
  • Have you run linter?

Test coverage = 45.93%

@C-Bandstra
Copy link
Contributor

Thank you for getting this done so fast!!

Comment on lines +141 to +144
export const uploadPhoto = async (photo) => {
try {
const response = await fetch(
"https://my-fly-box-api.herokuapp.com/api/v1/images",
Copy link
Contributor

Choose a reason for hiding this comment

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

A good call to move this to the ApiCalls. This make it the proper formatting for the fetch calls.


render() {
return (
<View style={styles.container}>
<Text style={styles.label}>Fly Name:</Text>
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for adding these labels for these input fields in the fly editing and adding page. This make things more understandable for the user when filling out fly information.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're welcome! Thanks for bringing this to the group's attention!

Copy link
Contributor

@TimNguyen21 TimNguyen21 left a comment

Choose a reason for hiding this comment

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

Thanks for adding the labels in the Fly form. This is a clean way to show the user what fields they are using.

@TimNguyen21 TimNguyen21 merged commit b4f0e6a into master Jul 28, 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.

Labels for Fly when editing or adding
3 participants