Duplicated "Total" amount field briefly appear before the report loads#76711
Duplicated "Total" amount field briefly appear before the report loads#76711puneetlath merged 7 commits intoExpensify:mainfrom
Conversation
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.
|
|
@aimane-chnaif 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] |
|
Conflicts! |
|
@aimane-chnaif Conflicts resolved. |
|
Failed test from main |
|
Tests fixed on main. Merge main |
|
Now the typecheck test failed 😂 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb Chromemchrome.moviOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
|
@mkzie2 I think test case is wrong
Total amount still shows briefly but no duplicated. Screen.Recording.2025-12-11.at.6.51.20.am.mov |
|
@aimane-chnaif I updated the test steps. |
src/components/FlatList/types.ts
Outdated
| CellRendererComponent?: React.ComponentType<CellRendererProps<T>> | null; | ||
|
|
||
| /** | ||
| * Whether to hide the content |
There was a problem hiding this comment.
What's an example of when someone would use this? Perhaps we can document this a bit more clearly.
There was a problem hiding this comment.
Right now the comment isn't saying anything the variable name doesn't already.
There was a problem hiding this comment.
@puneetlath What do you think about this:
Whether to hide the content when we need to (e.g. when first displaying the report actions list, we initial shows the top report actions first. We only show the full report actions list after user scrolls)
There was a problem hiding this comment.
Sorry for the delay. Sounds good to me. There's a small grammar error, so I would phrase to something like:
Whether to hide the content (e.g. when first displaying the report actions list, we initially show only the top report actions. We then show the full report actions list after the user scrolls)
|
✋ 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/puneetlath in version: 9.2.86-0 🚀
|
|
This PR failing in offline mode because of a regression issue 1.mp4 |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.86-4 🚀
|
Explanation of Change
Fixed Issues
$ #75986
PROPOSAL: #75986 (comment)
Tests
Test 1:
Test 2:
Offline tests
QA Steps
Test 1:
Test 2:
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
Screen.Recording.2025-12-04.at.22.51.37.mov
Android: mWeb Chrome
Screen.Recording.2025-12-04.at.22.52.25.mov
iOS: Native
Screen.Recording.2025-12-04.at.22.53.05.mov
iOS: mWeb Safari
Screen.Recording.2025-12-04.at.22.55.03.mov
MacOS: Chrome / Safari
Screen.Recording.2025-12-04.at.22.55.30.mov