Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
sosek108
force-pushed
the
perf/3039-lhn-item-level-useonyx
branch
from
October 16, 2026 09:14
a1a09cd to
6d0036f
Compare
Add NetSuite OAuth migration nudges
fix Copilot - Not here page when click Create expense in delegate mode
…8-remove-getReportTransactions-p9 Remove getReportTransactions callers' reliance on the deprecated default in submitReport (Part 9)
…licker-recyclingkey Key native attachment thumbnails on the attachment ID so they stay on screen after send
…me tests Co-authored-by: Krishna <Krishna2323@users.noreply.github.com>
…ibeRuleAgentFallback [Payment due @Krishna2323] Describe a rule from New rule and fall back to an agent rule
…-deprecatedAllTransactions-in-hasExpenses # Conflicts: # src/components/ReportActionItem/MoneyReportView.tsx
Co-authored-by: huult <huult@users.noreply.github.com>
…rkspace picker Co-authored-by: huult <huult@users.noreply.github.com>
… room workspace picker" This reverts commit 748f9b7.
…rts too Co-authored-by: cretadn22 <cretadn22@users.noreply.github.com>
…ectEducationalModals Co-authored-by: daledah <daledah@users.noreply.github.com>
…nModalBatch1 Co-authored-by: Yauheni Horbach <ZhenjaHorbach@users.noreply.github.com> # Conflicts: # src/pages/workspace/WorkspaceMembersPage.tsx
…sionModalBatch1 Migrate batch 1 one-button alerts from DecisionModal to useDecisionModal
…file to prevent cycle
…port-name-skeleton-offline Fix - Android-Expense-Report name shows 'Chat Report' briefly on expense opened offline via growl
…ckerTestCrash [No QA] Mock useLoadPolicyCategories in CategoryPickerTest to fix failing test
…tReplaceDuringManualExpenseScan Allow replacing a manual expense receipt while the backend scans it
…/fix-resize-sticky-filter-bar fix: "Find Member" input and "Filters" button are moved while resizing members table
…sers [Payment due @nkdengineer] Set user-level office arrangements
…eExpenseReportViewToggle [CP Staging] Revert "Reapply "Add a More menu option to switch single-expense reports between expense view and table view""
…r-row-onyx-reads [No QA] Update list-row Onyx rules: PERF-3, PERF-11, new PERF-21 and PERF-22
…x-tab-span-source-tab [No QA] perf: record source tab and preload wait on the Inbox tab span
…/numeric-input-layout-tests [No QA] add comprehensive layout and responsiveness tests for NumericInput
cspell rejected "recognise" and failed the spellcheck gate.
The record was added to App.ts's KEYS_TO_PRESERVE, which only guards the reconnect and full-reset paths. User-initiated sign-out goes through signOutAndRedirectToSignIn -> redirectToSignIn -> clearStorageAndRedirect, which clears with KEYS_TO_PRESERVE_ON_SIGN_OUT instead. The record was therefore wiped on every sign-out and the prompt came back on the next sign-in, which is the loop this PR is meant to close. The regression test passed anyway because it cleared Onyx with a hand-written [APP_REVIEW_LAST_PROMPT] list, so it asserted the gate while assuming the thing under test. It now clears with the real KEYS_TO_PRESERVE_ON_SIGN_OUT and fails if the key is dropped from it.
…-prompt-loop Stop the app review prompt from reappearing after the user answers it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
This targets the Onyx store bump in Expensify#98956.
LHNOptionsListsubscribed to the whole report and policy collections, the report attributes and personal details, looked up each row's policy, invoice receiver policy and one-transaction-thread report, and passed them down. Those collections were also inextraData, so a write to any report or policy re-rendered every visible row.Rows now read their own policy, invoice receiver policy and one-transaction-thread report by member key, and their own report attributes entry. Personal details come from the existing
OnyxListItemProvidercontext. The alternate text still needs the names of other reports (moved or last-action reports), so the list builds one report-name map with a selector, whose reference only changes when a name changes.getOptionDataand the alternate text helpers now only requirereportNamefrom that map.extraDatais down to the list length, the option mode and the network state.A new reassure test with 500 reports runs unchanged on the base and on this branch. A write to one report goes from 158.8 ms to 97.2 ms, and a write to a policy no row uses goes from 85.7 ms to 70.4 ms (28 to 18 renders). Mount and row press are unchanged.
Known issue:
SidebarOrderTest"reorders the reports to always have the most recently updated one on top" fails. FlashList doesn't re-runrenderItemwhen only an item's index changes, so the index-basedDisplayNames-<index>testID goes stale after a reorder, while the order on screen is correct. Before, every report write changedextraData, which refreshed it.Fixed Issues
$ https://github.com/callstack-internal/expensify-issues/issues/3039
PROPOSAL:
Tests
Offline tests
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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