-
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
re-create: Submit expense option is not disabled for users who are invited to expense report #47682
Conversation
…vited to expense report
@dukenv0307 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] |
@nkdengineer Can you explain why the previous PR cause the regression. And explain about the new solution. Thanks |
I think the Test 2 doesn't cover this bug |
@dukenv0307 I asked for more detailed for this bug here and we got steps here
In the previous PR, we checked if
But with steps like in test 2, |
Ok, I see |
Reviewer Checklist
Screenshots/Videos |
LGTM |
@youssef-lr this is the re-implementation of the PR #47373 where you noticed that it was breaking Instant Submit. Do you mind taking a look here and see if you see any problem? 🙏 |
Co-authored-by: Youssef Lourayad <youssef@expensify.com>
Co-authored-by: Youssef Lourayad <youssef@expensify.com>
Updated and tested well |
✋ 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/youssef-lr in version: 9.0.26-1 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.26-6 🚀
|
Details
Fixed Issues
$ #46340
PROPOSAL: #46340 (comment)
Tests
Issue 1:
Issue 2:
Offline tests
QA Steps
Issue 1:
Issue 2:
PR 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
Android: Native
native.mov
Android: mWeb Chrome
iOS: Native
native.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov