-
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
[HOLD for payment 2023-10-02] [$500] Web - Cursor Changes to Text Cursor Instead of Hand Cursor for Long Private Messages #27881
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01901da2d28d6828fb |
Triggered auto assignment to @kadiealexander ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cursor appears as text cursor instead of a pointer What is the root cause of that problem?The text being displayed has a What changes do you think we should make in order to solve the problem?Apply
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cursor changes to a text cursor instead of the pointer cursor for private notes with long text. What is the root cause of that problem?In PrivateNotesViewPage, the
styles.chatItemMessage contains What changes do you think we should make in order to solve the problem?Solution 1 Solution 2 What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Cursor Changes to Text Cursor Instead of Hand Cursor for Long Private Messages What is the root cause of that problem?Hi the root cause is in the styles Lines 1654 to 1663 in 94c07ea
the 'cursor: auto' on texts is cursor. What changes do you think we should make in order to solve the problem?Add to styles App/src/components/MenuItem.js Line 259 in 94c07ea
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Cursor Changes to Text Cursor Instead of Hand Cursor for Long Private Messages What is the root cause of that problem?The CSS properties of chat item message box (chatItemMessage) contains (cursor: auto) property which lets the browser automatically attach a cursor to elements. chatItemMessage is used for private message items. What changes do you think we should make in order to solve the problem?The first idea that comes to mind is to simply remove cursorAuto property from chatItemMessage box. However, this might cause unexpected behavior for other elements that use chatItemMessage property. The best kind of solution is to eliminate this problem only for MenuItem component. This can be done by excluding cursorAuto property from the style associated with MenuItem component. |
📣 @ArdaSeremet! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.even while viewing the notes the cursor changes to 'text cursor' Instead of 'hand cursor' for Long Private Messages What is the root cause of that problem?App/src/components/MenuItem.js Lines 259 to 261 in 5f06b36
As styles.chatItemMessage is used which have these styles, defaultCursor is causing the cursor to be text chatItemMessage: {
color: theme.text,
fontSize: variables.fontSizeNormal,
fontFamily: fontFamily.EXP_NEUE,
lineHeight: variables.lineHeightXLarge,
maxWidth: '100%',
...cursor.cursorAuto,
...whiteSpace.preWrap,
...wordBreak.breakWord,
} What changes do you think we should make in order to solve the problem?we just need to pass an additional styles.cursorDefault style to fix this issue <View style={{...styles.chatItemMessage, ...styles.cursorDefault}}>
<RenderHTML html={getProcessedTitle} />
</View> What changes do you think we should make in order to solve the problem? |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Auto cursor shown when hovered over text in private note What is the root cause of that problem?For private notes we pass prop App/src/components/MenuItem.js Line 259 in d00a4d6
the text is wrapped with View with style chatItemMessage which has cursor style auto.
What changes do you think we should make in order to solve the problem?We will just use <RenderHTML html={getProcessedTitle} /> for both native and others simply removing the What alternative solutions did you explore? (Optional) |
This is a regression from #27736 , cc @jeet-dhandha @narefyev91 |
Removing my assignment because we don't need two BZs on the issue and Kadie was assigned first |
Let's close. I guess it still require payment for reporter. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-10-02. 🎊 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.
For reference, here are some details about the assignees on this issue:
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:
|
Bump @kadiealexander for #27881 (comment) |
Thanks @fedirjh, lets close. |
@kadiealexander I didn't get payment |
Hello, @kadiealexander I was wondering if I am eligible for payment even though my issue is marked as "Awaiting Payment" and I have not yet received any payment. The issue has been closed and I would appreciate any clarification on this matter. Thank you. |
Please apply here: https://www.upwork.com/jobs/~01901da2d28d6828fb |
@kadiealexander Can be closed ? |
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:
Expected Result:
The cursor should remain as a hand cursor for long private messages.
Actual Result:
The cursor changes to a text cursor for long private messages.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.72.6
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-capture.-.2023-09-19T222850.192.webm
Recording.4657.mp4
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695186909696099
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: