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-09] [$250] [Guided Setup Stage 2] Put the threaded messages in the task description instead #40998

Closed
anmurali opened this issue Apr 25, 2024 · 22 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@anmurali
Copy link

anmurali commented Apr 25, 2024

Coming from this thread.

The onboarding tasks from Concierge to the user looks like this
image

This is the task pattern and if we did nothing, then it would look the same when these onboarding tasks move to the Expensify system user DM. But this looks very cluttered. For context, we envisioned the ideal design like so
image

Since Expensify system user chat and tasks are read-only, and we favor the uncluttered approach above, where the details are at the task level but not shown as threaded messages in the main chat - let's implement logic FE for all tasks created by the Expensify system user to hide the threaded messages in the main chat. a change where we move the task messages into the task description field as Jon outlined here. Full Figma examples here.

cc @mountiny @danielrvidal @dubielzyk-expensify

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0104bc3580ae719595
  • Upwork Job ID: 1783858108561276928
  • Last Price Increase: 2024-04-26
  • Automatic offers:
    • rayane-djouah | Contributor | 0
Issue OwnerCurrent Issue Owner: @twisterdotcom
@dubielzyk-expensify
Copy link
Contributor

Mentioned this in Slack, but my suggestion is moving it to the description which will remove this issue:
CleanShot 2024-04-26 at 12 25 25@2x

@rezkiy37
Copy link
Contributor

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

@trjExpensify
Copy link
Contributor

Asking here about what we're doing with this issue.

@rezkiy37
Copy link
Contributor

The PR (#41096) has been opened.

@rezkiy37
Copy link
Contributor

Hey!
I just wanted to let you know about my vacation for next week. I will be back on 06.05.2024. Meanwhile, I asked @waterim to take over this issue.
See you soon!

@trjExpensify trjExpensify changed the title Hide threaded responses on tasks in the parent chat for the Expensify system user [Guided Setup Stage 2] Hide threaded responses on tasks in the parent chat for the Expensify system user Apr 26, 2024
@trjExpensify trjExpensify added the External Added to denote the issue can be worked on by a contributor label Apr 26, 2024
@melvin-bot melvin-bot bot changed the title [Guided Setup Stage 2] Hide threaded responses on tasks in the parent chat for the Expensify system user [$250] [Guided Setup Stage 2] Hide threaded responses on tasks in the parent chat for the Expensify system user Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0104bc3580ae719595

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

Current assignee @rushatgabhane is eligible for the External assigner, not assigning anyone new.

@trjExpensify trjExpensify added NewFeature Something to build that is a new item. and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

Triggered auto assignment to @twisterdotcom (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 26, 2024
@shahinyan11
Copy link

shahinyan11 commented Apr 26, 2024

Proposal

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

[Guided Setup Stage 2] Hide threaded responses on tasks in the parent chat for the Expensify system user

What is the root cause of that problem?

New feature

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

Add below check here here in shouldDisplayThreadReplies function

&& !(ReportActionsUtils.isCreatedTaskReportAction(reportAction)) && reportAction.actorAccountID !== CONST.ACCOUNT_ID.CONCIERGE)

What alternative solutions did you explore? (Optional)

Update this line like bellow

ReportUtils.shouldDisplayThreadReplies(action, report.reportID) && !(ReportActionsUtils.isCreatedTaskReportAction(action) && ReportUtils.isExpensifyOnlyParticipantInReport(report))

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 26, 2024
@trjExpensify trjExpensify changed the title [$250] [Guided Setup Stage 2] Hide threaded responses on tasks in the parent chat for the Expensify system user [$250] [Guided Setup Stage 2] Put the threaded messages in the task description instead Apr 26, 2024
@trjExpensify
Copy link
Contributor

This one is being worked on @shahinyan11, sorry! A necessary evil of getting this through the process is the Help wanted label going on momentarily. 👍

@shahinyan11
Copy link

@trjExpensify It seems I didn't fully understand the expected result, so I suggested a simple fix, which is not what you need. You can move forward with @rezkiy37's PR

@rezkiy37
Copy link
Contributor

#40998 (comment)

Copy link

melvin-bot bot commented Apr 26, 2024

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

@rayane-djouah
Copy link
Contributor

Reviewing the PR as C+

Copy link

melvin-bot bot commented Apr 26, 2024

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

Copy link

melvin-bot bot commented May 1, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels May 2, 2024
@melvin-bot melvin-bot bot changed the title [$250] [Guided Setup Stage 2] Put the threaded messages in the task description instead [HOLD for payment 2024-05-09] [$250] [Guided Setup Stage 2] Put the threaded messages in the task description instead May 2, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 2, 2024
Copy link

melvin-bot bot commented May 2, 2024

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

Copy link

melvin-bot bot commented May 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.69-2 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-09. 🎊

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

Copy link

melvin-bot bot commented May 2, 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.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@rayane-djouah
Copy link
Contributor

Regression test proposal

  1. Open the app with an entire new user.
  2. Verify that the "What do you want to do today?" modal appears.
  3. Select any purpose.
  4. Click on "Continue".
  5. Verify that the "What’s your name?" modal appears.
  6. Enter any names.
  7. Click on "Continue".
  8. Verify that the app redirects to the home page.
  9. Open the Concierge chat.
  10. Verify that the app has generated a welcome message and onboarding tasks in Concierge chat.
  11. Verify that the onboarding tasks do not have a replies count.
  12. Open any onboarding task and verify that the tutorial is in the task description field.
  • Do we agree 👍 or 👎

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

melvin-bot bot commented May 13, 2024

@twisterdotcom, @srikarparsi, @rezkiy37, @rayane-djouah Eep! 4 days overdue now. Issues have feelings too...

@twisterdotcom
Copy link
Contributor

Payment Summary:

@melvin-bot melvin-bot bot removed the Overdue label May 14, 2024
@github-project-automation github-project-automation bot moved this from Release 1: Spring 2024 (May) to Done in [#whatsnext] #wave-collect May 14, 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 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
No open projects
Archived in project
Development

No branches or pull requests

9 participants