[HOLD #58828] Create transaction thread for legacy transactions without threads and navigate to them#62291
Conversation
|
@ishpaul777 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
can you please add test steps @c3024 Thanks! |
|
🚧 @mountiny has triggered a test app build. You can view the workflow run here. |
| }; | ||
|
|
||
| type ReportListItemProps<TItem extends ListItem> = ListItemProps<TItem> & { | ||
| queryJSONHash?: number; |
| ? transactionItem.transactionThreadReportID | ||
| : transactionItem.reportID; | ||
|
|
||
| // If we're trying to open a legacy transaction without a transaction thread, let's create the thread and navigate the user |
There was a problem hiding this comment.
New expenses are created without transaction thread proactively so this is not only legacy transactions
| // If we're trying to open a legacy transaction without a transaction thread, let's create the thread and navigate the user | |
| // If we're trying to open a transaction without a transaction thread, let's create the thread and navigate the user |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
Shall we hold this for #62080? cc: @luacmartins |
|
hmm yeah that might make sense |
|
Yea, I think so. |
|
Not overdue. The PR this is held on has not been merged yet. |
|
The referred PR in the title was reverted. Not overdue. |
|
Same as above. The PR for the issue is still under progress. |
|
Still holding for #58828 |
|
Still holding for #58828 |
|
Still on hold for #58828 |
|
On hold! |
|
Still on hold for #58828 |
|
@c3024 @ishpaul777 Are we still on hold here/ or will we need this PR or would changes from @VickyStash handle this? |
|
It looks like this PR is not required anymore. The issue that required creating this PR does not happen anymore. |
Explanation of Change
Add the logic of creating a transaction thread for legacy transactions without threads and navigating to them to
ReportListItem.Fixed Issues
$ #61941
PROPOSAL: #61941 (comment)
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))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
MacOS: Desktop