-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
perf: optimise composer send behaviour #30168
Merged
mountiny
merged 97 commits into
Expensify:main
from
hurali97:perf/optimise-composer-send
Jan 31, 2024
Merged
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
00a7c23
perf: memoize components
hurali97 9c4f299
refactor: simplify props
hurali97 75ad613
perf: reduce re-renders
hurali97 d242e35
refactor: make action prop lightweight
hurali97 33239a6
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 828b4eb
perf: add Interaction Manager
hurali97 60d3034
perf: reference bindings of functions
hurali97 851c61f
perf: optimise rendering
hurali97 e613f42
perf: optimise usage of personal detail list
hurali97 47c4717
fix: linting
hurali97 18428c1
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 9562e8c
refactor: remove not needed code
hurali97 ad1b337
fix: linting and test
hurali97 9a27bed
fix: failing unread indicator test
hurali97 9f29436
fix: prettier issues
hurali97 352227f
fix: failing test
hurali97 23537f5
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 5d0f32b
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 3820a45
fix: reassure failures reported
hurali97 ddf53d3
fix: reported reassure issues
hurali97 60be54d
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 5e2f21f
fix: reported reassure issues
hurali97 70eaf12
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 684ddda
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 46c9d60
fix: pr review
hurali97 21ee749
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 83d823e
fix: add default value
hurali97 1856820
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 36eaa4e
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 83f6bf1
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 67c1c0e
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 a7130f0
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 fbf2729
fix: appropriate arguments to getDisplayNameOrDefault
hurali97 1d115c0
fix: workspace unavailable avatar
hurali97 3b98178
fix: pass policy instead of policies to getIcons
hurali97 ae3d7fe
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 33703b3
test: fix failing caledarpickertest due to an edge case of last month…
hurali97 ae6f7d2
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 ad2549a
fix: personal details not updating
hurali97 d5c837d
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 a99d653
fix: personalDetails not updating
hurali97 d9eda10
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 b1257f5
fix: ts issues
hurali97 21749f1
fix: personaldetails not updating
hurali97 411b92c
fix: personalDetails not updating in AnonymousReportFooter
hurali97 55c900f
refactor: cleanup
hurali97 d8c895a
refactor: cleanup
hurali97 3036ef8
refactor: move personalDetails to LHNOptionsList
hurali97 18cd5fe
fix: typescript issues
hurali97 65d25e8
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 3ff28a2
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 f896fc6
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 72a93b9
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 1296484
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 36bfec3
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 259a121
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 87e0d93
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 c632b7c
fix: typecheck for AvatarWithDisplayName
hurali97 77d273e
fix: linting
hurali97 de41fd0
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 3deb210
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 d8d2208
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 c404896
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 2facb91
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 4f7cf26
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 d74c3aa
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 b3e6f68
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 048b8a6
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 c3fd89f
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 b215c84
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 15ba306
fix: paste not working on web
hurali97 1ab6e19
fix: compose height on mobile
hurali97 f45a0aa
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 1139e31
fix: revert platform specific styles
hurali97 2c6f73a
fix: extra compose height
hurali97 53bb609
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 48a0d83
fix: reply not shown
hurali97 c66e571
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 baf9b3e
fix: add missing reportAction properties
hurali97 e2b24a0
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 83a7bc2
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 470eb7b
fix: hide reply and task welcome message and add the missing fields
hurali97 efd81f5
refactor: remove not used prop
hurali97 f1bbd1d
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 722910d
fix: local time not displayed
hurali97 348d33a
refactor: move memoized report object to report screen
hurali97 d233cbb
fix: composer not being auto focused
hurali97 16c0ad6
refactor: remove not needed code change
hurali97 ddb5ef6
fix: linting
hurali97 17a5cda
fix: reassure tests
hurali97 3943fa4
refactor: add prop types
hurali97 1eccb29
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 a172b68
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 336a0a3
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 e840080
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
hurali97 da78bf0
fix: crash and profile not updating
hurali97 d2e771d
Merge branch 'main' of https://github.com/hurali97/Expensify-App into…
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 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 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 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 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. not sure how real time update used to work without
policy
prop beforeThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can explain. Previously, we were passing the
policies
prop toReportFooter
and it hasReportAnonymousFooter
as a child so it re-renders wheneverpolicies
update. But since I removed that altogether, it was not updating in real-time anymore. So I decided to use the dedicatedpolicy
in the nearest component possible.