Conversation
Follow-up to PR 100687. Scope the reconnect steps to direct feeds, add the feeds that cannot be reconnected in Expensify, document the new "Couldn't load this feed" error state, and describe the panel's new open/close behavior. Co-authored-by: jmusial <jmusial@users.noreply.github.com> Co-authored-by: Jan Musiał <jmusial@users.noreply.github.com>
38 tasks
Contributor
|
A preview of your ExpensifyHelp changes have been deployed to https://925a0ad8.helpdot.pages.dev ⚡️ Updated articles: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
Help site follow-up to Fix - Company cards - Broken card feed connection RHP spins forever with no error when the feed has a feed-level error, which changed three things a Workspace Admin can see.
docs/articles/new-expensify/connect-credit-cards/Fix-a-Broken-Company-Card-Feed-Connection.mddocumented none of them, and one existing step is now wrong for non-direct feeds.1. The reconnect link only exists on direct feeds. The banner copy is now chosen by feed type — direct (OAuth/Plaid) feeds get
workspace.companyCards.brokenConnectionErrorwith the log into your bank link, everything else getspersonalCard.brokenConnection("Your card connection is broken.") with no link at all. Commercial and spreadsheet feeds still surface the banner when the feed itself has errors, so the article's old step 4 — "Select the error message under the card feed name and follow the prompts" — no longer works for them. Added a What to do when a company card feed can't be reconnected in Expensify section plus an FAQ entry, and scoped the fix steps to direct feeds.2. There is a new error screen. A bank login that succeeds but whose account import fails now renders "Couldn't load this feed" with a Got it button instead of an endless spinner. Added it to the troubleshooting list with the exact heading, message, and button label.
3. The panel's open/close behavior changed. The reconnect now stays open through the bank login and closes itself when the reconnect completes; an assign-card flow that detoured into the reconnect no longer resumes afterwards and must be restarted. Documented both under What happens after you fix a company card connection and in a new FAQ entry.
No new article was needed — everything belongs to the existing broken-connection workflow, and splitting it would violate the one-workflow-per-article rule.
Labels verified against the live UI on web (Workspaces, Company cards) and against
src/languages/en.tsfor strings not reachable without a broken feed:brokenConnectionError,personalCard.brokenConnection,error.feedCouldNotBeLoadedTitle,common.genericErrorMessage, andcommon.buttonConfirm— which renders as Got it, not "Confirm".Written against
docs/HELPSITE_NAMING_CONVENTIONS.md,docs/HELP_AUTHORING_GUIDELINES.md, anddocs/TEMPLATE.md: one#title plus# FAQ,##sections only, every section heading task-based, button and tab names bolded in sentence case, one cross-link.Fixed Issues
$ #100465
PROPOSAL:
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
N/A — documentation only.
QA Steps
// TODO: The human co-author must fill out the QA tests you ran before marking this PR as "ready for review".
// Please describe what QA needs to do to validate your changes and what areas do they need to test for regressions.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
@jmusial, 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.