-
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
[HOLD for payment 2022-12-20] Split Bill - Attendees can be selected/deselected on Final Review page of Split Bill #13220
Comments
Triggered auto assignment to @stephanieelliott ( |
QA team is Failing on Final Review page section, Step 5 says "Verify that you cannot select/deselect the attendees". |
Linked video appears to be unrelated to the reproduction steps. |
Proposaldiff --git a/src/components/IOUConfirmationList.js b/src/components/IOUConfirmationList.js
index 4f4eb415ed..1aa94e34f4 100755
--- a/src/components/IOUConfirmationList.js
+++ b/src/components/IOUConfirmationList.js
@@ -275,27 +275,24 @@ class IOUConfirmationList extends Component {
const shouldShowSettlementButton = this.props.iouType === CONST.IOU.IOU_TYPE.SEND;
const shouldDisableButton = selectedParticipants.length === 0;
const recipient = this.state.participants[0];
- const canModifyParticipants = !this.props.isIOUAttachedToExistingChatReport && this.props.hasMultipleParticipants;
return (
<OptionsSelector
sections={this.getSections()}
value={this.props.comment}
- onSelectRow={canModifyParticipants ? this.toggleOption : undefined}
onConfirmSelection={this.confirm}
onChangeText={this.props.onUpdateComment}
textInputLabel={this.props.translate('iOUConfirmationList.whatsItFor')}
placeholderText={this.props.translate('common.optional')}
selectedOptions={this.getSelectedOptions()}
- canSelectMultipleOptions={canModifyParticipants}
- disableArrowKeysActions={!canModifyParticipants}
- isDisabled={!canModifyParticipants}
+ disableArrowKeysActions
+ isDisabled
hideAdditionalOptionStates
forceTextUnreadStyle
autoFocus
shouldDelayFocus
shouldTextInputAppearBelowOptions
- optionHoveredStyle={canModifyParticipants ? styles.hoveredComponentBG : {}}
+ optionHoveredStyle={{}}
footerContent={shouldShowSettlementButton
? (
<SettlementButton Details
|
@s77rt Please wait until issues are triaged. |
Happened across this issue. Agree the video reproduction doesn't match, but also, we should confirm this is only a bug with the "global create > Split bill" flow. It's expected in the "Group DM > + > Split bill" flow (where all the chat participants of an existing group chat are preselected and can be deselected). Related PR from a while back for reference: #5895 |
@trjExpensify @marcaaron Correct video attached. |
@trjExpensify In the PR #5895
But it is contradictory, Able to select / deselect attendee if initiated from FAB and not able to if initiated from Group DM |
Thanks for adding the video!
It actually says the opposite to that, which is correct, so it's not contradictory to the below?
|
I'll go ahead and swap the logic for this. |
@tgolen, @stephanieelliott Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2022-12-20. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@stephanieelliott I am C+ in the PR. Can you please help with the payment. |
Hey @sobitneupane, sorry for the wait on this! I've created the job in Upwork to make the C+ payment, can you please claim it when you get a chance? https://www.upwork.com/jobs/~0114c5212c5918f200 |
@stephanieelliott Accepted the offer |
@stephanieelliott |
Thanks for the bump @sobitneupane and sorry for the wait, all paid up! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
and login with HT Expensifail account
Expected Result:
User should not be able to select/deselect the attendees
Actual Result:
Attendees can be selected/deselected on Final Review page of Split Bill
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.34.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5842879_video_29.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: