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

Fixed accepted program description wrap issue #134

Merged
merged 8 commits into from
May 3, 2020
Merged

Conversation

thumn
Copy link
Contributor

@thumn thumn commented Apr 29, 2020

What's new in this PR

  • Store program descriptions now wrap as expected in the store details screen
  • Refactored accepted programs section into separate reusable components
  • Changed copy for SNAP Match program description
  • Added external link to DCCK's 5-for-5 program website
  • Fixed Store details scrolling is cut off on smaller devices #135 store details scrolling issues

How to review

Navigate to the store details screen for various stores and verify that the text is wrapping correctly and that everything looks clean.
Notable stores: Grubb's (has SNAP Match, EBT, WIC) and Nam's (has Healthy Rewards)

Relevant Links

Online sources

Related PRs

#98

Next steps

Store details screen is pretty much done after this, I think!
NOTE: Vertical text alignment in chips might be a hard issue to fix and probably won't be a priority given how much time we have left. It also doesn't really affect readability or accessibility. On some phones like mine, the bug might not show up, so maybe we can backlog it?

Screenshots

IMG_F8186CE8FE85-1

CC: @anniero98 @wangannie

@thumn thumn requested a review from wangannie April 29, 2020 06:48
@wangannie wangannie requested a review from kennethlien April 29, 2020 17:34
@@ -3,7 +3,6 @@ import { Linking } from 'expo';
import PropTypes from 'prop-types';
import React from 'react';
import { ScrollView, TouchableOpacity, View } from 'react-native';
import { Chip } from 'react-native-paper';
Copy link
Contributor

Choose a reason for hiding this comment

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

goodbye chippy :')

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's ok he just moved files : ' ) he's in a better place now :' )

Copy link
Member

@wangannie wangannie left a comment

Choose a reason for hiding this comment

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

Looks great! I agree that the icon and text alignment isn't the highest priority for now.

@wangannie wangannie merged commit 4293880 into master May 3, 2020
@wangannie wangannie deleted the thu/wrap-bug branch May 3, 2020 00:11
@wangannie wangannie linked an issue May 4, 2020 that may be closed by this pull request
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.

Store details scrolling is cut off on smaller devices offset icons / text overflow
3 participants