refactor: rter violation to include company card page URL for admins to fix broken bank connection.#74093
Conversation
|
@DylanDylann 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] |
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
LGTM 👍 Thank you for your hard work! |
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.
|
|
@DylanDylann Thanks for your input it helps a lot. PR ready for review. |
|
@DylanDylann All yours, failing test is not related to this PR. |
|
@samranahm Also please resolve conflict |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2025-11-07.at.11.23.48.mov |
|
@DylanDylann I've updated the PR, please let me know if there's anything else. |
Co-authored-by: DylanDylann <141406735+DylanDylann@users.noreply.github.com>
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #68588 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
Changes look good, but now there's a conflict |
|
Refactor PR, doesn’t have any new product considerations. Removing the tag and unsubscribing myself |
|
@thienlnam PR ready. |
This comment was marked as outdated.
This comment was marked as outdated.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 9.2.58-0 🚀
|
|
@samranahm This PR is failing because of issue #75138 |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.58-3 🚀
|





Explanation of Change
Updated the rter violation message for broken bank connections to include a clickable link to the Company Card page.
Previously, the message only told the user there was a broken bank connection, without providing a direct way to fix it. Adding the link improves usability by letting admins reconnect the bank directly from the message.
Fixed Issues
$ #68588
PROPOSAL: #68588 (comment)
Tests
Precondition:
OR enter the pseudo code in terminal
Offline tests
QA Steps
Same as test
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, 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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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.Native.mp4
Android: mWeb Chrome
Android.mWeb.chrome.mp4
iOS: Native
IOS.Native.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
macOS.chrome.mp4
MacOS: Desktop
Desktop.mp4