Conversation
|
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 |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@ikevin127 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] |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 92bc99db69
ℹ️ 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".
|
Codex Review: Didn't find any major issues. Chef's kiss. ℹ️ 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". |
JS00001
left a comment
There was a problem hiding this comment.
LGTM, @ikevin127 lmk when this is ready for final approval
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.mp4Android: mWeb Chromeandroid-mweb.mp4iOS: HybridAppios.moviOS: mWeb Safariios-mweb.movMacOS: Chrome / Safariweb.mov |
|
Note 👁️🗨️ The only thing that I found looks a bit weird UX-wise is p1.mov✅ Well ImplementedPositive Observations
📊 Test Coverage AnalysisCurrent Coverage by Author
♻️ Recommended Additional Tests // tests/unit/ExpenseRulesPageTest.tsx
describe('ExpenseRulesPage search', () => {
it('filters rules by merchant name', () => {...});
it('filters rules by change description', () => {...});
it('shows empty state when no rules match', () => {...});
it('toggleAllRules only affects filtered results', () => {...});
});🔥 Edge Case / Destructive Tests✅ 1. Boundary conditions:
❌ 2. Selection with search:
Actual result: 'toggle all' checkbox is empty but top-right screen shows Videoe1.mov✅ 3. Long content handling:
❌ 4. Rapid typing:
Actual result: Two different ❌ crash types occur in different cases if this is done long enough (see videos for details). Important Not sure if these would occur in production environments or not, could be dev-only crashes 🤔 Videos❌
|
For this edge case, let's create separate issue. Happens on other pages with search: Screen.Recording.2026-01-25.at.6.41.13.AM.mov |
|
@situchan Could you report the search bug in expensify-bugs so we make sure to track it? |
|
@ikevin127 could you run another pass? |
ikevin127
left a comment
There was a problem hiding this comment.
@JS00001 The issues that were not addressed in the latest 2 commits are in this comment:
- UX-wise:
⚠️ not seeing scrollbar on web (wide layouts) when rules length overflows the screen - though the list is scrollable ✅ - Test Coverage Analysis: current estimated coverage: ~20% (only 1 utility function tested)
- Edge Case / Destructive Tests:
❌ 2. Selection with search:
- Select 2 rules from full list
- Search for other rules to hide the 2 selected rules
- Verify that 'toggle all' checkbox has the
-symbol as partial selection is occuring- Clear search → verify previously selected hidden rules maintain selection (with
-symbol)Actual result: 'toggle all' checkbox is empty but top-right screen shows
2 Selected.Video
e1.mov
If these are not blockers - then all good with me, ready to merge 🟢
The behavior is same as other pages like categories so it's fine. |
|
✋ 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/JS00001 in version: 9.3.10-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.10-6 🚀
|
| onEndReached={onEndReached} | ||
| onEndReachedThreshold={onEndReachedThreshold} | ||
| style={style?.listStyle} | ||
| contentContainerStyle={styles.pb3} |
There was a problem hiding this comment.
There was a problem hiding this comment.
Apologies for the multiple comments — GitHub is behaving weirdly at the moment.
Explanation of Change
Update x, update y, update ztoUpdate x, y, zFixed Issues
Part of #80217
Tests
Changecolumn in tableUpdate x, y, z, notUpdate x, update y, update zOffline tests
Same as Tests
QA Steps
Same as Tests
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.mov
Android: mWeb Chrome
mchrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
msafari.mov
MacOS: Chrome / Safari
web.mov