-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Fix]: Optimistic message not set correctly with the BE
message for approver who is not the admin
#42389
Conversation
Were you able to build android @eh2077 ?, i am getting the following error ![]() |
@GandalfGwaihir My client build works well. Can you try |
Yeah cool, i will try today, in the meantime you can review this PR, it’s complete technicality 🫡🤝 |
Code looks good 👍 I'll update checklist tmr as it's EOD for me |
Reviewer Checklist
Screenshots/VideosAndroid: Native0-android.mp4Android: mWeb Chrome0-mobile-chrome.mp4iOS: Native0-ios.mp4iOS: mWeb Safari0-mobile-safari.mp4MacOS: Chrome / Safari0-web.mp4MacOS: Desktop0-web.mp4 |
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.
I guess these don't need translations because they're reflecting copy coming from the back end. It would be nice to have this as a comment somewhere in the file, NAB.
@yuwenmemon, are you waiting on the comments to be added? |
@GandalfGwaihir There're conflicts need to be resolved. |
this is sad, it seems we had duplicate issues for the same bug @eh2077, #41081 this was our issue and then another issue was opened after it #41614, now the other PR got merged yesterday and hence we have merge conflict, because at the time of this comment, there was not conflict 😢 What are the next steps here? @yuwenmemon, also tagging BZ @muttmuure |
@GandalfGwaihir Can you help to check if the issue is fixed? If yes, I think we'll just close this PR. |
AFK until midnight IST, will update here soon.
…On Wed, May 29, 2024 at 2:28 PM Eric Han ***@***.***> wrote:
@GandalfGwaihir <https://github.com/GandalfGwaihir> Can you help to check
if the issue is fixed? If yes, I think we'll just close this PR.
—
Reply to this email directly, view it on GitHub
<#42389 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2LMYIH62KWUAM7FFG4F6NTZEWKDRAVCNFSM6AAAAABH7PQ2LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWHEYDAMRXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Agreed to close if that's the case. We had the merge freeze on so did not merge this last week. |
Sorry this kind of fell through the cracks will test and update today itself! |
From my testing on production, the issue seems to be resolved :) Screen.Recording.2024-05-31.at.3.16.37.PM.movWhat are the next steps here? |
Let's close this out then. We'll still pay for the fix cc @muttmuure (https://stackoverflowteams.com/c/expensify/questions/8719) |
Details
When an approver(Who is not the owner) approves the Expense , he is show wrong optimistic message
Waiting for you to pay these expenses
, in this PR we fix this by matching the this with theBE
messageNo further Action Needed
.Fixed Issues
$ #41081
PROPOSAL: #41081 (comment)
Tests
Same as QA
Offline tests
QA Steps
Workflows
option enabled.Workflows
,Add Approvals
option on and another user who is not the admin/owner is set as the approver.Collect workspace has another user as approver.
No further Action required!
appearsPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
MacOS: Chrome / Safari
Screen.Recording.2024-05-20.at.4.33.57.PM.mov
MacOS: Desktop
Screen.Recording.2024-05-20.at.5.05.05.PM.mov
Android: Native
Android: mWeb Chrome
Screen.Recording.2024-05-22.at.6.11.05.PM.mov
iOS: Native
Screen.Recording.2024-05-20.at.4.57.52.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-05-20.at.5.00.12.PM.mov