-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Prevent the details sidebar from auto close when IOU cancellable data is available #18190
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
Prevent the details sidebar from auto close when IOU cancellable data is available #18190
Conversation
|
@Julesssss @rushatgabhane One of you needs to 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] |
Julesssss
left a comment
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.
Can we add a test case for non-reject actions too please? Maybe just this:
- reject all payments, should close
- create new request
- pay
- it should close (I think this is true)
|
@Julesssss I added a few different test cases, please check if this will work or if we need to modify them, and I have updated the Tests section only, and if these tests will work, then should we need to add all the cases offline Tests section too? |
|
Thanks, that looks good to me.
Yeah, lets just add a comment in offline tests that all of the above should be tested. |
Updated |
|
@rushatgabhane bump for review |
…sidebar_auto_close
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-05-03.at.19.45.42.movMobile Web - ChromeScreen.Recording.2023-05-03.at.19.44.21.movMobile Web - SafariScreen.Recording.2023-05-03.at.19.43.48.movDesktopScreen.Recording.2023-05-03.at.19.46.11.moviOSScreen.Recording.2023-05-03.at.19.40.47.movAndroidScreen.Recording.2023-05-03.at.19.40.08.mov |
Julesssss
left a comment
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.
Just waiting for the full C+ checklist. Looking good 👍
amyevans
left a comment
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.
Looks good, thank you for the clear outline of test cases!
rushatgabhane
left a comment
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.
@amyevans LGTM too
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Just dropping a note that I don't think this feature is needed post Manual Requests. We don't have the sidebar modal anymore. I resolved some conflicts with my PR and left the feature in, but we'll likely remove it soon. |
|
🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.10-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀
|
Details
Fixed Issues
$ #16508
PROPOSAL: #16508 (comment)
Tests
Case 1: Cancel multiple requests
Case 2: Reject multiple requests
Case 3: Settle up button
Case 4: Cancel a request
Case 5: Reject a request
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
web.mp4
Mobile Web - Chrome
mWeb.-.chrome.mp4
Mobile Web - Safari
mWeb-safari.mp4
Desktop
desktop.mp4
iOS
iOS.mov
Android
Android.mp4