Skip to content

[No QA] Remove 2FA requirement - #103667

Merged
yuwenmemon merged 3 commits into
mainfrom
sakluger-patch-3
Oct 12, 2026
Merged

yuwenmemon merged 3 commits into
mainfrom
sakluger-patch-3

Conversation

@sakluger

@sakluger sakluger commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Explanation of Change

Removed mentions of a 2FA requirement in both connection docs because that was not true.

Fixed Issues

n/a

Tests

No tests

  • Verify that no errors appear in the JS console

Offline tests

N/A

QA Steps

No QA

// TODO: These must be filled out, or the issue title must include "[No QA]."

  • 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 verified any copy / text that was added to the app 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)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • 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)
  • 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 the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • 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.

Screenshots/Videos

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

@sakluger
sakluger requested a review from twisterdotcom October 9, 2026 22:40
@sakluger sakluger self-assigned this Oct 9, 2026
# Before You Connect NetSuite to Expensify

- **OAuth 2.0** is how new connections are set up. You set it up in New Expensify, and you need two-factor authentication enabled on your Expensify account.
- **OAuth 2.0** is how new connections are set upm which you can set up in New Expensify.

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.

Readability / typo: "set upm which" is a typo and reads unclearly. Also, this edit removes the two-factor authentication requirement that OAuth 2.0 needs. Suggest: - **OAuth 2.0** is how new connections are set up, which you can set up in New Expensify. (and confirm the 2FA requirement removal is intentional, since it is being dropped here and in the FAQ).

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.

Updated the sentence to the suggested wording in commit 269d21d049d. The 2FA requirement removal is intentional; as noted in the PR description, that requirement was not accurate.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment

This PR removes references to the two-factor authentication (2FA) prerequisite for connecting NetSuite via OAuth 2.0 across both the Expensify Classic and New Expensify articles. It drops a prerequisite bullet and a related FAQ entry in New Expensify, and trims the 2FA wording from a prerequisite bullet in Expensify Classic. The intent is clean, but one edited line in the Classic article introduces a grammar/typo error that must be fixed before merge.

Scores Summary

  • Readability: 6/10 - The New Expensify removals are clean and leave surrounding content intact. However, the Classic edit introduces a broken sentence: ...are set upm which you can set up in New Expensify. This is a typo (upm) plus awkward repetition (set up... set up).
  • AI Readiness: 8/10 - Metadata, feature naming, and search phrasing in the edited regions are unaffected (New Expensify retains full internalScope). The diff introduces no retrieval regressions.
  • Style Compliance: 7/10 - UI terminology and bold conventions in the edited lines are preserved correctly. The only compliance concern tied to the diff is the malformed Classic sentence, which fails clarity and deterministic-writing expectations.

Key Findings

  • Critical (must fix): In the Expensify Classic article, the edited bullet reads: **OAuth 2.0** is how new connections are set upm which you can set up in New Expensify. This contains a typo (upm should be up,) and redundant set up ... set up phrasing.
  • Positive: The New Expensify article cleanly removes both the 2FA prerequisite bullet and the standalone 2FA FAQ entry without leaving dangling references or broken cross-links.
  • Consistency: Both articles now consistently omit the 2FA requirement, keeping the Classic and New Expensify docs aligned.

Recommendations

  • Fix the Classic sentence, e.g.: **OAuth 2.0** is how new connections are set up, which you can do in New Expensify.
  • Confirm with the content owner that 2FA is genuinely no longer required for OAuth 2.0 connections, since both the prerequisite and the explanatory FAQ were removed with no replacement guidance.

Files Reviewed

  • docs/articles/expensify-classic/connections/netsuite/Connect-To-NetSuite.md - Needs fix (typo/grammar in edited line)
  • docs/articles/new-expensify/connections/netsuite/Connect-To-NetSuite.md - Clean removals, no issues

Note: Detailed line-by-line feedback has been provided as inline comments.

@github-actions github-actions Bot changed the title Remove 2FA requirement [No QA] Remove 2FA requirement Oct 9, 2026
@OSBotify

This comment has been minimized.

@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: aa16744874

ℹ️ 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".

# Before You Connect NetSuite to Expensify

- **OAuth 2.0** is how new connections are set up. You set it up in New Expensify, and you need two-factor authentication enabled on your Expensify account.
- **OAuth 2.0** is how new connections are set upm which you can set up in New Expensify.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fix the malformed OAuth prerequisite sentence

On the Expensify Classic help page, the rewritten prerequisite now reads “set upm which,” leaving customers with a visibly malformed sentence. Replace the stray m with punctuation (for example, “set up, which…”) so the published connection guidance remains understandable.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T22:48:51.387166Z aa16744 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Co-authored-by: yuwenmemon <4741899+yuwenmemon@users.noreply.github.com>
@OSBotify

Copy link
Copy Markdown
Contributor

@twisterdotcom

Copy link
Copy Markdown
Contributor

@MelvinBot why is the Verify peer review check not passing? Both @yuwenmemon and I have reviewed.

@MelvinBot

Copy link
Copy Markdown
Contributor

The check does not count yuwenmemon as an independent reviewer, so it sees only 1 of the 2 approvals it requires.

  • Why yuwenmemon doesn't count: Commit 269d21d049 was authored by Copilot with yuwenmemon as co-author. The check treats co-authors of bot commits as PR authors, so their approval is not independent.
  • Why 2 approvals are needed: The check flagged this PR as bot-authored, which raises the minimum to 2.

To fix: Ask another Expensify employee who has not committed to this PR to approve it. The check will then see 2 independent approvals (you plus them).

Check log

From the failing "Check independent approval" job:

Insufficient independent peer review {
  commitAuthors: [ 'Copilot', 'sakluger', 'yuwenmemon' ],
  allAuthorsAreBots: true,
  approvers: [ 'twisterdotcom', 'yuwenmemon' ],
  independentApprovers: [ 'twisterdotcom' ],
  required: 2
}
Expensify/App#103667 does not have enough independent eligible reviewer approvals. Pull requests authored solely by bots require a minimum of 2 independent eligible reviewer approvals.

The log reports allAuthorsAreBots: true even though sakluger is human. This run was started by a bot event (--actor-type Bot), which may explain it. I did not confirm whether a human-triggered re-run would lower the requirement to 1.


view run

@twisterdotcom

Copy link
Copy Markdown
Contributor

Okay so @stephanieelliott if you have a moment to also approve that would be great.

@yuwenmemon
yuwenmemon merged commit fbe4b00 into main Oct 12, 2026
18 of 23 checks passed
@yuwenmemon
yuwenmemon deleted the sakluger-patch-3 branch October 12, 2026 23:06
@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.5.8-0 🚀

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

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/cristipaval in version: 9.5.8-5 🚀

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

Bundle Size Analysis (Sentry):

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