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-07-10] [HOLD for payment 2024-07-02] Expensify personal - Expensify chat has the option to rename #44193

Closed
6 tasks done
lanitochka17 opened this issue Jun 22, 2024 · 21 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 22, 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: 9.0.1-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to Expensify chat
  3. Click on the chat header
  4. Click Room name
  5. Edit the name and save it

Expected Result:

Expensify chat should not have the option to rename

Actual Result:

Expensify chat has the option to rename, but it actually cannot be renamed

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

Bug6521353_1719047082532.Expensify.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @anmurali
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jun 22, 2024
Copy link

melvin-bot bot commented Jun 22, 2024

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

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.

@lanitochka17
Copy link
Author

@pecanoro FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@neonbhai
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Expensify personal - Expensify chat has the option to rename

What is the root cause of that problem?

We use shouldDisableRename function to check if a room can be renamed, we don't take into account System Chats for this

function shouldDisableRename(report: OnyxEntry<Report>): boolean {

What changes do you think we should make in order to solve the problem?

We will add a check for ReportUtils.isSystemChat(report) in the shouldDisableRename function here:

App/src/libs/ReportUtils.ts

Lines 6147 to 6157 in 425804a

if (
isDefaultRoom(report) ||
isArchivedRoom(report) ||
isPublicRoom(report) ||
isThread(report) ||
isMoneyRequest(report) ||
isMoneyRequestReport(report) ||
isPolicyExpenseChat(report) ||
isInvoiceRoom(report) ||
isInvoiceReport(report)
) {

@mountiny mountiny removed the DeployBlocker Indicates it should block deploying the API label Jun 24, 2024
@mountiny mountiny self-assigned this Jun 24, 2024
@mountiny
Copy link
Contributor

Gonna help moving this one forwards to get the checklist into a better place before deployer comes on

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jun 24, 2024
@mountiny mountiny added the Bug Something is broken. Auto assigns a BugZero manager. label Jun 24, 2024
Copy link

melvin-bot bot commented Jun 24, 2024

Triggered auto assignment to @anmurali (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 24, 2024
@mountiny
Copy link
Contributor

Using a solution from @neonbhai works well. $50 for helping identify the fix

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jun 25, 2024
@melvin-bot melvin-bot bot changed the title Expensify personal - Expensify chat has the option to rename [HOLD for payment 2024-07-02] Expensify personal - Expensify chat has the option to rename Jun 25, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 25, 2024
Copy link

melvin-bot bot commented Jun 25, 2024

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

Copy link

melvin-bot bot commented Jun 25, 2024

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

Copy link

melvin-bot bot commented Jun 25, 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:

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

@yuwenmemon yuwenmemon removed the DeployBlockerCash This issue or pull request should block deployment label Jun 26, 2024
@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jul 2, 2024
Copy link

melvin-bot bot commented Jul 2, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@pecanoro
Copy link
Contributor

pecanoro commented Jul 2, 2024

We can simply close this one!

@pecanoro pecanoro closed this as completed Jul 2, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jul 2, 2024
@neonbhai
Copy link
Contributor

neonbhai commented Jul 2, 2024

@pecanoro hi, I'm eligible for compensation here as noted in #44193 (comment). Please take a look 🙇

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 3, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-02] Expensify personal - Expensify chat has the option to rename [HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] Expensify personal - Expensify chat has the option to rename Jul 3, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-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-07-10. 🎊

Copy link

melvin-bot bot commented Jul 3, 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:

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

@mountiny
Copy link
Contributor

mountiny commented Jul 5, 2024

Yes $50 for your help @neonbhai

@mountiny mountiny reopened this Jul 5, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@melvin-bot melvin-bot bot added the Overdue label Jul 15, 2024
@pecanoro
Copy link
Contributor

@anmurali Friendly bump on this: #44193 (comment)

@anmurali
Copy link

@neonbhai - here is your offer

@melvin-bot melvin-bot bot removed the Overdue label Jul 16, 2024
@neonbhai
Copy link
Contributor

Thank you, offer accepted!

cc: @anmurali

@anmurali
Copy link

Paid.

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. Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants