-
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 productionEngineeringWeeklyKSv2KSv2
Description
VIP-Travel Implementation Issue
Tracking Issue: https://github.com/Expensify/Expensify/issues/333471
Project: [#whatsnext] #Travel
Relevant Design Doc Section: https://docs.google.com/document/d/122DLLTuCsU4NC3c7rNiy4UF8bZxVlLEWSy3yncqCTcQ/edit#bookmark=id.6c8m84z62q6z
This issue is for creating another new preview type, this time for trip rooms:

- A new component, TripRoomPreview will be created in src/components/ReportActionItem.
- A new action type, ACTION_TRIPPREVIEW, will be added to CONST.ts.
- If the report action is of the new type, which we will check in ReportActionItem.js, the new component will be displayed.
- TripRoomPreview will mimic ReportPreview’s formatting and behavior with some notable changes:
- We’ll display the room name under the total
- Receipts will not be displayed.
- Instead, a new helper function, getTripTransactions(expenseReportID) will be created in ReportUtils, and will return any transaction with travel details. We’ll display those details as shown in the mockup.
- On click, it’ll take the user to the trip room via Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID));
Issue Owner
Current Issue Owner: @twisterdotcomReactions are currently unavailable
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionEngineeringWeeklyKSv2KSv2
Type
Projects
Status
Done