Skip to content

Re-apply secure private personal details + fix address autocomplete and country auto-fill#91000

Merged
rafecolton merged 7 commits into
mainfrom
jasper-securePrivatePersonalDetails-redo
May 22, 2026
Merged

Re-apply secure private personal details + fix address autocomplete and country auto-fill#91000
rafecolton merged 7 commits into
mainfrom
jasper-securePrivatePersonalDetails-redo

Conversation

@jasperhuangg

@jasperhuangg jasperhuangg commented May 18, 2026

Copy link
Copy Markdown
Contributor

Explanation of Change

This re-applies the changes from #87928 (reverted via #90835) and additionally fixes the regression reported in #90834 on the unified Private Personal Details form:

  • Replace the plain TextInput for ADDRESS_LINE_1 in PrivatePersonalDetailsPage with the AddressSearch component (Google Places autocomplete), so the address suggestion list appears again while typing.
  • Pass renamedInputKeys so selecting an autocomplete suggestion auto-populates street/street2/city/state/zip/country (the values land in the form's draft state via the FormProvider's onInputChange, and the local selectedCountry/selectedState React state is updated through the onValueChange handler so the CountrySelector and StateSelector reflect the chosen place).
  • Read ONYXKEYS.COUNTRY (geolocation-derived) and use it as the initial value for selectedCountry when the user has no saved address country, restoring the geolocation-based default that existed in PersonalAddressPage.

Depends on Auth PR and Web-Expensify PR (same as the original PR).

Fixed Issues

$ #90834
PROPOSAL:

Tests

  1. Go to Settings > Profile.
  2. Tap any of: Legal Name, Date of Birth, Phone Number, Address.
  3. Verify you're taken to the unified Private Personal Details form.
  4. Verify all fields are pre-populated with your current data.
  5. If your saved address has no country set, verify the Country field is pre-filled with your geolocation-derived country (the same default the old standalone Address page used).
  6. Begin typing in the Address line 1 field.
  7. Verify a list of Google Places suggestions appears as you type.
  8. Tap a suggestion and verify Address line 1, Address line 2 (if applicable), City, State, ZIP/Post Code, and Country are auto-populated.
  9. Without changing anything else, tap Save and verify no magic code is required.
  10. Edit one or more fields and tap Save.
  11. Verify you're navigated to the magic code page, enter a valid magic code, and verify the details update and you're navigated back.
  • Verify that no errors appear in the JS console

Offline tests

  1. Go offline.
  2. Open Settings > Profile > Address.
  3. Begin typing in Address line 1.
  4. Verify no Google Places suggestions appear (network is required for autocomplete), but the input still accepts manual entry.
  5. Fill in the address fields manually and tap Save.
  6. Verify the form transitions to the magic code page; once back online, the update completes.

QA Steps

  1. Go to staging.new.expensify.com.
  2. Go to Account > Profile.
  3. Click Address.
  4. Enter an address on Address line 1.
  5. Verify the address suggestion list is shown.
  6. Verify the Country field is auto-populated with your geolocation-derived country (when no address is saved).
  7. Tap a suggestion and verify Address line 1, City, State, ZIP/Post Code, and Country are filled in.
  8. Tap Save, enter the magic code, and verify the address persists.
  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
      • If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I verified that similar component doesn't exist in the codebase
  • I verified that all props are defined accurately and each prop has a /** comment above it */
  • I verified that each file is named correctly
  • I verified that each component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
  • I verified that the only data being stored in component state is data necessary for rendering and nothing else
  • In component if we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
  • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
  • I verified that component internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
  • I verified that all JSX used for rendering exists in the render method
  • I verified that each component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari

Replace the plain TextInput for ADDRESS_LINE_1 in the unified private personal
details form with AddressSearch (Google Places autocomplete), and map its
selected place into the form's street/street2/city/state/zip/country inputs via
renamedInputKeys so all sub-fields auto-fill on selection.

Also read ONYXKEYS.COUNTRY (geolocation-derived) and use it as the initial value
for the CountrySelector when the user has no saved address country.
@jasperhuangg jasperhuangg requested review from a team as code owners May 18, 2026 17:25
@melvin-bot melvin-bot Bot requested review from QichenZhu and flaviadefaria and removed request for a team May 18, 2026 17:25
@melvin-bot

melvin-bot Bot commented May 18, 2026

Copy link
Copy Markdown

@QichenZhu Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@OSBotify

This comment has been minimized.

Comment thread src/pages/settings/Profile/PersonalDetails/PrivatePersonalDetailsPage.tsx Outdated
jasperhuangg and others added 2 commits May 18, 2026 10:32
Move both COUNTRY_ZIP_REGEX_DATA and GENERIC_ZIP_CODE_REGEX out of NewDot's
local CONST and consume them from expensify-common instead, so OldDot can use
the same per-country zip regex data for its card-replacement form.

No behavior change.

Co-authored-by: Cursor <cursoragent@cursor.com>
2.0.179 was never published to npm; the published version with
COUNTRY_ZIP_REGEX_DATA / GENERIC_ZIP_CODE_REGEX is 2.0.180.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1db24a00fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/pages/settings/Profile/PersonalDetails/PrivatePersonalDetailsPage.tsx Outdated
@OSBotify

Copy link
Copy Markdown
Contributor

🦜 Polyglot Parrot! 🦜

Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues:

View the translation diff
diff --git a/src/languages/de.ts b/src/languages/de.ts
index 8d563e6c..25b894ff 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -3307,7 +3307,7 @@ ${amount} für ${merchant} – ${date}`,
         enterPhoneNumber: 'Wie lautet deine Telefonnummer?',
         personalDetails: 'Persönliche Angaben',
         privateDataMessage: 'Diese Angaben werden für Reisen und Zahlungen verwendet. Sie werden niemals in deinem öffentlichen Profil angezeigt.',
-        basicDetails: 'Grundlegende Angaben',
+        basicDetails: 'Grundlegende Details',
         legalName: 'Rechtlicher Name',
         legalFirstName: 'Rechtlicher Vorname',
         legalLastName: 'Rechtlicher Nachname',
@@ -3502,7 +3502,7 @@ ${amount} für ${merchant} – ${date}`,
             noBankAccountSelected: 'Bitte wähle ein Konto aus',
             taxID: 'Bitte geben Sie eine gültige Steueridentifikationsnummer ein',
             website: 'Bitte eine gültige Website eingeben',
-            zipCode: `Bitte gib eine gültige Postleitzahl im folgenden Format ein: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
+            zipCode: `Bitte geben Sie eine gültige Postleitzahl im folgenden Format ein: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
             phoneNumber: 'Bitte gib eine gültige Telefonnummer ein',
             email: 'Bitte gib eine gültige E-Mail-Adresse ein',
             companyName: 'Bitte gib einen gültigen Unternehmensnamen ein',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 9916429e..6eca02ea 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -3184,7 +3184,7 @@ ${amount} para ${merchant} - ${date}`,
         enterPhoneNumber: '¿Cuál es tu número de teléfono?',
         personalDetails: 'Datos personales',
         privateDataMessage: 'Estos detalles se utilizan para viajes y pagos. Nunca se mostrarán en tu perfil público.',
-        basicDetails: 'Datos básicos',
+        basicDetails: 'Detalles básicos',
         legalName: 'Nombre completo',
         legalFirstName: 'Nombre legal',
         legalLastName: 'Apellidos legales',
@@ -3382,7 +3382,7 @@ ${amount} para ${merchant} - ${date}`,
             noBankAccountSelected: 'Por favor, elige una cuenta bancaria',
             taxID: 'Por favor, introduce un número de identificación fiscal válido',
             website: 'Por favor, introduce un sitio web válido',
-            zipCode: `Formato de código postal incorrecto. Formato aceptable: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}.`,
+            zipCode: `Por favor, introduce un código ZIP válido usando el formato: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
             phoneNumber: 'Por favor, introduce un teléfono válido',
             email: 'Por favor, introduce una dirección de correo electrónico válida',
             companyName: 'Por favor, introduce un nombre comercial legal válido',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 9733255b..71b0a13b 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -3313,7 +3313,7 @@ ${amount} pour ${merchant} - ${date}`,
         enterPhoneNumber: 'Quel est votre numéro de téléphone ?',
         personalDetails: 'Informations personnelles',
         privateDataMessage: 'Ces informations sont utilisées pour les déplacements et les paiements. Elles ne s’affichent jamais sur votre profil public.',
-        basicDetails: 'Détails de base',
+        basicDetails: 'Informations de base',
         legalName: 'Nom légal',
         legalFirstName: 'Prénom légal',
         legalLastName: 'Nom de famille légal',
@@ -3511,7 +3511,7 @@ ${amount} pour ${merchant} - ${date}`,
             noBankAccountSelected: 'Veuillez choisir un compte',
             taxID: 'Veuillez saisir un numéro d’identification fiscale valide',
             website: 'Veuillez saisir un site web valide',
-            zipCode: `Veuillez saisir un code postal valide au format : ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
+            zipCode: `Veuillez saisir un code postal valide en utilisant le format : ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
             phoneNumber: 'Veuillez saisir un numéro de téléphone valide',
             email: 'Veuillez saisir une adresse e-mail valide',
             companyName: 'Veuillez saisir un nom d’entreprise valide',
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 5519ff9c..0a060339 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -3464,7 +3464,7 @@ ${integrationName === CONST.ONBOARDING_ACCOUNTING_MAPPING.other ? 'あなたの'
             noBankAccountSelected: 'アカウントを選択してください',
             taxID: '有効な納税者番号を入力してください',
             website: '有効なウェブサイトを入力してください',
-            zipCode: `有効なZIPコードを、次の形式で入力してください: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
+            zipCode: `有効な ZIP コードを、次の形式で入力してください: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
             phoneNumber: '有効な電話番号を入力してください',
             email: '有効なメールアドレスを入力してください',
             companyName: '有効な会社名を入力してください',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index b0c5e6ce..45af6326 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -3481,7 +3481,7 @@ ${amount} dla ${merchant} - ${date}`,
             noBankAccountSelected: 'Wybierz konto',
             taxID: 'Wprowadź prawidłowy numer identyfikacji podatkowej',
             website: 'Wprowadź prawidłową stronę internetową',
-            zipCode: `Wprowadź prawidłowy kod ZIP w formacie: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
+            zipCode: `Wpisz poprawny kod ZIP w formacie: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
             phoneNumber: 'Wprowadź prawidłowy numer telefonu',
             email: 'Wpisz prawidłowy adres e‑mail',
             companyName: 'Wprowadź prawidłową nazwę firmy',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 3830f2e4..53f2697d 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -3482,7 +3482,7 @@ ${amount} para ${merchant} - ${date}`,
             noBankAccountSelected: 'Escolha uma conta',
             taxID: 'Insira um número de identificação fiscal válido',
             website: 'Insira um site válido',
-            zipCode: `Insira um CEP válido usando o formato: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
+            zipCode: `Digite um CEP válido usando o formato: ${COMMON_CONST.COUNTRY_ZIP_REGEX_DATA.US.samples}`,
             phoneNumber: 'Insira um número de telefone válido',
             email: 'Insira um endereço de e-mail válido',
             companyName: 'Insira um nome comercial válido',

Note

You can apply these changes to your branch by copying the patch to your clipboard, then running pbpaste | git apply 😉

View workflow run

@sentry

sentry Bot commented May 18, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Expensify org.me.mobiexpensifyg 9.3.75-6 (509037506) Release

⚙️ app Build Distribution Settings

- Extract resolveStateCode helper so the legacy state-name to 2-letter-code
  resolution lives in one place instead of being duplicated in the useState
  initializer and the CountrySelector onValueChange handler (CONSISTENCY-3).
- Compare the submitted state against the normalized stored state in
  hasChanges(), so users with legacy full-name state values (e.g. "California")
  aren't routed to magic-code confirmation when nothing actually changed.
- Persist the form values to the draft in onSubmit before navigating to the
  confirm page, so UI-prefilled fields the user never touched (geolocation
  country, normalized state) make it into the final UpdatePrivatePersonalDetails
  payload instead of falling back to the stored values.
@jasperhuangg jasperhuangg requested a review from a team May 18, 2026 17:59
@melvin-bot melvin-bot Bot requested review from eVoloshchak and removed request for a team May 18, 2026 17:59
@melvin-bot

melvin-bot Bot commented May 18, 2026

Copy link
Copy Markdown

@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@jasperhuangg jasperhuangg requested a review from rafecolton May 18, 2026 17:59
@eVoloshchak

eVoloshchak commented May 20, 2026

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp
video_2026-05-21_18-09-37.mp4
Android: mWeb Chrome
Screen.Recording.2026-05-21.at.17.47.53.mov
iOS: HybridApp
Screen.Recording.2026-05-21.at.17.33.53.mov
iOS: mWeb Safari
Screen.Recording.2026-05-21.at.17.41.21.mov
MacOS: Chrome / Safari
Screen.Recording.2026-05-21.at.16.58.22.mov

…ersonalDetails-redo

# Conflicts:
#	src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx
@codecov

codecov Bot commented May 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
src/CONST/index.ts 93.89% <ø> (ø)
src/SCREENS.ts 100.00% <ø> (ø)
src/libs/API/types.ts 100.00% <ø> (ø)
...igation/linkingConfig/RELATIONS/SETTINGS_TO_RHP.ts 100.00% <ø> (ø)
src/libs/Navigation/linkingConfig/config.ts 76.92% <ø> (ø)
src/ROUTES.ts 19.08% <0.00%> (-0.02%) ⬇️
src/components/AddressForm.tsx 98.36% <66.66%> (ø)
...c/pages/ReimbursementAccount/AddressFormFields.tsx 0.00% <0.00%> (ø)
...gation/AppNavigator/ModalStackNavigators/index.tsx 6.65% <0.00%> (-0.02%) ⬇️
src/pages/settings/Profile/ProfilePage.tsx 93.13% <71.42%> (+5.28%) ⬆️
... and 5 more
... and 8 files with indirect coverage changes

@Expensify Expensify deleted a comment from MelvinBot May 20, 2026

@rafecolton rafecolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested locally, it seems to work well. Address auto-complete is now working properly. @eVoloshchak please let me know when you are finished with the reviewer checklist 🙏

NicolasBonet
NicolasBonet previously approved these changes May 21, 2026
@jasperhuangg

Copy link
Copy Markdown
Contributor Author

@jasperhuangg I tested, but I am getting the magic code screen if I change address 1, is that intended?

Screen.Recording.2026-05-21.at.3.26.25.PM.mov

Yep, any change to any of those fields in that form should trigger the validate code form to come up

…of github.com:Expensify/App into jasper-securePrivatePersonalDetails-redo
@jasperhuangg

Copy link
Copy Markdown
Contributor Author

conflicts addressed

@rafecolton rafecolton merged commit 54c1c6c into main May 22, 2026
44 of 45 checks passed
@rafecolton rafecolton deleted the jasper-securePrivatePersonalDetails-redo branch May 22, 2026 22:36
@github-actions

Copy link
Copy Markdown
Contributor

🚧 @rafecolton has triggered a test Expensify/App build. You can view the workflow run here.

@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/rafecolton in version: 9.3.81-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 cancelled 🔪
🍎 iOS 🍎 cancelled 🔪

@MelvinBot

Copy link
Copy Markdown
Contributor

Yes, help site changes are required. The PR consolidates separate Legal Name, Date of Birth, Phone Number, and Address pages into a single unified Private Personal Details form, adds magic code verification, and adds Google Places address autocomplete.

I've created a draft PR with the necessary updates: #91597

Changes made:

  • Account-Settings.md — Updated the "Personal Information" and "Display or Legal Name" sections to document the unified form, magic code verification step, address autocomplete behavior, and country geolocation default. Added phone number to the feature list. Updated headings to be task-based per authoring guidelines.
  • Update-Your-Expensify-Card-Mailing-Address.md — Updated the legal name and phone number update steps to mention the unified form and magic code verification.

The HelpDot label has been applied to the draft PR.

@jponikarchuk

Copy link
Copy Markdown

Deploy Blocker #91602 was identified to be related to this PR.

@jponikarchuk

Copy link
Copy Markdown

Deploy Blocker #91604 was identified to be related to this PR.

@jponikarchuk

Copy link
Copy Markdown

Deploy Blocker #91608 was identified to be related to this PR.

@jponikarchuk

Copy link
Copy Markdown

Deploy Blocker #91611 was identified to be related to this PR.

@rafecolton

Copy link
Copy Markdown
Member

Dang, both of those look like legitimate bugs

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/luacmartins in version: 9.3.81-2 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

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.

7 participants