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-05-03] [Guided Setup Stage 2] Use new CompleteGuidedSetup API to create tasks and messages (Phase 1) #38771

Closed
francoisl opened this issue Mar 21, 2024 · 39 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.

Comments

@francoisl
Copy link
Contributor

francoisl commented Mar 21, 2024

Part of the "wave-collect – Build Stage 2 of Guided Setup" project

Main issue: https://github.com/Expensify/Expensify/issues/356685
Doc section: https://docs.google.com/document/d/10bhCv6XtzzqEZQ9tzxFwAz4lowgjOhsFqz13BMq6Iu4/edit#heading=h.f1df48czr1vu
Project: https://github.com/orgs/Expensify/projects/129

Feature Description

  • Use the new API command CompleteGuidedSetup and pass new tasks and message's optimistic data, on behalf of Concierge
  • Redirect user to root screen (doc section)

cc @barttom

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b15d65c2978eba6c
  • Upwork Job ID: 1770904809640124416
  • Last Price Increase: 2024-03-21
@francoisl francoisl added Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. labels Mar 21, 2024
Copy link

melvin-bot bot commented Mar 21, 2024

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

Copy link

melvin-bot bot commented Mar 21, 2024

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

Copy link

melvin-bot bot commented Mar 21, 2024

Copy link

melvin-bot bot commented Mar 21, 2024

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

@barttom
Copy link
Contributor

barttom commented Mar 22, 2024

Hello! I'm Bartek from Callstack, an expert contributor group, and I would like to work on this issue.

@joekaufmanexpensify
Copy link
Contributor

@barttom is there an ETA for the PR here?

@barttom
Copy link
Contributor

barttom commented Mar 25, 2024

@barttom is there an ETA for the PR here?

@joekaufmanexpensify
There is no set date for that, however I need 5-6 days to finish that.

to start working on that I need merged stage 1 (in review) and new API command (in progress)

@francoisl francoisl added Daily KSv2 Weekly KSv2 and removed Weekly KSv2 Daily KSv2 labels Mar 25, 2024
@joekaufmanexpensify
Copy link
Contributor

Sounds good. TY!

@joekaufmanexpensify
Copy link
Contributor

Looks like PR is now WIP

@rezkiy37
Copy link
Contributor

rezkiy37 commented Apr 9, 2024

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

@rezkiy37
Copy link
Contributor

Updates:

  1. Minor fixes of onboarding messages and text.
  2. Integrated a CompleteGuidedSetupParams type for the API command.
  3. Integrated a setDisplayName function to update the user's names locally without sending a request to the backend.
  4. Updated a couple of functions in ReportUtils.ts to support new passed arguments.
  5. Improved the completeOnboarding function to:
    a. Pass all necessary optimistic data.
    b. Hide tasks in LHN.
    c. Generate a top-mention comment to highlight the Concierge chat.
    d. Other changes.

Note: All changes have been pushed to the PR.

Plans for tomorrow:

  1. Fix the ordering of actions in the Concierge chat.
  2. Fix a mention message preview to exclude an email domain.
Details

Flow.1.mp4

@rezkiy37
Copy link
Contributor

Updates:

  1. Fixed the ordering of actions in the Concierge chat.
  2. Fixed a mention message preview to exclude an email domain.
  3. Changed the ordering of the pages.
  4. Added task replies optimistically.
  5. Fixed text escaping.
  6. Prettified codebase.
  7. Other changes.

We can do the first review stage for the draft PR. I still need to test on all platforms.

Videos

Flow.1.mp4
Updated.nav.mp4

@joekaufmanexpensify
Copy link
Contributor

@rezkiy37 is there an ETA to have a PR in review here?

@rezkiy37
Copy link
Contributor

@rezkiy37 is there an ETA to have a PR in review here?

Yes, there is - today. More context in Slack.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review and removed Weekly KSv2 labels Apr 15, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Apr 26, 2024
@melvin-bot melvin-bot bot changed the title [Guided Setup Stage 2] Use new CompleteGuidedSetup API to create tasks and messages (Phase 1) [HOLD for payment 2024-05-03] [Guided Setup Stage 2] Use new CompleteGuidedSetup API to create tasks and messages (Phase 1) Apr 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

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

Copy link

melvin-bot bot commented Apr 26, 2024

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

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

  • @barttom does not require payment (Contractor)
  • @rezkiy37 does not require payment (Contractor)
  • @rayane-djouah requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Apr 26, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@rayane-djouah] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@joekaufmanexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@rushatgabhane
Copy link
Member

rushatgabhane commented Apr 28, 2024

@joekaufmanexpensify could you please assign me this issue for C+ review #40688 (comment)

@joekaufmanexpensify
Copy link
Contributor

Payment due later this week!

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

melvin-bot bot commented May 3, 2024

Payment Summary

Upwork Job

  • Contributor: @barttom is from an agency-contributor and not due payment
  • Reviewer: @rayane-djouah - $500 via Upwork.
  • Contributor: @rezkiy37 is from an agency-contributor and not due payment

BugZero Checklist (@joekaufmanexpensify)

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

@rayane-djouah
Copy link
Contributor

rayane-djouah commented May 3, 2024

Regression test proposal

With the creation of a workspace (Track business expenses, Manage my team’s expenses)

  1. Open the app with an entire new user.
  2. Verify that the "What do you want to do today?" modal appears.
  3. Verify that the background of the modal is translucent for web and desktop.
  4. Select Track business expenses or Manage my team’s expenses purpose.
  5. Click on "Continue".
  6. Verify that the "Where do you work?" modal appears.
  7. Enter any names.
  8. Click on "Continue".
  9. Verify that the "What’s your name?" modal appears.
  10. Enter any name.
  11. Click on "Continue".
  12. Verify that the app redirects to the home page.
  13. Open the Concierge chat.
  14. Verify that the app has generated a welcome message and tasks in Concierge chat.
  15. Verify that the app has created a workspace with the previously entered name.
  16. Verify that the "Create a workspace" task is marked as complete.
  17. Verify that attachment videos are replaced with videos, once the backend sends an update.

Without the creation of a workspace (others)

  1. Open the app with an entire new user.
  2. Verify that the "What do you want to do today?" modal appears.
  3. Verify that the background of the modal is translucent for web and desktop.
  4. Select any purpose other than (Track business expenses, Manage my team’s expenses).
  5. Click on "Continue".
  6. Verify that the "What’s your name?" modal appears.
  7. Enter any names.
  8. Click on "Continue".
  9. Verify that the app redirects to the home page.
  10. Open the Concierge chat.
  11. Verify that the app has generated a welcome message and tasks in Concierge chat.
  12. Verify that attachment videos are replaced with videos, once the backend sends an update.
  • Do we agree 👍 or 👎

@joekaufmanexpensify
Copy link
Contributor

@francoisl do we need to add adhoc regression tests here? i see a detailed set of manual testing instructions in the design doc, and thought we'd probably pass those all along to applause at once.

@joekaufmanexpensify
Copy link
Contributor

still pending more discussion

@joekaufmanexpensify
Copy link
Contributor

Hmm, I see two PRs linked to this issue (#39951 and #40688).

I think the former is actually the one we want to issue payment for here, and then the latter payment should be handled here (especially since they have separate C+).

Going to align on this in slack

@joekaufmanexpensify
Copy link
Contributor

Discussing

@francoisl
Copy link
Contributor Author

do we need to add adhoc regression tests here? i see a detailed set of manual testing instructions in the design doc, and thought we'd probably pass those all along to applause at once.

Yeah it would be great to add. The steps in the design doc were more manual test steps, to make sure everything's implemented as intended.
We're also going to start using the system DM soon for the intro tasks, so we'll need to make a few changes to the steps above. For now I'd recommend holding on adding the regression tests.

@joekaufmanexpensify
Copy link
Contributor

Sounds good! I will hold for now.

@joekaufmanexpensify
Copy link
Contributor

We landed on paying out only #39951 in this issue.

#40688 is going to be paid out in #40725 . As such, @rushatgabhane I am unassigning you here, since the payment for your PR will be handled in that other issue. LMK if you have any questions.

@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented May 7, 2024

That means only payment we need to make here is $500 to @rayane-djouah for C+ review via Upwork.

@joekaufmanexpensify
Copy link
Contributor

OG job closed, so opened a new one: https://www.upwork.com/jobs/~019187a065e7cd3e15

@joekaufmanexpensify
Copy link
Contributor

@rayane-djouah offer sent for $250!

@rayane-djouah
Copy link
Contributor

@joekaufmanexpensify, Offer accepted. Thank you! I have one question: since this issue was created before the new payment structure, should it still maintain $500?

@joekaufmanexpensify
Copy link
Contributor

Yes, good call! Payment here should be $500 since this opened before the base payment changed.

@joekaufmanexpensify
Copy link
Contributor

@rayane-djouah $500 sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

Upwork job closed.

@joekaufmanexpensify
Copy link
Contributor

All set, thanks everyone!

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 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.
Projects
No open projects
Archived in project
Development

No branches or pull requests

7 participants