-
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
update text and alternateText in getPolicyExpenseReportOption function #29424
update text and alternateText in getPolicyExpenseReportOption function #29424
Conversation
b27d03e
to
d1ad56c
Compare
@akamefi202 The PR is different than the proposal after #29164. Can you check if we can revert that PR and still fix the other issue? Adding |
@s77rt |
Hmm I think it would be safer if we just overwrote the text field? option.text = ReportUtils.getPolicyName(expenseReport); |
@s77rt That's possible. We should update |
Yes please do that and add a comment explaining why we need to overwrite those fields |
d1ad56c
to
fdca0ec
Compare
@akamefi202 Please attach screenshots/videos |
@s77rt I uploaded all screen records. Please review. |
Reviewer Checklist
Screenshots/Videos |
@akamefi202 Thanks! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/lakchote in version: 1.3.84-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀
|
🚀 Deployed to staging by https://github.com/lakchote in version: 1.3.85-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.85-4 🚀
|
Details
After the user B sends split request with the workspace of user A.
The split details page shows username instead of workspace name, when user A sees the details of split request message.
This is happening because the app currently shows workspace name only if the policy is owned by user.
We should update
text
andalternateText
correctly insidegetPolicyExpenseReportOption
function.Fixed Issues
$ #29219
PROPOSAL: #29219 (comment)
Tests
Offline tests
Same as above.
QA Steps
Same as above.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Android: Native
REC-20231012174106.webm
Android: mWeb Chrome
REC-20231012161725.mp4
iOS: Native
REC-20231012174105.mp4
iOS: mWeb Safari
REC-20231012152255.mp4
MacOS: Chrome / Safari
REC-20231012150602.mp4
MacOS: Desktop
REC-20231012151454.mp4