-
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
38229 hide approve on submit and close #39071
38229 hide approve on submit and close #39071
Conversation
@Ollyws Over to you for review. |
@Ollyws Gentle bump on review here |
Reviewing today |
Reviewer Checklist
Screenshots/VideosAndroid: Native01_Android_Native.mp4Android: mWeb Chrome02_Android_Chrome.mp4iOS: Native03_iOS_Native.mp4iOS: mWeb Safari04_iOS_Safari.mp4MacOS: Chrome / Safari05_MacOS_Chrome.mp4MacOS: Desktop06_MacOS_Desktop.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.
LGTM.
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.
LGTM!
✋ 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 production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
@Ollyws @robertjchen
Details
This PR implements the hiding of the
Approve
button during submission of report inSubmit and Close
approval mode.Further, we also prevent creation of the
submitted
report action while submitting the report inSubmit and Close
approval mode.Fixed Issues
$ #38229
PROPOSAL: #38229 (comment)
Test
Precondition:
Submit and Close
approval mode.Steps:
Collect
workspace.Submit
button for the money request created in step 1.Submit
button.Approve
button is not displayed in the report preview (Test 1)Approve
button (Test 2)Offline tests
Same as the Steps in Tests Section.
QA Steps
Same as the Steps in Tests Section.
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
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
MacOS: Safari
38229-web-safari-01.mp4
iOS: mWeb Safari
38229-mweb-safari.mp4
MacOS: Desktop
38229-desktop.mp4
iOS: Native
38229-ios-native.mp4
Android: Native
38229-android-native.mp4
Android: mWeb Chrome
38229-mweb-chrome.mp4