Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
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". |
Co-authored-by: Carlos Alvarez <carlos@expensify.com>
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid.movAndroid: mWeb Chromemweb-chrome.moviOS: HybridAppios.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.mov |
|
PR looks good and is working as expected. |
|
@cristipaval 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] |
|
@cead22 over to you! |
|
@shawnborton you got a Fig mock of that modal I can play around with? happy to suggest some alts! |
|
Also how wide is that modal in the PR? It looks a little skinnier here than in Figma, but we should just be using whatever size these modals typically are (I'm unsure of the value though). Let's align! |
|
Actually I wonder if the modal is the correct width? @luacmartins can you confirm? I see 400px wide in Figma. |
|
@shawnborton yea, modal is 400px wide |
|
I'm gonna get this merged since it's blocking all FE work. The copy/width would be quick to edit if needed. |
|
🚧 @luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.52-0 🚀
Bundle Size Analysis (Sentry): |
|
Yes, help site changes are required. The existing Workspace-Rules.md article doesn't mention the new Spend section. I created a draft PR to update the help article: #86994 Changes made:
Please mark it as "Ready for review" when it looks good. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.52-9 🚀
|



Explanation of Change
Adds the new
Spendsection to rules. For now this section only shows the default rules that apply to all Expensify cards. Clicking the rule opens a modal with further clarification.Fixed Issues
$ #86520
Tests
Pre-requisite:
Workspace > RulesSpendat the bottom of the pageAll cardsrule shows a modalGot itOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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./** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)Screenshots/Videos
Screen.Recording.2026-03-27.at.2.15.46.PM.mov
Screen.Recording.2026-03-27.at.2.16.40.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari