-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Display person who made the reservation instead of approver for trips #56099
Display person who made the reservation instead of approver for trips #56099
Conversation
@shubham1206agra 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] |
switch (reportAction?.actionName) { | ||
case CONST.REPORT.ACTIONS.TYPE.REPORT_PREVIEW: { | ||
const ownerAccountID = iouReport?.ownerAccountID ?? reportAction?.childOwnerAccountID; | ||
const actorAccountID = iouReport?.managerID ?? reportAction?.childManagerAccountID; | ||
return isPolicyExpenseChat(report) ? ownerAccountID : actorAccountID; |
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.
@blazejkustra Why this change was necessary here?
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.
It wasn't, do you think I should revert this change?
Reviewer Checklist
Screenshots/Videos |
@blazejkustra the name of the person who sent the message is set as the trip room name, I think the problem might be related to what we are fixing here, do you mind taking a look? |
I thought this was expected behaviour, I'm looking into it now 😄 |
|
@blazejkustra oh I am sorry, I didn't know that, feel free to revert the change then. I will ask in Slack if it is something we should change, it felt like a bug to me 😅 |
This reverts commit bb6e4cb.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Explanation of Change
Fixed Issues
$ #55906
PROPOSAL: N/A
Tests
Extra:
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
iOS: Native
Simulator.Screen.Recording.-.iPhone.taki.SE.-.2025-01-30.at.18.56.11.mp4
MacOS: Chrome / Safari
web3.mov