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 2023-04-03] Invite member in workspace passes default message to email in 'They also added a message:' part when no message is passed #14568

Closed
6 tasks
kavimuru opened this issue Jan 25, 2023 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jan 25, 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 the app and login with user A
  2. Open settings
  3. Open Workspaces
  4. Open any Workspace
  5. Open 'Manage members'
  6. Click on invite
  7. Select user B, remove personal message and click on Invite
  8. Open user B email to observe invite email

Expected Result:

Email should not have 'They also added a message:' part in it.

Actual Result:

Email has 'They also added a message:' part with default message (The one we removed while sending the invite)

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: v1.2.59-1
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
Notes/Photos/Videos:

email.adding.default.message.issue.mp4

Untitled

Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1674637561870409

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011a0955c8ca823f3a
  • Upwork Job ID: 1620771101080711168
  • Last Price Increase: 2023-02-01
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 25, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 25, 2023
@MitchExpensify
Copy link
Contributor

I reproduced this. If no personal message has been added, I agree we should take the "You have been invited.." sentence out of the inviters voice by removing "They also added a message:"

To that end, I'd also remove the quotations around "You have been invited.." if no personal message has bee added.

I am unsure if this issue can be can be handled by contributors, and based on the Bug Zero SO, I'm going to label Engineering to help decide if it should be labelled External or Internal

@MitchExpensify
Copy link
Contributor

Lil bump @nkuoch just to help me understand if this is suitable for internal or external labelling, thank you!

@melvin-bot melvin-bot bot removed the Overdue label Feb 1, 2023
@nkuoch
Copy link
Contributor

nkuoch commented Feb 1, 2023

Could be external, but I already know the fix, it's super easy, so I can do it myself

@nkuoch nkuoch added the Internal Requires API changes or must be handled by Expensify staff label Feb 1, 2023
@melvin-bot melvin-bot bot unlocked this conversation Feb 1, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 1, 2023

Job added to Upwork: https://www.upwork.com/jobs/~011a0955c8ca823f3a

@melvin-bot
Copy link

melvin-bot bot commented Feb 1, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @sobitneupane (Internal)

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Feb 3, 2023
@nkuoch
Copy link
Contributor

nkuoch commented Feb 10, 2023

I feel that if the user removes the default message, we shouldn't send it at all, and only keep the email short:
image

Maybe just adding a link on "in Expensify" redirecting to https://use.expensify.com/ ?

@MitchExpensify
Copy link
Contributor

I feel that if the user removes the default message, we shouldn't send it at all, and only keep the email short:

I agree. Although as I tried to think of the simplest messaging its not that different to the existing default message.

@nkuoch
Copy link
Contributor

nkuoch commented Feb 18, 2023

So do we agree we can just keep the email simple like in the screenshot above if the user removes the default message from the form?

And do we want to add a link on "In Expensify"?

@MitchExpensify
Copy link
Contributor

So do we agree we can just keep the email simple like in the screenshot above if the user removes the default message from the form?

Agree! And I think a link makes sense

@MelvinBot
Copy link

@nkuoch, @sobitneupane, @MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@nkuoch nkuoch added Weekly KSv2 and removed Daily KSv2 labels Mar 1, 2023
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Mar 24, 2023
@MelvinBot
Copy link

This issue has not been updated in over 15 days. @nkuoch, @sobitneupane, @MitchExpensify 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!

@MitchExpensify
Copy link
Contributor

The PR is on production so I thiink we're good to close this, right @nkuoch ?

Also I don't believe any payment to be due to @sobitneupane because this was handled internally without their review. But please correct me if I'm wrong!

Remaining steps for me are to pay @dhanashree-sawant

@MitchExpensify
Copy link
Contributor

Offer sent @dhanashree-sawant

@dhanashree-sawant
Copy link

Hi @MitchExpensify , thanks I have accepted the offer.

@MitchExpensify
Copy link
Contributor

Paid! Thanks everybody :)

@sobitneupane
Copy link
Contributor

@MitchExpensify I reviewed the internal pr #14800. Payment is due.

@MitchExpensify
Copy link
Contributor

Thanks so much for correcting me @sobitneupane! I'll get that sorted now.

@MitchExpensify
Copy link
Contributor

Ok I've made a note to revisit your payment once #14800 has been on production for 7 days. Thanks again @sobitneupane!

@sobitneupane
Copy link
Contributor

Thanks @MitchExpensify

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Monthly KSv2 labels Mar 27, 2023
@melvin-bot melvin-bot bot changed the title Invite member in workspace passes default message to email in 'They also added a message:' part when no message is passed [HOLD for payment 2023-04-03] Invite member in workspace passes default message to email in 'They also added a message:' part when no message is passed Mar 27, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 27, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Mar 27, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.89-0 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 2023-04-03. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Mar 27, 2023

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:

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

@sobitneupane
Copy link
Contributor

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:

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

I don't think it's a bug. It is an improvement.

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:

Since, it's not a bug, no offending PR.

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

@nkuoch Do you agree?

@sobitneupane
Copy link
Contributor

Regression Test Proposal

  • Open the app and login with user A
  • Open any workspace
  • Open 'Manage members'
  • Invite user B by removing default personal message
  • Open user B email to observe invite email
  • Verify that the user B receives an email that doesn't contain the default message.

Do we agree 👍 or 👎

@MitchExpensify
Copy link
Contributor

MitchExpensify commented Mar 30, 2023

Regression step addition requested here https://github.com/Expensify/Expensify/issues/272236

@MitchExpensify
Copy link
Contributor

MitchExpensify commented Apr 3, 2023

@sobitneupane I issued the payment as a bonus on an old contract(#14228 for the record), I hope thats fine! Thanks again

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 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants