-
Notifications
You must be signed in to change notification settings - Fork 805
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
Contact Info Block: changes for adaptation into a mobile block #17123
Conversation
…t-info. Moving google map setting to address block setting.
…ess fragments to use map instead of listing each entry.
…lesFromColorScheme to placeholderTextColor for dark mode. Using Rich Text placeholder text color.
Scheduled Jetpack release: November 3, 2020. E2E results is available here (for debugging purposes): https://jetpack-e2e-dashboard.herokuapp.com/pr-17123 Thank you for the great PR description! When this PR is ready for review, please apply the |
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.
Thank you for this PR @illusaen, it looks pretty good so far! 🎉
I'd ask you if you could add screenshots with the before-after comparison for @iamthomasbishop to have a look at the changes 🙏
I saw the conversation in the issue ticket but it's good to have a comparison on the PR itself too as documentation :)
About the changes on web, I agree with @iamthomasbishop that we shouldn't change web behaviour. At least no without their review and approval. I think this would be beyond this particular mobile project so we could create an issue for web devs about this when this PR is merged, to get their thoughts about it. How does it sound to you?
I also left a code comment about the keyboard type not working for me. Could you check that out?
Thanks!
…er on contact-info/address/edit in order to remove repeated code.
…for text and text-decoration for light and dark modes. Removing unused code.
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.
✅ Selecting contact info block instead of Email block on insert.
✅ Changing font size on child blocks to default 16px.
✅ Upping line height on child blocks with 2px padding. (I think it's 4px in code? Looks good to me though)
✅ Using Rich Text placeholder colors for dark and light modes.
✅ Pulled Link address to Google Maps toggle into block settings on Address child block.
✅ Changing keyboard type for Email to email keyboard, Phone to phone keypad.
✅ Restricted available blocks to insert when in contact info block to: phone, address, email, separator, heading, and spacer.
Everything looks great to me, nice job @illusaen ! 🎉
I left a small suggestion as code comments.
Other than that, there are a couple of lint issues from CI, it would be nice to fix them before merging.
Otherwise I'm happy to !
Anything else to add @iamthomasbishop about the listed fixes?
…orPlainTextColor. Removing extraneous return statement.
In discussion with @etoledom and @hypest, will split the font weight issue from this main contact info PR in order to keep the PR from hanging longer. @iamthomasbishop, does everything else look alright? Please also take a look at PR #2616 for corresponding Appium UI Tests. |
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.
Good job @illusaen - feature looks good to me!
@iamthomasbishop here is a test apk if you want to test it.
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.
Co-authored-by: Jeremy Herve <jeremy@tagada.hu>
Thank you @jeherve for your review! |
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.
Tested after the latest changes and everything seems to work as expected 👍
r215211-wpcom |
WIP Design
Fixes #2166
Changes proposed in this Pull Request:
contact info
block instead ofEmail
block on insert.16px
.4px
padding.Link address to Google Maps
toggle into block settings onAddress
child block.Email
to email keyboard,Phone
to phone keypad.contact info
block to:phone
,address
,email
,separator
,heading
, andspacer
.Jetpack product discussion
Currently changing behaviours for
contact-info
for both web and native:contact info
block on insert instead ofemail
.Waiting on further dev input to decide on whether to keep web changes or not.
Does this pull request change what data or activity we track or use?
N/A
Testing instructions:
contact info
block. Ensure that the block itself is selected instead of any of the children blocks.email
field. Ensure that text is correct color.phone
andaddress
.address
block.address
block. Ensure thatLink to Google maps
toggle works and settings block looks correct.Proposed changelog entry for your changes:
Screenshots
NOTE: Still working on odd font mismatches between RichText/Contact info blocks and how they seem to differ between light/dark modes and iOS/Android despite having the same settings.