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-08-09] [HOLD for payment 2024-08-01] [$250] CRITICAL: Native - Message stays in the Composer after being sent #37896

Closed
2 of 6 tasks
kacper-mikolajczak opened this issue Mar 7, 2024 · 65 comments
Assignees
Labels
AutoAssignerNewDotQuality Used to assign quality issues to engineers 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 Reviewing Has a PR in review Weekly KSv2

Comments

@kacper-mikolajczak
Copy link
Contributor

kacper-mikolajczak commented Mar 7, 2024

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.4.47-10
Reproducible in staging?: Yes
Reproducible in production?: Yes
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: N/A
Expensify/Expensify Issue URL:
Issue reported by: @kacper-mikolajczak
Slack conversation: https://callstack-hq.slack.com/archives/C05LX9D6E07/p1709816920314349

Action Performed:

  1. Open a report
  2. Type and send messages one after another in fast manner

Expected Result:

Composer is emptied of old message after Send button is pressed, resulting in clean state whenever user wants to type new message.

Actual Result:

From time to time, Composer lags behind and old message is kept in the input.

Workaround:

Related issues:

#10148

#35225 (comment)

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

RPReplay_Final1709762923.mov
composer-lags-behind.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010ec0505687d1ab91
  • Upwork Job ID: 1807817457409282324
  • Last Price Increase: 2024-07-01
Issue OwnerCurrent Issue Owner: @muttmuure
@kacper-mikolajczak kacper-mikolajczak added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Mar 7, 2024
Copy link

melvin-bot bot commented Mar 7, 2024

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

@kacper-mikolajczak
Copy link
Contributor Author

Replacing MarkdownInput with regular TextInput did not help.

markdown-input-replaced-with-text-input.mp4

@melvin-bot melvin-bot bot added the Overdue label Mar 11, 2024
Copy link

melvin-bot bot commented Mar 11, 2024

@muttmuure, @kacper-mikolajczak Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented Mar 13, 2024

@muttmuure, @kacper-mikolajczak Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Mar 15, 2024

@muttmuure, @kacper-mikolajczak Still overdue 6 days?! Let's take care of this!

Copy link

melvin-bot bot commented Mar 19, 2024

@muttmuure, @kacper-mikolajczak 10 days overdue. I'm getting more depressed than Marvin.

@muttmuure
Copy link
Contributor

@kacper-mikolajczak is this still being worked on?

@melvin-bot melvin-bot bot removed the Overdue label Mar 20, 2024
@kacper-mikolajczak
Copy link
Contributor Author

kacper-mikolajczak commented Mar 20, 2024

Hi @muttmuure, sorry I am occupied with other tasks! For now I don't have a clear solution, but I would love to dig into that once I am free. Can we wait with final decision whether close the issue till Friday? Thanks a lot!

@muttmuure
Copy link
Contributor

OK!

@kacper-mikolajczak
Copy link
Contributor Author

Hi @muttmuure I want to let you know that I've been mostly involved in Monitoring setup and finishing the hasDraft PR and was not able to get back to this assignment.

I will continue with monitoring setup (and Control phase in general) next week, so let me know if you want to close or put on hold this issue, so we can get back to it later. Thanks a lot and have a nice peaceful weekend!

@melvin-bot melvin-bot bot added the Overdue label Mar 25, 2024
@muttmuure muttmuure changed the title Native - Message stays in the Composer after being sent [HOLD] Native - Message stays in the Composer after being sent Mar 27, 2024
@muttmuure
Copy link
Contributor

Let's put it on hold

@melvin-bot melvin-bot bot removed the Overdue label Mar 27, 2024
@muttmuure muttmuure added Weekly KSv2 and removed Daily KSv2 labels Mar 27, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 5, 2024
@muttmuure
Copy link
Contributor

Still held

@melvin-bot melvin-bot bot removed the Overdue label Apr 17, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 25, 2024
@muttmuure
Copy link
Contributor

Held

@melvin-bot melvin-bot bot removed the Overdue label Apr 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 2, 2024
Copy link

melvin-bot bot commented Aug 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.15-9 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-08-09. 🎊

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

Copy link

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

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

@hannojg
Copy link
Contributor

hannojg commented Aug 5, 2024

The last PR for fixing this was reverted. Working on a new one to fix the regression!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Aug 5, 2024
@hannojg
Copy link
Contributor

hannojg commented Aug 5, 2024

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Aug 5, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

Payment Summary

Upwork Job

  • Reviewer: @Ollyws owed $250 via NewDot
  • Contributor: @hannojg is from an agency-contributor and not due payment

BugZero Checklist (@muttmuure)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1807817457409282324/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

Copy link

melvin-bot bot commented Aug 12, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Aug 12, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@Ollyws
Copy link
Contributor

Ollyws commented Aug 21, 2024

This one is due for payment today, looking at the date that the last PR was deployed to producion.

@muttmuure
Copy link
Contributor

muttmuure commented Aug 21, 2024

How many PRs did you review? It seems like this should be more than $250

@Ollyws
Copy link
Contributor

Ollyws commented Aug 21, 2024

3 in total, as the first and second PRs were reverted.

@Ollyws
Copy link
Contributor

Ollyws commented Aug 29, 2024

Friendly bump @muttmuure

@muttmuure
Copy link
Contributor

Handling

@muttmuure
Copy link
Contributor

$750 for @Ollyws C+

@muttmuure
Copy link
Contributor

Do we need a regression test for this one?

@Ollyws
Copy link
Contributor

Ollyws commented Aug 30, 2024

We could add the regression test:

1. Spam the 'a' key, typing 'aaaaaa...'
2. Press send
3. Spam the 'b' key, typing 'bbbbbb...'
4. Expect that the composer shows first 'aaaaaa', then clears it, then it shows 'bbbbbb'

@Ollyws
Copy link
Contributor

Ollyws commented Aug 30, 2024

Requested in ND.

@garrettmknight
Copy link
Contributor

$750 approved for @Ollyws based on this comment

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Sep 9, 2024
@github-project-automation github-project-automation bot moved this from CRITICAL to Done in [#whatsnext] #quality Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoAssignerNewDotQuality Used to assign quality issues to engineers 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 Reviewing Has a PR in review Weekly KSv2
Projects
Development

No branches or pull requests

9 participants