-
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] Private notes - Missing I cursor on single backtick code block in private notes #29205
Comments
Triggered auto assignment to @zanyrenney ( |
Job added to Upwork: https://www.upwork.com/jobs/~016452c92d5e653ce2 |
Bug0 Triage Checklist (Main S/O)
|
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.Private notes - Missing I cursor on single backtick code block in private notes What is the root cause of that problem?We're rendering the 3 backtick using PreRenderer and put App/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/BasePreRenderer.js Line 53 in 6f24430
That why when we hover on this component the In the case of single backtick, we do not specific the cursor property so it will use the cursor property of their parent -> When we hover on single backtick component, the hand cursor is shown
What changes do you think we should make in order to solve the problem?We should specific the text cursor for single backtick component here
ResultScreen.Recording.2023-10-10.at.23.53.53.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Private notes - Missing I cursor on single backtick code block in private notes What is the root cause of that problem?We are using What changes do you think we should make in order to solve the problem?We can add Option 2If we don't want to show text cursor on any element then we need to pass Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.Private notes - Missing I cursor on single backtick code block in private notes What is the root cause of that problem?Because we don't use any special cursor for code text. What changes do you think we should make in order to solve the problem?we need to add
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Private notes - Missing I cursor on single backtick code block in private notes What is the root cause of that problem?The root cause of this issue is that we didn't set cursor style for MenuItem HTML title, see App/src/components/MenuItem.js Lines 254 to 258 in d7b1deb
and Lines 1648 to 1656 in d7b1deb
So the cursor is inherited from its parent container which displays as pointer. What changes do you think we should make in order to solve the problem?To fix this issue, we should add ...cursor.cursorAuto, after this line Line 1653 in d7b1deb
See demo Screen.Recording.2023-10-11.at.10.06.30.PM.movWhat alternative solutions did you explore? (Optional)The current UI to display note using menu item looks a bit odd. We can redesign the |
any thoughts on these @fedirjh ? |
@zanyrenney Can you please confirm the expected result for this bug? For another issue #27881 , It states that we should display the hand cursor :
So the expected result is not accurate. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks @fedirjh , I think you're right IRT to expected behaviour on a second look, closing this out. |
@zanyrenney, the issue is, it is displaying text cursor instead of hand cursor, I think @fedirjh was asking about the expected behaviour here. |
@zanyrenney, I think the issue should be re-opened as there is I cursor shown on code block instead of hand cursor.
|
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.79.3
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
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696180128366109
Action Performed:
Expected Result:
App should display I cursor for both backtick code block hover on My note in private notes
Actual Result:
App displays I cursor only on 3 backtick code block hover on My note in private notes
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
windows.chrome.desktop.Missing.I.cursor.single.backtick.private.notes.mov
mac.chrome.desktop.Missing.I.cursor.single.backtick.private.notes.mov
windows.chrome.missing.I.cursor.in.private.notes.mp4
MacOS: Desktop
https://github.com/Expensify/App/assets/93399543/65291ac3-bd5e-46b2-b22f-f70b4af29507windows.chrome.desktop.Missing.I.cursor.single.backtick.private.notes.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: