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-02-14] [$500] Thread - Messages have a "Leave thread" option #35397

Closed
6 tasks done
kbecciv opened this issue Jan 30, 2024 · 32 comments
Closed
6 tasks done
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 External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Jan 30, 2024

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: v1.4.33-3
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
Expensify/Expensify Issue URL:
Issue reported by: Applause- Internal Team
Slack conversation:

Action Performed:

  1. Go to any chat.
  2. Send a message.
  3. Right-click on the message

Expected Result:

There should be no "Leave Thread" option if no thread exists.

Actual Result:

Messages without threads have a "Leave Thread" option.

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

Add any screenshot/video evidence

Bug6360845_1706618382745.20240130_152420.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ce5f6a37e8f18a12
  • Upwork Job ID: 1752456002131746816
  • Last Price Increase: 2024-02-01
  • Automatic offers:
    • Ollyws | Reviewer | 28134907
    • paultsimura | Contributor | 28134908
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 30, 2024
Copy link

melvin-bot bot commented Jan 30, 2024

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

@kbecciv kbecciv added DeployBlockerCash This issue or pull request should block deployment and removed Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 30, 2024
Copy link
Contributor

👋 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.

Copy link

melvin-bot bot commented Jan 30, 2024

Triggered auto assignment to @srikarparsi (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@kbecciv
Copy link
Author

kbecciv commented Jan 30, 2024

We think that this bug might be related to #vip-vsb
CC @quinthar

@sakluger
Copy link
Contributor

I can't reproduce this, and I think it's probably not a deploy blocker even if it is reproduceable. Asking in QA Slack channel.

@sakluger
Copy link
Contributor

Closing for now since I can't reproduce. I asked in #QA to reopen the issue if they find consistent reproduction steps.

@kbecciv
Copy link
Author

kbecciv commented Jan 30, 2024

QA team is able to reproduce it with above steps

Recording.5959.mp4

@kbecciv kbecciv reopened this Jan 30, 2024
@sakluger sakluger added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jan 30, 2024
Copy link

melvin-bot bot commented Jan 30, 2024

Current assignee @sakluger is eligible for the Bug assigner, not assigning anyone new.

@sakluger
Copy link
Contributor

This is on production so it's not a deploy blocker.

@sakluger sakluger changed the title Thread - Thread preview in LHN shows "left the chat" after leaving thread in thread page Thread - Messages have a "Leave thread" option even when there is no thread Jan 30, 2024
@sakluger
Copy link
Contributor

Updated the original description to focus on the fact that message without threads have a "Leave Thread" option.

@sakluger sakluger added the External Added to denote the issue can be worked on by a contributor label Jan 30, 2024
Copy link

melvin-bot bot commented Jan 30, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 30, 2024
@srikarparsi
Copy link
Contributor

srikarparsi commented Feb 1, 2024

Hey @paultsimura, your proposal looks good, we just need to remove the leaveThread option from the overflow menu for all comments. When do you think you can get a PR out by?

@paultsimura
Copy link
Contributor

Thanks @srikarparsi, I can make it today

@srikarparsi srikarparsi added External Added to denote the issue can be worked on by a contributor and removed Internal Requires API changes or must be handled by Expensify staff labels Feb 1, 2024
@melvin-bot melvin-bot bot changed the title Thread - Messages have a "Leave thread" option [$500] Thread - Messages have a "Leave thread" option Feb 1, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 1, 2024
Copy link

melvin-bot bot commented Feb 1, 2024

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

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 1, 2024
Copy link

melvin-bot bot commented Feb 1, 2024

📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Feb 1, 2024

📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 1, 2024
@paultsimura
Copy link
Contributor

Thanks. The PR is ready for review: #35573

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 7, 2024
@melvin-bot melvin-bot bot changed the title [$500] Thread - Messages have a "Leave thread" option [HOLD for payment 2024-02-14] [$500] Thread - Messages have a "Leave thread" option Feb 7, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 7, 2024
Copy link

melvin-bot bot commented Feb 7, 2024

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

Copy link

melvin-bot bot commented Feb 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.37-7 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-02-14. 🎊

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

Copy link

melvin-bot bot commented Feb 7, 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.
  • [@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 13, 2024
@sakluger
Copy link
Contributor

I paid out @paultsimura.

@Ollyws could you please accept the Upwork offer and also complete the BZ checklist? Thanks!

@Ollyws
Copy link
Contributor

Ollyws commented Feb 15, 2024

BugZero Checklist

  • The PR that introduced the bug has been identified. Link to the PR:

This wasn't a bug just a design decision to remove the 'leave thread' option from the context menu.

  • 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:

N/A

  • 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:

N/A

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

I don't think a regression test is helpful here as we were just removing an option from the context menu.

@sakluger
Copy link
Contributor

Thanks! All paid out 🙌

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

6 participants