-
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
[TS migration] Migrate 'ReportActionItemMoneyRequest' component to TypeScript #34564
Merged
aldo-expensify
merged 29 commits into
Expensify:main
from
VickyStash:ts-migration/reportActionItemMoneyRequest-component
Feb 2, 2024
Merged
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a56bce1
Migrate MoneyRequestAction to TypeScript
VickyStash 0f627ba
Migrate MoneyRequestPreview to TypeScript
VickyStash 02296e8
Migrate MoneyRequestView to TypeScript
VickyStash 6b8c3a3
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 03a0c4c
Fix lint errors
VickyStash 7a64f0c
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 6c8137a
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 6637583
Use ContextMenuAnchor type for anchor typing
VickyStash e1e39e1
Code improvements
VickyStash ccef5e0
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash fb3f8d1
Update getDisplayDeleteAmountText function, move transactionViolation…
VickyStash 60d8105
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 69a4df4
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash be37558
TS fixes after merging main
VickyStash c8438bf
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 01fa104
Fix TS issues
VickyStash f65fbe0
Update image typing
VickyStash 73e5685
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 696f337
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash c07a39e
TS fixes after merging OptionsListUtils migration
VickyStash a5f3dba
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash eb4631e
TS fixes after merging main
VickyStash 8b9bac8
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 00c5436
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash 15cffe2
Fix Onyx types import
VickyStash dedfe12
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash e7ff217
Fix TS issues after merging main
VickyStash 5e1e232
Merge branch 'main' into ts-migration/reportActionItemMoneyRequest-co…
VickyStash d3f64c9
Retry performance test
VickyStash 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
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.
@VickyStash heads up! All IDs must be numbers, this created this bug #35904. :)
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.
accountIDs are numbers and reportIDs are strings, right? 🤔
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.
@youssef-lr reportIDs are expected to be string, otherwise they can overflow, right?
Unless this changed lately
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.
Yeah sorry my bad, they are all numbers in the backend, but in JS
reportIDs
&reportActionIDs
are strings. In this specific example it doesn't make sense to use'0'
, because the condition below this line evaluates tofalse
when it should evaluate totrue
if (!childReportID) {
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.
@youssef-lr you are right, my bad!
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.
Commented in your PR @youssef-lr , I don't think we should default to 0 either
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.
Yeah that sounds good, updated.