Skip to content

Conversation

SergioEstevao
Copy link
Contributor

@SergioEstevao SergioEstevao commented Sep 19, 2025

| 📘 Part of: # |
|:---:|

Fixes PCIOS-

Updates the logic around new onboarding and encourage account creation to only show this screen when new onboarding was already show once and we are updating the app.
Also did some changes on the fonts to match the styling on new onboarding title and labels

Screenshot 2025-09-19 at 16 23 16

To test

  1. Start the app from a new install
  2. Do the initial onboarding but do not create an account
  3. Go to Profile -> Settings -> Developer
  4. Tap on Reset Informational Modal Visibility
  5. Close the app
  6. Comment out the line 193 on MainTabBarController.
  7. Restart the app
  8. Check if it shows the Encourage account creation screen
  9. Tap on Create Account
  10. Check the Create Account screen is shown

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.

@dangermattic
Copy link
Collaborator

dangermattic commented Sep 19, 2025

1 Warning
⚠️ This PR is assigned to the milestone 7.98 ❄️. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@SergioEstevao SergioEstevao marked this pull request as ready for review September 19, 2025 17:21
@SergioEstevao SergioEstevao requested a review from a team as a code owner September 19, 2025 17:21
@SergioEstevao SergioEstevao requested review from danielebogo and removed request for a team September 19, 2025 17:21
Copy link
Contributor

@danielebogo danielebogo left a comment

Choose a reason for hiding this comment

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

Hey @SergioEstevao , following your steps I was able to see the Informational View.

I left one comment and a question, and found a UI problem with the new font sizes on smaller devices


if FeatureFlag.encourageAccountCreation.enabled,
!Settings.hasShownInformationalViewModal,
Settings.hasSeenInitialOnboardingBefore == true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Settings.hasSeenInitialOnboardingBefore can we avoid the == true?

Also does this logic apply when the new onboarding FF is off?

.padding(.bottom, 12.0)
Text(L10n.eacInformationalViewModalDescription)
.font(size: 15.0, style: .body, weight: .medium)
.font(size: FeatureFlag.newOnboardingAccountCreation.enabled ? 17.0 : 15, style: .body, weight: FeatureFlag.newOnboardingAccountCreation.enabled ? .regular : .medium)
Copy link
Contributor

Choose a reason for hiding this comment

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

The tex gets cut with the new font on small devices

Now Before
Simulator Screenshot - iPhone SE (3rd generation) - 2025-09-21 at 21 14 03 Simulator Screenshot - iPhone SE (3rd generation) - 2025-09-21 at 21 15 53

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