Skip to content

Co-branding JP login screen with WP.com#22296

Merged
alpavanoglu merged 9 commits into
trunkfrom
feature/cobranding-welcome-screen
Jan 4, 2024
Merged

Co-branding JP login screen with WP.com#22296
alpavanoglu merged 9 commits into
trunkfrom
feature/cobranding-welcome-screen

Conversation

@alpavanoglu

@alpavanoglu alpavanoglu commented Dec 27, 2023

Copy link
Copy Markdown
Contributor

Fixes: https://github.com/Automattic/jetpack-mobile-roadmap/issues/96
PT: pcdRpT-58l-p2

This PR redesigns the Jetpack app’s welcome screen to include more references to the WordPress brand, such as colours and logo.

Before Light After Light
Simulator Screenshot - iPhone 15 Pro - 2023-12-27 at 15 38 18 Simulator Screenshot - iPhone 15 Pro - 2023-12-27 at 15 32 46
Before Dark After Dark
------ -----
Simulator Screenshot - iPhone 15 Pro - 2023-12-27 at 15 38 22 Simulator Screenshot - iPhone 15 Pro - 2023-12-27 at 15 32 41

Testing Steps

Install & Launch Jetpack App and verify the colors match the designs in light and dark modes.

Regression Notes

  1. Potential unintended areas of impact
    N/A

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    N/A

  3. What automated tests I added (or what prevented me from doing so)
    Only UI related 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.

UI Changes testing checklist:

  • Portrait and landscape orientations.
  • Light and dark modes.
  • Fonts: Larger, smaller and bold text.
  • High contrast.
  • VoiceOver.
  • Languages with large words or with letters/accents not frequently used in English.
  • Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • iPhone and iPad.
  • Multi-tasking: Split view and Slide over. (iPad)

…o feature/cobranding-welcome-screen

# Conflicts:
#	WordPress/WordPress.xcodeproj/project.pbxproj
@wpmobilebot

wpmobilebot commented Dec 27, 2023

Copy link
Copy Markdown
Contributor
WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr22296-1d02d3b
Version23.9
Bundle IDorg.wordpress.alpha
Commit1d02d3b
App Center BuildWPiOS - One-Offs #8317
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot

wpmobilebot commented Dec 27, 2023

Copy link
Copy Markdown
Contributor
Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr22296-1d02d3b
Version23.9
Bundle IDcom.jetpack.alpha
Commit1d02d3b
App Center Buildjetpack-installable-builds #7341
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@alpavanoglu

Copy link
Copy Markdown
Contributor Author

There's an issue on button view's background color on iPad. I'm trying to find a solution without modifying the WordPressAuthenticator.

Comment thread Podfile Outdated

# pod 'WordPressAuthenticator', '~> 8.0'
pod 'WordPressAuthenticator', git: 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', commit: 'b51b4b238103f7812db0aa1a265995e1c6d1e355'
pod 'WordPressAuthenticator', git: 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', commit: '215c77f4dad18b67943bc46174050d8c668c597c'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This resolves the iPad issue. However I am not sure what the pod target here should be. It was targeting a specific commit before as well but this doesn't sounds great. @mokagio perhaps you would have more information about this? Is there a reason why this pod isn't targeting a specific release?

@mokagio mokagio Jan 3, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This resolves the iPad issue.

That's great. Thanks!

I noticed there's not a PR for it yet but I assume one will be opened soon, right?

image

However I am not sure what the pod target here should be. It was targeting a specific commit before as well but this doesn't sounds great.

It's okay to target commits for the pods during development. That is, only release/ branches should always point to stable pods and other libraries. More info at paNNhX-K4-p2

The one thing to be aware when changing from one commit to another is to make sure that the new commit is after the original one, so that both changes are present. That is, of course, unless the second commit directly aims at fixing an issue in the orginal one, for example by switching for "experimental branch for feature X number 1" to "experimental branch for feature X number 2".

Is there a reason why this pod isn't targeting a specific release?

The procedure above should answer this question, too. For reference, the PR that changed it is #21904.

Hope this helps.

"images" : [
{
"filename" : "JPBackground.pdf",
"filename" : "background-light.pdf",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you considered using .webp images instead of .pdf? I see it's supported by Apple starting from iOS 14. The format drastically reduces image weight.
For instance, here is the result on Android:
Screenshot 2024-01-02 at 9 44 20 AM

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

4mb is indeed plenty to add to the binary even though the PR reduces the binary due to the fact that the new image is smaller in size than the old one. I assume .webp wouldn't be very common in iOS but I don't know if there's any reason for that apart from that fact that it is rather newer. I'll take a look and update it as such if I can't find a reason not to do that. Thanks for the heads up!

Comment thread RELEASE-NOTES.txt Outdated
@@ -1,3 +1,7 @@
24.1
-----
* [**] Updated login screen's colors to highlight WordPress - Jetpack brand relationship

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The next version is 24.0. Don't forget to move this release not to 24.0.

@salimbraksa salimbraksa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've tested the new UI on iPhone and iPad and LGTM! 👍

@alpavanoglu
alpavanoglu merged commit 24c28b6 into trunk Jan 4, 2024
@alpavanoglu
alpavanoglu deleted the feature/cobranding-welcome-screen branch January 4, 2024 22:05
@jkmassel jkmassel mentioned this pull request May 27, 2024
14 tasks
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.

5 participants