-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Desktop/Web - IOU - CMD+Enter allows you to select users and WS into one Split Bill #29628
Comments
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.We can bypass Confirm button and navigate via shortcut even though confirm button is not shown. What is the root cause of that problem?We hide the confirm button when we don't want the user to progress. but we allow the shortcut to navigate without checking this. What changes do you think we should make in order to solve the problem?We should not navigate further if the confirm button is not on the screen. In App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 195 to 199 in fe282b4
Implementation:
This makes sure we don't go to the invalid state of splitting with a workspace. Behaviour After Change: App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 195 to 207 in fe282b4
Which means user will go to manual request with the focused option. Same as pressing enter. Making sure no regressions:Option lists that don't have a footer call We will be blocking MoneyRequestConfirmListNo regressions. NewChatPage is also bugging:We allow onConfirmSelection to be carried out in NewChatPage also. Which tries to create a chat without selecting participants. Current behaviour on pressing CTRL+Enter on newChat Page: Screencast.from.19-10-23.12.07.53.AM.IST.webmThis bug will also be fixed. |
Reproduced, opening up. |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
|
@neonbhai Thanks for your proposal. Can you check if it won't cause any regression bugs on options lists that don't have a footer? |
This bug will be gone after #27508 |
@neonbhai I tested your proposal and it didn't work. Can you check your proposal again? Thanks Screen.Recording.2023-10-18.at.18.48.13.mov |
@neonbhai thanks for you updating. But I think the expected behavior here should be, if we press CMD+Enter in this case, it should do nothing (or show an error as it's expected in #27508). Because this shortcut would go to the next step if it's a multi-select option. Btw, before we put more effort into this issue. I'm inclining with @situchan here #29628 (comment). @garrettmknight can you put this issue on holding for #27508? |
@garrettmknight, @hoangzinh Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Will keep an eye on #27508 |
Still holding on #27508 |
@neonbhai all you! |
Raising PR soon! |
@neonbhai Friendly reminder to create that PR since it's been a week already 😄 |
Raising by EOD! |
PR ready for review! |
@garrettmknight It seems the issue was fixed by another PR when we were about to merge this PR and if I remember correctly, we still should issue payment since this wasn't the contributor's fault. Could you handle it? |
We've issued payment for work that turned out to be unnecessary, historically. I can do that this time, but @neonbhai I'd appreciate a little more urgency getting PRs up in the future. 🙇 Payment offer sent. |
Paid, closing. |
@garrettmknight Thank you! |
Hi @garrettmknight can you help to issue payment for me as well? I helped review proposals, PR and completed the review check list already. |
Sorry about that @hoangzinh - offer sent! |
Accepted. Thanks @garrettmknight |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.84-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Prerequisites:
Use an HT account that already has WS in it or create one in advance.
Expected Result:
CMD+Enter commands should not work in forbidden cases such as Split Bill with normal user and WorkSpace at the same time
Actual Result:
The CMD+Enter command takes you to the final Split Bill page, which includes normal users and WS at the same time, although this is not allowed by the system
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6237291_1697311077086.Recording__528.mp4
MacOS: Desktop
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @garrettmknightThe text was updated successfully, but these errors were encountered: