Skip to content
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 2023-07-17] [$1000] Web - Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split bill #21695

Closed
1 of 6 tasks
kbecciv opened this issue Jun 27, 2023 · 46 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Jun 27, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Go to '+" -> new group -> select members
  2. Click create group
  3. Now it should show a new group page
  4. Go to ''+" on new group page -> split bill -> type the amount -> next
  5. Notice who paid? card section, the cursor is shown as the mouse pointer

Expected Result:

The arrow cursor should be shown instead of mouse cursor as the who paid section ( where the user who paid is shown)

Actual Result:

Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split bill

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.30-5
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation

Screen.Recording.2023-06-23.at.7.02.02.PM.1.mov
Recording.3281.mp4

Expensify/Expensify Issue URL:
Issue reported by: @ashimsharma10
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687527115940319

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013377045cdf090308
  • Upwork Job ID: 1673779406484242432
  • Last Price Increase: 2023-06-27
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@ginsuma
Copy link
Contributor

ginsuma commented Jun 27, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

Web - Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split

What is the root cause of that problem?

What we expected:

Split Bill From Group
Split.from.Group.mov
Split Bill From FAB
Split.From.FAB.mov

What changes do you think we should make in order to solve the problem?

We add isReadOnly prop to OptionRow component.
This prop is used for 'Who paid' section when can modify participants.

  • Not have hover and press effect.
  • Default cursor on section.
  • Pointer cursor on avatar, display name.
  • Not-allowed cursor on SelectCircle.

@lschurr lschurr added the External Added to denote the issue can be worked on by a contributor label Jun 27, 2023
@melvin-bot melvin-bot bot changed the title Web - Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split bill [$1000] Web - Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split bill Jun 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Job added to Upwork: https://www.upwork.com/jobs/~013377045cdf090308

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Current assignee @lschurr is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

@Santhosh-Sellavel
Copy link
Collaborator

@ginsuma Your proposal didn't work for me, please check again!

@ginsuma
Copy link
Contributor

ginsuma commented Jun 27, 2023

@Santhosh-Sellavel
Screen Shot 2023-06-28 at 5 26 54 AM
My proposal shows like that. Can you describe how should it show?

@Santhosh-Sellavel
Copy link
Collaborator

Sorry for the confusion, my apologies it works. Something wrong with my setup. Working now.

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Jun 27, 2023

@ginsuma's Proposal looks good here.

For CME
This issue raises minor concerns,

On the confirmation page, while we create a SplitBill from a group chat, we will be able to unselect users from Who was there? but in the flow where we create a SpiltBill from the FAB button, we will not be able to unselect anyone still we allow to click on all the users and will show the User Details page. I believe post this proposal we will not be able to click Who paid in FAB flow also, are we fine with that, or should exclude that?

Recording Before on staging & now on dev

Screen.Recording.2023-06-28.at.4.22.43.AM.mov

C+ Reviewed
🎀 👀 🎀

cc: @lschurr

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@ginsuma
Copy link
Contributor

ginsuma commented Jun 27, 2023

@Santhosh-Sellavel For your concern, we can edit it to for working both cases:

const canModifyParticipants = !props.isReadOnly && props.canModifyParticipants && props.hasMultipleParticipants;
 {
    title: translate('moneyRequestConfirmationList.whoPaid'),
    data: [formattedPayeeOption],
    shouldShow: true,
    indexOffset: 0,
    isDisabled: canModifyParticipants,
},

@ginsuma
Copy link
Contributor

ginsuma commented Jun 27, 2023

Proposal

Updated

@Santhosh-Sellavel
Copy link
Collaborator

Cool @ginsuma, I'm not sure whether we want that, thanks anyway! Let's wait for @amyevans!

@amyevans
Copy link
Contributor

I'm not sure that disabling the Who Paid section is the way we should go from a design perspective (for instance, I could see an alternative being removing the circle/checkmark altogether). So I'd like @Expensify/design's eyes on it first before we proceed.

