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-12-05] [HOLD for payment 2024-12-03] Chat - There is no “Take a 2-minute tour” task at the Concierge chat #52985

Closed
1 of 8 tasks
lanitochka17 opened this issue Nov 22, 2024 · 31 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering

Comments

@lanitochka17
Copy link

lanitochka17 commented Nov 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.66-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
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 https://staging.new.expensify.com/
  2. Log in with the new Gmail account in incognito mode
  3. Complete the incorporation process using the option “Track and Budge Expenses”
  4. Enter a first name and click on the Continue button
  5. Go to the Concierge chat.

Expected Result:

A task “Take a 2-minute tour” must be displayed in the Concierge chat

Actual Result:

The “Take a 2-minute tour” task is not displayed in the Concierge chat. In some cases when executing the tour action, you hear the sound as of a completed task but nothing is displayed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
bandicam.2024-11-22.23-24-32-898.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Nov 22, 2024
Copy link

melvin-bot bot commented Nov 22, 2024

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

Copy link

melvin-bot bot commented Nov 22, 2024

💬 A slack conversation has been started in #expensify-open-source

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

Production:

Bug6673595_1732311343627.Issue.mp4

@chiragsalian
Copy link
Contributor

Both the recorded videos are of production so i think maybe you made a mistake there? Can you double check @lanitochka17.

I tested the same steps on staging with a new account and i see Take a 2-minute tour.
image

@lanitochka17
Copy link
Author

sorry for confusion
correct video:

bandicam.2024-11-22.23-24-32-898.mp4

@Shahidullah-Muffakir
Copy link
Contributor

Shahidullah-Muffakir commented Nov 22, 2024

Edited by proposal-police: This proposal was edited at 2024-11-22 22:31:44 UTC.

Proposal

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

Take a 2-minute tour is not shown in concierge for Track and Budge Expenses

What is the root cause of that problem?

we did not include selfGuidedTourTask in the tasks if the tour purpose is combinedTrackSubmitOnboardingChoices.PERSONAL_SPEND:
in

App/src/CONST.ts

Lines 212 to 226 in 3ebe852

const combinedTrackSubmitOnboardingPersonalSpendMessage: OnboardingMessage = {
...onboardingPersonalSpendMessage,
tasks: [
{
type: 'trackExpense',
autoCompleted: false,
title: 'Track an expense',
description:
'*Track an expense* in any currency, whether you have a receipt or not.\n' +
'\n' +
'Here’s how to track an expense:\n' +
'\n' +
'1. Click the green *+* button.\n' +
'2. Choose *Create expense*.\n' +
'3. Enter an amount or scan a receipt.\n' +

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

add selfGuidedTourTask to it as:

const combinedTrackSubmitOnboardingPersonalSpendMessage: OnboardingMessage = {
    ...onboardingPersonalSpendMessage,
    tasks: [
+        selfGuidedTourTask,

        {
            type: 'trackExpense',
Screen.20Recording.202024-11-23.20at.204.mp4

@chiragsalian
Copy link
Contributor

chiragsalian commented Nov 23, 2024

Woah, if i add a first and last name it works. But if i add only first name i don't see "Take a 2-minute tour", weird. Do you know why @Shahidullah-Muffakir? 👀

@chiragsalian
Copy link
Contributor

But yeah your solution works @Shahidullah-Muffakir, feel free to create the PR. I will be heading out now but we can CP it early on Monday.

@Shahidullah-Muffakir
Copy link
Contributor

Woah, if i add a first and last name it works. But if i add only first name i don't see "Take a 2-minute tour", weird. Do you know why @Shahidullah-Muffakir? 👀

@chiragsalian, Not sure, I could produce the issue even by entering first and last name.

@Shahidullah-Muffakir
Copy link
Contributor

But yeah your solution works @Shahidullah-Muffakir, feel free to create the PR. I will be heading out now but we can CP it early on Monday.

@chiragsalian, Sure, Thank you.

@brunovjk

This comment was marked as outdated.

@c3024
Copy link
Contributor

c3024 commented Nov 25, 2024

PR #52912 opened for fixing all missing cases of tasks. This should be fixed too in that PR.

cc: @rushatgabhane @chiragsalian @jjcoffee @NJ-2020

@c3024
Copy link
Contributor

c3024 commented Nov 25, 2024

This is also on production. It is just that this can be seen only in cases where account id is even.

const session = SessionUtils.getSession();
return isAccountIDEven(session?.accountID ?? -1);

Perhaps, this need not be a deploy blocker.

cc: @mountiny

@mountiny
Copy link
Contributor

I went ahead and merged and CPed the fix from @Shahidullah-Muffakir as they were assigned and already had the Pr ready and reviewed and tested.

@c3024 please continue with the fix in your linked PR

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Nov 25, 2024
@chiragsalian
Copy link
Contributor

It is just that this can be seen only in cases where account id is even.

Wow that's why it was inconsistent for me. Good to know.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.66-8 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-12-03. 🎊

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 28, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-12-03] Chat - There is no “Take a 2-minute tour” task at the Concierge chat [HOLD for payment 2024-12-05] [HOLD for payment 2024-12-03] Chat - There is no “Take a 2-minute tour” task at the Concierge chat Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

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

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 3, 2024
Copy link

melvin-bot bot commented Dec 5, 2024

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

Copy link

melvin-bot bot commented Dec 5, 2024

Payment Summary

Upwork Job

BugZero Checklist (@CortneyOfstad)

  • 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//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Dec 5, 2024
@CortneyOfstad
Copy link
Contributor

@Shahidullah-Muffakir can you confirm if this needs a regression test?

Also, I've sent you a proposal here in Upwork — please let me know once you accept. Thanks!

@melvin-bot melvin-bot bot removed the Overdue label Dec 5, 2024
@Shahidullah-Muffakir
Copy link
Contributor

@Shahidullah-Muffakir can you confirm if this needs a regression test?

Also, I've sent you a proposal here in Upwork — please let me know once you accept. Thanks!

@CortneyOfstad ,
@brunovjk has reviewed the PR as C+.
Offer Accepted, Thanks!

@CortneyOfstad
Copy link
Contributor

Oops, sorry about that! @brunovjk can you confirm if this needs a regression test? Thanks!

Also, it looks like you need payment as well — going to whip up an Upwork proposal and get that sent over ASAP!

@brunovjk
Copy link
Contributor

brunovjk commented Dec 6, 2024

No problem, I was missing that too :D thanks for letting us know @Shahidullah-Muffakir. I'll fill out the BZ checklist in a moment. Thanks @CortneyOfstad

@CortneyOfstad
Copy link
Contributor

@brunovjk proposal has been sent here!

@brunovjk brunovjk mentioned this issue Dec 6, 2024
50 tasks
@brunovjk
Copy link
Contributor

brunovjk commented Dec 6, 2024

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other: Applause - Internal Team
  • [Contributor] 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: [Self-guided tours][V2] Add tour links to onboarding tasks #51153 (comment)

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal

Test:

  1. Log in with a new account
  2. Complete the onboarding process by selecting Track and Budget Expenses in the onboarding flow.
  3. Verify the Take a 2-minute tour task appears in the Concierge chat.

Do we agree 👍 or 👎

@brunovjk
Copy link
Contributor

brunovjk commented Dec 6, 2024

All yours @CortneyOfstad :D

@rayane-djouah
Copy link
Contributor

  • [Contributor] 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: Tasks for guided setup #39951 (comment)

Actually, the issue was introduced by this PR: #51153. The self guided tour task did not exist when we implemented this PR :)

@brunovjk
Copy link
Contributor

brunovjk commented Dec 6, 2024

I updated the BZ checklist and posted the comment in the aforementioned PR. Thank you @rayane-djouah

@melvin-bot melvin-bot bot added the Overdue label Dec 9, 2024
@CortneyOfstad
Copy link
Contributor

Payment Summary

@brunovjk — paid $250 via Upwork
@Shahidullah-Muffakir — paid $250 via Upwork

Regression Test

https://github.com/Expensify/Expensify/issues/451766

@melvin-bot melvin-bot bot removed the Overdue label Dec 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
Projects
None yet
Development

No branches or pull requests

8 participants