-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2InternalRequires API changes or must be handled by Expensify staffRequires API changes or must be handled by Expensify staffTask
Description
Problem
In #48008, an attendees prop was added to the Transaction type.
App/src/types/onyx/Transaction.ts
Lines 385 to 386 in aea476b
| /** Selected attendees */ | |
| attendees?: Attendee[]; |
However, this is inconsistent with our backend, where attendees are stored inside the comment instead:
Solution
- Move
attendeesfromTransactiontoComment(i.e. this), and update everywhere we read/settransaction.attendeestotransaction?.comment?.attendees - Test creating an expense with attendees in Expensify Classic (OldDot), make sure attendees are displayed properly when opening the expense in NewDot
Notes for testing
- To be able to see the attendees in NewDot, uncomment the commented code in
shouldShowAttendees()(i.e. this)- - The backend changes to set and update attendees via New Expensify aren't complete yet, so create transactions with attendees from OldDot like so:
- Create a workspace in New Expensify
- Sign in to the same account on Classic (www.expensify.com or staging.expensify.com)
- Go to Expenses > New Expense > Manually Create
- Enter any merchant name, amount, date, and values in the Attendees selector
- Save the expense
- In NewDot, find and open the corresponding expense
- Make sure the attendees are displayed correctly
This is part of #44725
Issue Owner
Current Issue Owner: @saklugerReactions are currently unavailable
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2InternalRequires API changes or must be handled by Expensify staffRequires API changes or must be handled by Expensify staffTask