@Santhosh-Sellavel
Copy link
Collaborator

Good call @amyevans!

@shawnborton
Copy link
Contributor

I like keeping the checkmark to indicate that the person is included, but I think I would just make it so you can't interact with it.

@ginsuma
Copy link
Contributor

ginsuma commented Jun 28, 2023

Can you check the below is what we expected:

Split Bill From Group
Split.from.Group.mov
Split Bill From FAB
Split.From.FAB.mov

@Santhosh-Sellavel
Copy link
Collaborator

@shawnborton Can you confirm this works for you?

@shawnborton
Copy link
Contributor

Works for me!

@amyevans
Copy link
Contributor

Cool, assigning @ginsuma!

@ashimsharma10
Copy link

Bot is not assigning properly.
Please someone check.

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 30, 2023
@ginsuma
Copy link
Contributor

ginsuma commented Jun 30, 2023

#21945 PR is up @amyevans @Santhosh-Sellavel .

@amyevans
Copy link
Contributor

Heads up I'm OOO Mon/Tue next week.

@melvin-bot
Copy link

melvin-bot bot commented Jul 6, 2023

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

  • when @ginsuma got assigned: 2023-06-29 17:15:04 Z
  • when the PR got merged: 2023-07-06 14:28:19 UTC
  • days elapsed: 4

On to the next one 🚀

@melvin-bot
Copy link

melvin-bot bot commented Jul 10, 2023

@amyevans, @ginsuma, @lschurr, @Santhosh-Sellavel Huh... This is 4 days overdue. Who can take care of this?

@Santhosh-Sellavel
Copy link
Collaborator

PR is Merged!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jul 10, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Web - Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split bill [HOLD for payment 2023-07-17] [$1000] Web - Mouse cursor is shown as hand icon (on a not clickable section) on who paid, split bill Jul 10, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 10, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Jul 10, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.38-7 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 2023-07-17. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jul 10, 2023

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:

  • [@Santhosh-Sellavel] The PR that introduced the bug has been identified. Link to the PR:
  • [@Santhosh-Sellavel] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@Santhosh-Sellavel] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@Santhosh-Sellavel] Determine if we should create a regression test for this bug.
  • [@Santhosh-Sellavel] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@lschurr
Copy link
Contributor

lschurr commented Jul 14, 2023

@ashimsharma10 @Santhosh-Sellavel @ginsuma - please apply for the job in Upwork here: https://www.upwork.com/jobs/~013377045cdf090308

@Santhosh-Sellavel
Copy link
Collaborator

@lschurr Will collect on ND.

@ashimsharma10
Copy link

@lschurr applied!

@ginsuma
Copy link
Contributor

ginsuma commented Jul 14, 2023

I applied. Thanks.

@lschurr
Copy link
Contributor

lschurr commented Jul 14, 2023

@Santhosh-Sellavel could you work on the checklist? Do we need a regression test?

@Santhosh-Sellavel
Copy link
Collaborator

I think we can skip the checklist here as it's not a regression but rather a minor UX polish. cc: @amyevans thoughts?

@amyevans
Copy link
Contributor

Agreed!

@lschurr
Copy link
Contributor

lschurr commented Jul 14, 2023

Thanks all! I'll issue payments on Monday and close.

@lschurr
Copy link
Contributor

lschurr commented Jul 17, 2023

@ashimsharma10 - could you clarify what's going on in Upwork? Did you accept the offer?

@ashimsharma10
Copy link

@lschurr it is shown "withdrawn offer". Can u please offer me again at https://www.upwork.com/freelancers/~018a92cf13e1e88eed.

@lschurr
Copy link
Contributor

lschurr commented Jul 17, 2023

Payments are sent. Closing.

@lschurr lschurr closed this as completed Jul 17, 2023
@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Jul 20, 2023

Requested for payment on ND. ($1000)

@anmurali
Copy link

Approved based on #21695 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants