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 2024-04-05] [$500] mWeb - Cursor jumps back to the start when adding an emoji in edit #28563

Closed
1 of 6 tasks
kbecciv opened this issue Oct 1, 2023 · 106 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 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Oct 1, 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!


Action Performed:

  1. Open any report on staging ND
  2. Send a text message
  3. Hold on the message and tap on edit the message
  4. Click the emoji button in the text input
  5. select an emoji

Expected Result:

The cursor should stay after the emoji when an emoji is added

Actual Result:

The cursor jumps to the start of the text when an emoji is added while editing

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.75.8
Reproducible in staging?: y
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
Notes/Photos/Videos: Any additional supporting documentation

20231001_184036.mp4
Screen_Recording_20231001_124540_Chrome.mp4

Expensify/Expensify Issue URL:
Issue reported by: @jo-ui
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696174769247349

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01edb4567dee0b0a57
  • Upwork Job ID: 1708949538648821760
  • Last Price Increase: 2023-10-16
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Oct 1, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Oct 1, 2023

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Oct 1, 2023

Triggered auto assignment to @neil-marcellini (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@mountiny
Copy link
Contributor

mountiny commented Oct 2, 2023

I cannot repro this in ios

@neil-marcellini
Copy link
Contributor

I'll check if I can reproduce it on Android Chrome now.

@neil-marcellini
Copy link
Contributor

I can't reproduce this on staging so we can close this.

Android-Emoji.mp4

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Oct 2, 2023
@mountiny
Copy link
Contributor

mountiny commented Oct 2, 2023

Thanks!

@jo-ui
Copy link

jo-ui commented Oct 2, 2023

@neil-marcellini @mountiny It is still reproducible on android chrome but not on ios. Please check again with cleared cookies.

@mountiny mountiny added Daily KSv2 Hourly KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed Hourly KSv2 Daily KSv2 labels Oct 2, 2023
@mountiny mountiny added Daily KSv2 and removed Hourly KSv2 labels Oct 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 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

@mountiny mountiny reopened this Oct 2, 2023
@mountiny
Copy link
Contributor

mountiny commented Oct 2, 2023

Reopening to confirm

@sakluger
Copy link
Contributor

sakluger commented Oct 2, 2023

Since @jo-ui confirmed it is broken on android only, and Applause confirmed it's reproduceable on android, I'm going to add labels.

@sakluger sakluger added the External Added to denote the issue can be worked on by a contributor label Oct 2, 2023
@melvin-bot melvin-bot bot changed the title mWeb - Cursor jumps back to the start when adding an emoji in edit [$500] mWeb - Cursor jumps back to the start when adding an emoji in edit Oct 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01edb4567dee0b0a57

@trjExpensify trjExpensify removed their assignment Dec 18, 2023
@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jan 10, 2024
Copy link

melvin-bot bot commented Jan 10, 2024

This issue has not been updated in over 15 days. @sakluger, @artus9033, @neil-marcellini, @abdulrahuman5196 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot added the Monthly KSv2 label Jan 10, 2024
@neil-marcellini
Copy link
Contributor

Closing the old PR, per this comment, and re-assigning this to @MrRefactor. Sorry for the delay, it got lost in all the noise! Thanks for the DMs to raise it back to my attention.

@neil-marcellini neil-marcellini removed the Reviewing Has a PR in review label Mar 1, 2024
@neil-marcellini
Copy link
Contributor

@MrRefactor would you please comment so myself or @sakluger can assign you?

@MrRefactor
Copy link
Contributor

@MrRefactor would you please comment so myself or @sakluger can assign you?

Hey! I will open new pr soon

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Monthly KSv2 labels Mar 4, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 29, 2024
@melvin-bot melvin-bot bot changed the title [$500] mWeb - Cursor jumps back to the start when adding an emoji in edit [HOLD for payment 2024-04-05] [$500] mWeb - Cursor jumps back to the start when adding an emoji in edit Mar 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

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

Copy link

melvin-bot bot commented Mar 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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 2024-04-05. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Mar 29, 2024

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:

  • [@abdulrahuman5196] The PR that introduced the bug has been identified. Link to the PR:
  • [@abdulrahuman5196] 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:
  • [@abdulrahuman5196] 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:
  • [@abdulrahuman5196] Determine if we should create a regression test for this bug.
  • [@abdulrahuman5196] 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.
  • [@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@abdulrahuman5196
Copy link
Contributor

The PR that introduced the bug has been identified. Link to the PR:
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:
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:

Not a regression.

Determine if we should create a regression test for this bug.

Yes.

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.

  1. Send a message to a chat
  2. Long-press it and select "Edit comment" in the context menu
  3. Append a new emoji from the emoji picker sliding menu - repeat this in several edge cases: in-between existing text, after text, before text
  4. Ensure the cursor position is each time in the expected position and does not jump to the start of the text

@sakluger
Copy link
Contributor

sakluger commented Apr 8, 2024

Summarizing payment on this issue:

Bug reporter: @jo-ui $50, sent offer via Upwork
Contributor: @MrRefactor, No payment required
Contributor+: @abdulrahuman5196 $500, sent offer via Upwork

@abdulrahuman5196
Copy link
Contributor

@sakluger accepted the offer

@jo-ui
Copy link

jo-ui commented Apr 10, 2024

@sakluger I accepted the offer

@sakluger sakluger added Daily KSv2 and removed Weekly KSv2 labels Apr 12, 2024
@sakluger
Copy link
Contributor

Thanks everyone! I paid out all contracts and created a separate issue for the new regression test steps.

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 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests