-
Notifications
You must be signed in to change notification settings - Fork 3.2k
perf: make switch between chat list and workspaces smoother #36420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
roryabraham
merged 68 commits into
Expensify:main
from
callstack-internal:hur/perf/issue-35704
Apr 25, 2024
Merged
Changes from 3 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
3088672
perf: use context for shared reports access
hurali97 f33930e
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 6921051
perf: improve renderItem and use FlatList
hurali97 4d267b4
Merge branch 'main' into hur/perf/issue-35704
jbroma dc88950
refactor: revert changes to withCurrentReportID
jbroma 9ae8701
refactor: remove useReports context & hooks
jbroma b613e97
refactor: use reports from onyx in useOrderedReportIDs
jbroma 7f15fbc
refactor: move creating orderedReport objects from getOrderedReportId…
jbroma 7fa44fc
Revert "refactor: revert changes to withCurrentReportID"
jbroma ae12b00
refactor: remove comment in SidebarLinksData
jbroma 8087e59
Merge branch 'main' into hur/perf/issue-35704
jbroma c87f579
refactor: rename useOrderedReportIDs to useOrderedReportListItems
jbroma df1069c
perf: use memo for extraData in LHNOptionList
jbroma 1d294bc
fix: typescript fixes
jbroma 7dfba43
fix: update reportActionsSelector to match the one from SidebarLinksData
jbroma 696c5ee
fix: typescript issues
hurali97 6739b58
test: fix reassure failing test
hurali97 92fae0c
revert: move option item data calculation to the renderItem component
hurali97 596fd63
fix: linting
hurali97 e735658
test: fix failing test
hurali97 94fcc48
fix: prettier
hurali97 31f5ed4
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 e0673e0
refactor: rename to useReportIDs
hurali97 30ca303
refactor: don't set currentReportID if it's on workspaces screen
hurali97 121b537
refactor: remove dead code
hurali97 9e41603
fix: linting
hurali97 4a32841
refactor: remove irrelevant changes
hurali97 581d09d
fix: comments
hurali97 fffe41a
fix: safely check the nested properties
hurali97 6b41bf7
feat: add comments for extraData prop
hurali97 5f832f9
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 49e32fd
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 6412711
fix: reassure tests
hurali97 e3477b2
fix: apply prettier
hurali97 769f83a
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 30b319f
perf: check for the settings tab existence in screen params and early…
hurali97 71978c2
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 8dba89b
feat: add selector from SidebarLinksData
hurali97 c39f358
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 f333232
fix: reassure tests
hurali97 3557027
fix: resolve merge conflicts
hurali97 335f1fa
Merge branch 'main' into hur/perf/issue-35704
jbroma 61ef588
refactor: use currentReportID from useReportIDs
hurali97 84aa5ac
refactor: remove unnecessary ref
hurali97 2d8f88a
Merge branch 'hur/perf/issue-35704' of https://github.com/callstack-i…
hurali97 8532c08
update comment is updateCurrentReportID function
hurali97 ac465f3
update comment in useReportIDs hook
hurali97 886622e
refactor: make comment less verbose
hurali97 6d17116
refactor: remove irrelevant comment
hurali97 91ed2e6
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 4e1fbd2
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 2ef5c7f
refactor: reduce memo usage
hurali97 3bcc037
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 ab5bce3
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 9e4f464
fix: typecheck
hurali97 20d798e
refactor: remove unnecessary diff
hurali97 6f20396
refactor: leverage useOnyx hook instead of withOnyx HOC
hurali97 33fe888
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 c791be0
fix: max depth exceeded error by not mutating allReports object
hurali97 4aa6b99
fix: use inline options and relevant initialValue
hurali97 459e86c
fix: remove not needed prop
hurali97 61fc9ce
fix: use correct prop in memo check
hurali97 489c652
fix: use policies instead of policyMembers
hurali97 10c0c04
Apply workaround for initialValue
fabioh8010 e075aee
fix: failing SidebarOrderTest
hurali97 0d4637e
fix: typecheck
hurali97 42068cc
Merge branch 'main' of https://github.com/callstack-internal/Expensif…
hurali97 821e4e0
refactor: remove initialValues
hurali97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.