[NoQA] chore: sentry labels for the Search screen#82272
[NoQA] chore: sentry labels for the Search screen#82272rlinoz merged 7 commits intoExpensify:mainfrom
Conversation
Add new sentryLabel constants for search filters and bulk actions to CONST Apply sentryLabel props to relevant buttons, popups, dropdowns, menus, and checkboxes in Search and SelectionListWithSections components to improve error tracking and monitoring for search filtering interactions.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-02-13.at.22.43.50.mov |
|
@adhorodyski lint is not happy |
|
@adhorodyski I noticed that there are a few places where we’re missing the |
|
PR doesn’t need product input as a tooling PR. Unassigning and unsubscribing myself. |
|
Eslint is now happy happy 👌🏻 |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 19a76a6ab6
ℹ️ 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".
| const theme = useTheme(); | ||
| const {isLargeScreenWidth} = useResponsiveLayout(); | ||
| const {accountID: currentUserAccountID} = useCurrentUserPersonalDetails(); | ||
| const [reportAttributes] = useOnyx(ONYXKEYS.DERIVED.REPORT_ATTRIBUTES, {canBeMissing: true, selector: reportsSelector}); |
There was a problem hiding this comment.
Remove per-row subscription to global report attributes
TransactionItemRow is instantiated for every result row, and this new useOnyx(ONYXKEYS.DERIVED.REPORT_ATTRIBUTES, {selector: reportsSelector}) subscription pulls the full report-attributes map into each row instance. Because columnComponent now depends on reportAttributes, any update to any report attribute can fan out into re-renders across all visible rows, which is a noticeable performance regression on large Search result sets compared with the previous context-based lookup. Please avoid N identical subscriptions here (e.g., pass the needed report name down or subscribe by reportID).
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
hmm looks like a blocker, though we have just addressed a lint error. Let me look into this on Monday before we proceed.
There was a problem hiding this comment.
is there a better way though? I don't think so.
There was a problem hiding this comment.
I mean, doesn't the report title depends on all report attributes?
There was a problem hiding this comment.
I think we can skip the ESLint error in this case and revert the attempt to fix it. If that fix introduces any regression, we would need to revert the entire PR, which could lead to unnecessary back-and-forth.
There was a problem hiding this comment.
agree it's safer to do so, I'll update early on Monday
|
@rlinoz all ready, with a single error we're expecting. |
|
@rlinoz looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Not an emergency, see discussion #82272 (comment) |
|
🚧 @rlinoz has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@adhorodyski @rlinoz Can you please share the QA steps for Applause to run, I think we can't access dev |
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 9.3.20-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
@rlinoz @sosek108
Explanation of Change
This is a batch of sentryLabel properties on critical app flows, targeting the Search screen.
Fixed Issues
$ #79930
PROPOSAL:
Tests
Offline 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
updated
