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-10-27] [$250] Dev: Emojipicker in Set status page has a text cursor instead of pointer #29097

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

Comments

@kbecciv
Copy link

kbecciv commented Oct 9, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: Dev 1.3.79.3
Reproducible in staging?: n
Reproducible in production?: n
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: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696763872801869

Action Performed:

Pre condition: Make sure you have Beta for status feature

  1. Navigate to Profile -> Status -> Set Status
  2. Hover on Emoji Picker Drop Down Button

Expected Result:

Emojipicker Dropdown button has a pointer cursor

Actual Result:

Emojipicker Dropdown button has a text cursor.

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
n/a
Android: mWeb Chrome
n/a
iOS: Native
n/a
iOS: mWeb Safari
n/a
MacOS: Chrome / Safari
Screen.Recording.2023-10-08.at.4.42.59.PM.mov
MacOS: Desktop
Screen.Recording.2023-10-08.at.4.51.16.PM.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018aae903757e06f35
  • Upwork Job ID: 1711460039105232896
  • Last Price Increase: 2023-10-10
  • Automatic offers:
    • ishpaul777 | Contributor | 27225708
    • ishpaul777 | Reporter | 27225711
Issue OwnerCurrent Issue Owner: @JmillsExpensify
@kbecciv kbecciv added the External Added to denote the issue can be worked on by a contributor label Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. cc @thienlnam

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 9, 2023
@saranshbalyan-1234
Copy link
Contributor

Proposal

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

Emojipicker in Set status page has a "text" cursor instead of pointer

What is the root cause of that problem?

We have not added styles for pointer cursor here.

App/src/styles/styles.js

Lines 3539 to 3550 in 389d7b0

emojiPickerButtonDropdown: {
justifyContent: 'center',
backgroundColor: theme.activeComponentBG,
width: 86,
height: 52,
borderRadius: 26,
alignItems: 'center',
paddingLeft: 10,
paddingRight: 4,
marginBottom: 32,
alignSelf: 'flex-start',
},

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

add ...cursor.cursorPointer at the end of emojiPickerButtonDropdown

  emojiPickerButtonDropdown: {
        justifyContent: 'center',
        backgroundColor: theme.activeComponentBG,
        width: 86,
        height: 52,
        borderRadius: 26,
        alignItems: 'center',
        paddingLeft: 10,
        paddingRight: 4,
        marginBottom: 32,
        alignSelf: 'flex-start',
        ...cursor.cursorPointer,

    },

What alternative solutions did you explore? (Optional)

N/A

@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Oct 9, 2023
@kbecciv
Copy link
Author

kbecciv commented Oct 9, 2023

Proposal by: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696763872801869

Proposal

Problem

Emojipicker in Set status page has a "text" cursor instead of pointer

Root Cause

We are setting the accessibilityRole="text" for PressableWithoutFeedback used for the dropdown which result in curesor style as "text" I have aasked clarifying question why we used "text" instead of "button" (here)[https://github.com//pull/23267]

Changes

We can change accessibilityRole=CONST.ACCESSIBILITY_ROLE.BUTTON or expilicty add cursor style to cursorPointer and cursorDisabled when disabled

Reply…
Also send to expensify-bugs

@ishpaul777
Copy link
Contributor

edit : Fixed some typos from ^

Proposal

Problem

Emojipicker in Set status page has a "text" cursor instead of pointer

Root Cause

We are setting the accessibilityRole="text" for PressableWithoutFeedback used for the dropdown which result in cursor style as "text". I have asked clarifying question why we used "text" instead of "button" here

Changes

We can change accessibilityRole=CONST.ACCESSIBILITY_ROLE.BUTTON or expilicty add cursor style to cursorPointer and cursorDisabled when disabled

@thienlnam thienlnam changed the title Dev: Emojipicker in Set status page has a "text" cursor instead of pointer Dev: Emojipicker in Set status page has a text cursor instead of pointer Oct 9, 2023
@thienlnam thienlnam added External Added to denote the issue can be worked on by a contributor and removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Oct 9, 2023
@melvin-bot melvin-bot bot changed the title Dev: Emojipicker in Set status page has a text cursor instead of pointer [$500] Dev: Emojipicker in Set status page has a text cursor instead of pointer Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Job added to Upwork: https://www.upwork.com/jobs/~018aae903757e06f35

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

melvin-bot bot commented Oct 9, 2023

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

@vadymbokatov
Copy link
Contributor

Proposal

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

Emojipicker in Set status page has a "text" cursor instead of pointer

What is the root cause of that problem?

<PressableWithoutFeedback
ref={emojiPopoverAnchor}
style={styles.emojiPickerButtonDropdown}
disabled={props.isDisabled}
onPress={onPress}
nativeID="emojiDropdownButton"
accessibilityLabel="statusEmoji"
accessibilityRole="text"
>

accessibilityRole="text" in the PressableWithoutFeedback is the root cause of this issue.

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

we can add cursor: 'pointer' to style of PressableWithoutFeedback or change accessibilityRole to button.

@cead22 cead22 changed the title [$500] Dev: Emojipicker in Set status page has a text cursor instead of pointer [$250] Dev: Emojipicker in Set status page has a text cursor instead of pointer Oct 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 10, 2023

Upwork job price has been updated to $250

@cead22
Copy link
Contributor

cead22 commented Oct 10, 2023

Simple bug, trivial fix, so I decreased the bounty

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

@allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Oct 13, 2023
@allroundexperts
Copy link
Contributor

@ishpaul777's proposal looks good to me.

🎀 👀 🎀 C+ reviewed

@melvin-bot melvin-bot bot removed the Overdue label Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

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

melvin-bot bot commented Oct 30, 2023

@allroundexperts, @stitesExpensify, @ishpaul777 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@ishpaul777
Copy link
Contributor

@stitesExpensify gentle bump for payment. Thanks!

@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2023
@stitesExpensify stitesExpensify added the Bug Something is broken. Auto assigns a BugZero manager. label Nov 2, 2023
Copy link

melvin-bot bot commented Nov 2, 2023

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

Copy link

melvin-bot bot commented Nov 2, 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

@stitesExpensify
Copy link
Contributor

Hey @JmillsExpensify can we pay @ishpaul777 and @allroundexperts please? This PR has been merged for a while

@melvin-bot melvin-bot bot added the Overdue label Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

@JmillsExpensify, @allroundexperts, @stitesExpensify, @ishpaul777 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@JmillsExpensify
Copy link

JmillsExpensify commented Nov 8, 2023

@allroundexperts do you mind filling out the BZ checklist for payment? In the meantime, I'll pay out the contributor based on the following payment summary:

@melvin-bot melvin-bot bot removed the Overdue label Nov 8, 2023
@JmillsExpensify
Copy link

Whoops updating the prices per this comment.

@JmillsExpensify
Copy link

Contributor paid out. Will circle back on C+.

@melvin-bot melvin-bot bot added the Overdue label Nov 10, 2023
Copy link

melvin-bot bot commented Nov 13, 2023

@JmillsExpensify, @allroundexperts, @stitesExpensify, @ishpaul777 Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented Nov 13, 2023

@JmillsExpensify, @allroundexperts, @stitesExpensify, @ishpaul777 Eep! 4 days overdue now. Issues have feelings too...

1 similar comment
Copy link

melvin-bot bot commented Nov 13, 2023

@JmillsExpensify, @allroundexperts, @stitesExpensify, @ishpaul777 Eep! 4 days overdue now. Issues have feelings too...

@JmillsExpensify
Copy link

@allroundexperts Looks like this one lacks a checklist, though at that point I can approve payment and we can close this one out.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 15, 2023
Copy link

melvin-bot bot commented Nov 21, 2023

@JmillsExpensify, @allroundexperts, @stitesExpensify, @ishpaul777 Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Nov 23, 2023

@JmillsExpensify, @allroundexperts, @stitesExpensify, @ishpaul777 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@JmillsExpensify
Copy link

Still awaiting a checklist.

@melvin-bot melvin-bot bot removed the Overdue label Nov 24, 2023
@JmillsExpensify
Copy link

Actually, going to go ahead and close this one out. I can verify checklist ahead of approving payment via NewDot.

@allroundexperts
Copy link
Contributor

Checklist

  1. [Feat #23130] Add custom status settings to profile #23267
  2. https://github.com/Expensify/App/pull/23267/files#r1407485604
  3. N/A
  4. I think this is really minor and a regression test is not needed. However, if there's disagreement, then the steps given in the OP seems to be clear enough.

@JmillsExpensify
Copy link

Thanks @allroundexperts. $375 payment approved based on this 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. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

9 participants