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

[Site Design Revamp] Reset header on rotation #18815

Merged

Conversation

twstokes
Copy link
Contributor

@twstokes twstokes commented Jun 2, 2022

Fixes #18707

Before After
Simulator Screen Shot - iPhone 13 - 2022-06-02 at 13 04 08 Simulator Screen Shot - iPhone 13 - 2022-06-02 at 13 03 13

Note:

Though this fixes the gap, the header tends to "pop" into place which isn't preferred. Ultimately I think it's a better problem to have than the gap.

Testing

  1. Start the Site Creation flow in portrait orientation
  2. Navigate to the Site Design screen
  3. Rotate to landscape
  4. Expect there to be no gap at the top
  5. Rotate back to portrait
  6. Expect there to be no regressions

Regression Notes

  1. Potential unintended areas of impact
  • Layout of designs when rotating the Site Design screen
  1. What I did to test those areas of impact (or what existing automated tests I relied on)
  • Manually tested the steps above
  1. What automated tests I added (or what prevented me from doing so)
  • None, as these are UI changes.

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@twstokes twstokes added this to the 20.1 milestone Jun 2, 2022
@twstokes twstokes requested a review from a team June 2, 2022 17:08
@twstokes twstokes self-assigned this Jun 2, 2022
@peril-wordpress-mobile
Copy link

Fails
🚫 Podfile: reference to a commit hash

Generated by 🚫 dangerJS

@twstokes twstokes changed the title Reset header on rotation. [Site Design Revamp] Reset header on rotation Jun 2, 2022
@wpmobilebot
Copy link
Contributor

You can test the changes in Jetpack from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr18815-d1d749c on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@wpmobilebot
Copy link
Contributor

You can test the changes in WordPress from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr18815-d1d749c on your iPhone

If you need access to App Center, please ask a maintainer to add you.

Copy link
Contributor

@mkevins mkevins left a comment

Choose a reason for hiding this comment

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

Tested on an iPhone 11 (physical device), and it is working well, imo. Also, thanks for noting this:

Though this fixes the gap, the header tends to "pop" into place which isn't preferred. Ultimately I think it's a better problem to have than the gap.

I observed the same, and agree that it's better to not have the gap. Fwiw, even with the gap, the orientation animation has some "jank" anyway, imo, so even more reason to favor this solution. Thanks for addressing this Tanner 👍 .

@twstokes twstokes merged commit bef0064 into feature/site-design-revamp Jun 3, 2022
@twstokes twstokes deleted the task/site-design-revamp-rotation-gap branch June 3, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants