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

[PAID] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message #41184

Closed
quinthar opened this issue Apr 28, 2024 · 29 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement.

Comments

@quinthar
Copy link
Contributor

quinthar commented Apr 28, 2024

Problem:

We are working on "Stage 1/2 onboarding", which embeds training into the app for new users. One part of the design is to assign "tasks" to the user for onboarding steps. At one point we had talked about creating a new "Expensify" user to assign these tasks to you, and we will still do that in the future to A/B test the effectiveness of a new Expensify user, versus using Concierge. And when we do that we will make those tasks "read only" -- and encourage you to talk to Concierge about onboarding. This is the PR that added it. However, now Concierge is assigning them to you -- so this message is very confusing. Even worse, it's showing on the wrong chat (ie, in a public room):

Image

Solution:

Let's just revert this message entirely and we can add it later when we are ready to show it. /cc @dubielzyk-expensify @anmurali

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01fe3f4f4e21a87651
  • Upwork Job ID: 1784733661373624320
  • Last Price Increase: 2024-04-28
  • Automatic offers:
    • ishpaul777 | Reviewer | 0
    • neonbhai | Contributor | 0
    • shubham1206agra | Contributor | 0
Issue OwnerCurrent Issue Owner: @strepanier03
@quinthar quinthar converted this from a draft issue Apr 28, 2024
@quinthar quinthar added External Added to denote the issue can be worked on by a contributor Daily KSv2 Improvement Item broken or needs improvement. labels Apr 28, 2024
Copy link

melvin-bot bot commented Apr 28, 2024

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

@melvin-bot melvin-bot bot changed the title HIGH: [Polish] Revert the Message Concierge for help with setup message [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message Apr 28, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 28, 2024
Copy link

melvin-bot bot commented Apr 28, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 (External)

@neonbhai
Copy link
Contributor

neonbhai commented Apr 29, 2024

Proposal

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

Revert the Message Concierge for help with setup message

What is the root cause of that problem?

We display the footer message here:

{!canWriteInReport && <SystemChatReportFooterMessage />}

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

We would check if the user is logged in and if he is missing the write permissions when rendering the Footer:

{!isAnonymousUser && !canWriteInReport && <SystemChatReportFooterMessage />}

What alternative solutions did you explore?

  • Not sure if we would actually want to show this banner for system chats (concierge) since user always has write permissions for concierge chats

    • If this is not true, we would add a isConcierge check
      const isConcierge = ReportUtils.isConciergeChatReport(report)
  • If we want to remove the banner we could comment this line for now

@Nodebrute
Copy link
Contributor

Nodebrute commented Apr 29, 2024

Proposal

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

Revert the Message Concierge for help with setup message

What is the root cause of that problem?

This message was added in this PR #40010

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

Remove || !canWriteInReport from this line

<View style={[styles.chatFooter, isArchivedRoom || isAnonymousUser || !canWriteInReport ? styles.mt4 : {}, isSmallScreenWidth ? styles.mb5 : null]}>

Remove this line

{!canWriteInReport && <SystemChatReportFooterMessage />}

Remove these lines too

const canWriteInReport = ReportUtils.canWriteInReport(report);

import SystemChatReportFooterMessage from './SystemChatReportFooterMessage';

What alternative solutions did you explore? (Optional)

We can add another check here !isAnonymousUser

{!canWriteInReport && <SystemChatReportFooterMessage />}

@ishpaul777
Copy link
Contributor

This is straightforward revert so i am inclined to chose the first proposal i.e. from @neonbhai

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Apr 29, 2024

Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@mountiny mountiny added the DeployBlockerCash This issue or pull request should block deployment label Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

Current assignee @blimpich is eligible for the DeployBlockerCash assigner, not assigning anyone new.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 29, 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.

@mountiny
Copy link
Contributor

@ishpaul777 @neonbhai @Nodebrute rather than reverting, could you please propose a change that would keep the banner for "system" type chats but not for the public chats

Ideally i think we can just update the logic to show this concierge banner only when the Sign up public chat does not show (and the write permissions are missing)

@neonbhai
Copy link
Contributor

Proposal updated

@mountiny @ishpaul777

@mountiny
Copy link
Contributor

Can you also check for announce chat and make sure we dont show this banner there either.

We can update the logic to temporarily only show this banner at "system" type chat reports.

Who can please implement that?

@mountiny
Copy link
Contributor

@neonbhai looks good but to be on a safe side, lets only show this for system chat report to also catch any other cases like announce chat report

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 29, 2024
@melvin-bot melvin-bot bot added the Weekly KSv2 label Apr 29, 2024
@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Apr 29, 2024
@mountiny
Copy link
Contributor

Removing the blocker label, CP being CPed

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 29, 2024
@melvin-bot melvin-bot bot changed the title [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message [HOLD for payment 2024-05-06] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message Apr 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

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

Copy link

melvin-bot bot commented Apr 29, 2024

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

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

@shubham1206agra
Copy link
Contributor

@mountiny Assign me here for PR review.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels May 1, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-05-06] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message [HOLD for payment 2024-05-08] [HOLD for payment 2024-05-06] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message May 1, 2024
Copy link

melvin-bot bot commented May 1, 2024

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

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

Copy link

melvin-bot bot commented May 8, 2024

Issue is ready for payment but no BZ is assigned. @strepanier03 you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

@mountiny mountiny changed the title [HOLD for payment 2024-05-08] [HOLD for payment 2024-05-06] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message [HOLD for payment 2024-05-08] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message May 8, 2024
Copy link

melvin-bot bot commented May 8, 2024

📣 @shubham1206agra 🎉 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 📖

@strepanier03
Copy link
Contributor

Automation didn't kick this back to Daily. Will do that now and review.

@strepanier03 strepanier03 added Daily KSv2 and removed Weekly KSv2 labels May 8, 2024
@strepanier03
Copy link
Contributor

Just confirming, based on the PR it looks like @shubham1206agra took over reviewer right away and @ishpaul777 is NOT owed payment? If that's incorrect please let me know.

@strepanier03
Copy link
Contributor

Payment Summary

@strepanier03
Copy link
Contributor

Will check in tomorrow.

@strepanier03
Copy link
Contributor

Contract was accepted so I finished paying it out and closed it.

Everything is all set here, thanks!

@strepanier03 strepanier03 changed the title [HOLD for payment 2024-05-08] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message [PAID] [$250] HIGH: [Polish] Revert the Message Concierge for help with setup message May 9, 2024
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 Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement.
Projects
No open projects
Development

No branches or pull requests

8 participants