Skip to content

[No QA] Docs updates for E/A#98672 temporary bank issue card connection message - #100363

Merged
sakluger merged 1 commit into
mainfrom
claude-docs531TemporaryBankIssue
Sep 15, 2026
Merged

sakluger merged 1 commit into
mainfrom
claude-docs531TemporaryBankIssue

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Explanation of Change

Help site follow-up to #98672, which added a distinct message for scrape code 531: "Can't auto-match receipt due to a temporary bank issue. Please try again later."

Before that PR, a 531 response showed the generic broken-connection copy, which told people to fix a card that isn't actually broken. The help site still only describes broken connections, so anyone searching the new message finds guidance that points them at the wrong fix.

This PR documents the new message in the two articles people land on when a card message appears:

  • docs/articles/new-expensify/connect-credit-cards/Fix-a-Broken-Company-Card-Feed-Connection.md — adds How to recognize a temporary bank issue on a company card expense plus a matching FAQ entry.
  • docs/articles/new-expensify/connect-credit-cards/Manage-Personal-Cards.md — adds How to tell a temporary bank issue from a broken personal card connection plus a matching FAQ entry.

Both sections state that the connection is still valid, that no action is needed, and that Expensify retries automatically. keywords and internalScope were updated so the new message is retrievable.

Behavior documented matches the merged code:

  • The 531 message renders for both members and Workspace Admins, and for both company cards and personal cards (src/languages/en.ts violations.brokenConnection531Error).
  • The 531 status is never suppressed, so it stays visible on the expense and in the expense report header (shouldSuppressBrokenConnectionStatus in src/libs/TransactionUtils/index.ts returns false for 531).

UI labels used in the new copy (Company cards, Wallet, Fix card) were verified against the live web UI.

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/671466
PROPOSAL:

Tests

// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review".
// This PR only changes files under docs/articles. There is no app code to test — please review the article copy for accuracy against current behavior.

  • Verify that no errors appear in the JS console

Offline tests

QA Steps

// TODO: The human co-author must fill out the QA steps before marking this PR as "ready for review", or add "[No QA]" to the title.
// Documentation-only change; no product behavior changes.

  • 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 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 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)
  • 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)
  • 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.
  • 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

@tgolen, please review the files changed and confirm they reflect the current behavior. Then post a new comment saying @MelvinBot mark this PR as ready for review.

Adds help site coverage for the new 531 retry-later violation copy introduced in #98672.

Co-authored-by: Tim Golen <tgolen@users.noreply.github.com>
@MelvinBot
MelvinBot requested a review from a team September 4, 2026 00:32
@MelvinBot MelvinBot added the HelpDot Apply this label if the issue relates to ExpensifyHelp label Sep 4, 2026
@tgolen

tgolen commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot mark this PR as ready for review

@MelvinBot
MelvinBot marked this pull request as ready for review September 4, 2026 22:03
@MelvinBot

MelvinBot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Done — this PR is now marked Ready for review.

Two things to note before a reviewer picks it up:

  • The Tests and QA Steps sections still contain the // TODO: placeholders. I don't fill those in on your behalf — please replace them (or add [No QA] to the title, since this is docs-only).
  • Check independent approval is failing only because the PR has no approving review yet. It clears once a reviewer approves.

view run · view recording

@melvin-bot

melvin-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

Concierge reviewer checklist:

  • I have verified the accuracy of the article
    • The article is within a hub that makes sense, and the navigation is correct
    • All processes, screenshots, and examples align with current product behavior.
    • All links within the doc have been verified for correct destination and functionality.
  • I have verified the readability of the article
    • The article's language is clear, concise, and free of jargon.
    • The grammar, spelling, and punctuation are correct.
    • The article contains at least one image, or that an image is not necessary
  • I have verified the formatting of the article
    • The article has consistent formatting (headings, bullet points, etc.) with other HelpDot articles and that aligns with the HelpDot formatting standards.
    • The article has proper text spacing and breaks for readability.
  • I have verified the article has the appropriate tone and style
    • The article's tone is professional, friendly, and suitable for the target audience.
    • The article's tone, terminology, and voice are consistent throughout.
  • I have verified the overall quality of the article
    • The article is not missing any information, nor does it contain redundant information.
    • The article fully addresses user needs.
  • I have verified that all requested improvements have been addressed

For more detailed instructions on completing this checklist, see How do I review a HelpDot PR as a Concierge Team member?

cc @sakluger

@melvin-bot
melvin-bot Bot requested review from sakluger and removed request for a team September 4, 2026 22:03
@melvin-bot

melvin-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

@sakluger 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]

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment
This PR is a focused, well-scoped documentation follow-up to Expensify/App PR 98672, which introduced a distinct message for scrape code 531 ("Cant auto-match receipt due to a temporary bank issue. Please try again later."). It adds one task-based section plus one matching FAQ entry to each of two existing articles, and updates keywords / internalScope so the new message is retrievable. The changes are accurate to the merged behavior, disambiguate a temporary bank issue from a genuine broken connection, and correctly steer people away from the wrong fix.

Scores Summary

  • Readability: 9/10 - New sections are concise, scannable, and use short do/dont bulleted lists. The distinction (do not reconnect / do not choose Fix card, no action required, Expensify retries automatically) is stated plainly and reinforced in the FAQ.
  • AI Readiness: 9/10 - New H2 headings are task-based and searchable (How to recognize a temporary bank issue on a company card expense; How to tell a temporary bank issue from a broken personal card connection). FAQ entries use natural question phrasing matching the literal error string. internalScope and keywords were expanded to include temporary bank issue and cant auto-match receipt, improving retrieval. Headings stay within H1 and H2 only.
  • Style Compliance: 8/10 - Button and UI labels are bolded and match the UI (Fix card, Update card, Company cards, Wallet, Home). FAQ entries correctly sit under the existing FAQ grouping and use H2 question headings. Minor: error-message strings use curly quotes rather than straight quotes; this matches the existing article convention (not a regression), but straight ASCII quotes are safer for exact-string search matching.

Key Findings

  • Strong scope discipline: each article gets exactly one new section plus one FAQ entry, staying on a single workflow rather than expanding into unrelated card topics.
  • New copy correctly reflects merged behavior: the message renders for both members and Workspace Admins, for both company and personal cards, and is never suppressed (stays on the expense and in the expense report header).
  • Metadata updates are a highlight: internalScope inclusions/exclusions and keywords were both extended, exactly what AI retrieval needs for a newly surfaced message.
  • No cross-links were added; acceptable here since the guidance is self-contained.

Recommendations

  • Consider using straight quotes for the literal error string to maximize exact-match retrieval, or confirm the smart-quote convention is intentional site-wide.
  • Optional: a one-line cross-link between the two articles (company vs. personal) could help users who land on the wrong one, though current scope is fine.

Files Reviewed

  • docs/articles/new-expensify/connect-credit-cards/Fix-a-Broken-Company-Card-Feed-Connection.md - New task-based section + FAQ + metadata; compliant.
  • docs/articles/new-expensify/connect-credit-cards/Manage-Personal-Cards.md - New task-based section + FAQ + metadata; compliant.

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

@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: 029f237aa0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@sakluger
sakluger merged commit fc360bf into main Sep 15, 2026
19 of 22 checks passed
@sakluger
sakluger deleted the claude-docs531TemporaryBankIssue branch September 15, 2026 15:34
@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/sakluger in version: 9.4.80-0 🚀

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

@m-natarajan

Copy link
Copy Markdown

@sakluger @stephanieelliott @tgolen No QA steps, OK to check off this one?

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.80-0 🚀

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

Bundle Size Analysis (Sentry):

@stephanieelliott stephanieelliott changed the title Docs updates for E/A#98672 temporary bank issue card connection message [No QA] Docs updates for E/A#98672 temporary bank issue card connection message Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HelpDot Apply this label if the issue relates to ExpensifyHelp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants