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-07-10] Hide threads from LHN if they don't have a comment yet #19205

Closed
grgia opened this issue May 18, 2023 · 31 comments
Closed
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@grgia
Copy link
Contributor

grgia commented May 18, 2023

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01aee66cc771604fe5
  • Upwork Job ID: 1659267104086478848
  • Last Price Increase: 2023-05-18
@grgia grgia self-assigned this May 18, 2023
@grgia grgia added the Internal Requires API changes or must be handled by Expensify staff label May 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 18, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 18, 2023

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

@grgia
Copy link
Contributor Author

grgia commented May 18, 2023

@chiragsalian some thoughts-

we can 1) simply filter out reports that have no visible actions on the parentReportAction aka this branch: https://github.com/Expensify/App/pull/new/georgia-hideEmptyThreads

or 2) we don't start adding users to the participants list until at least one comment has been made

@chiragsalian
Copy link
Contributor

i would suggest 1, because if we go with 2 then that's changing the participant list data to work drastically different for threads. Plus with solution 2, then once the user is in the chat and they click members they won't see themselves which is incorrect.
So option 1 sounds correct to me.

@grgia
Copy link
Contributor Author

grgia commented May 25, 2023

draft PR up, but need to fix the optimistic data

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 25, 2023
@grgia
Copy link
Contributor Author

grgia commented May 30, 2023

still in progress

@grgia
Copy link
Contributor Author

grgia commented Jun 2, 2023

I need to update my PR to fix the optimistic data

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jun 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 5, 2023

@mollfpr, @grgia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@grgia
Copy link
Contributor Author

grgia commented Jun 6, 2023

still need to update

@melvin-bot melvin-bot bot removed the Overdue label Jun 6, 2023
@JmillsExpensify
Copy link

Isn't this a duplicate of this older issue?

@melvin-bot melvin-bot bot added the Overdue label Jun 8, 2023
@PauloGasparSv
Copy link
Contributor

Isn't this a duplicate of this #14523?

Hey @JmillsExpensify since this issue is specific to Threads I don't think it is a duplicate! I checked the draft P.R. logic and compared it with the one you mentioned and since I'm adding another clause and param to shouldReportBeInOptionList I don't think we have any conflicts in logic either : )

@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

@mollfpr, @grgia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@grgia
Copy link
Contributor Author

grgia commented Jun 12, 2023

Still need to update unit tests

@melvin-bot melvin-bot bot removed the Overdue label Jun 12, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 16, 2023
@grgia
Copy link
Contributor Author

grgia commented Jun 19, 2023

Working on the jest tests question brought up here - https://expensify.slack.com/archives/C04878MDF34/p1686218695956109

@melvin-bot melvin-bot bot added Reviewing Has a PR in review and removed Overdue labels Jun 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 26, 2023

@mollfpr, @grgia Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2023

@mollfpr, @grgia Eep! 4 days overdue now. Issues have feelings too...

@grgia grgia added the Bug Something is broken. Auto assigns a BugZero manager. label Jun 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 29, 2023

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot

This comment was marked as resolved.

@grgia
Copy link
Contributor Author

grgia commented Jun 29, 2023

@MitchExpensify added BZ label to help with C+ $1000 PR Review Payment for this PR - #19375

@MitchExpensify
Copy link
Contributor

Upwork job created for C+ payment and hire offer sent to @mollfpr https://www.upwork.com/jobs/~01393c0b271fdfe3bc

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jul 3, 2023
@melvin-bot melvin-bot bot changed the title Hide threads from LHN if they don't have a comment yet [HOLD for payment 2023-07-10] Hide threads from LHN if they don't have a comment yet Jul 3, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-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 2023-07-10. 🎊

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 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:

  • [@mollfpr] The PR that introduced the bug has been identified. Link to the PR:
  • [@mollfpr] 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:
  • [@mollfpr] 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:
  • [@mollfpr] Determine if we should create a regression test for this bug.
  • [@mollfpr] 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:

@MitchExpensify
Copy link
Contributor

Added a reminder to pay on the 10th. Friendly reminder to take a look at the BZ checklist above @mollfpr 👍

@Julesssss
Copy link
Contributor

Hey, just curious how this should work for tasks? Currently uncommented tasks disappear which doesn't seem expected

@Li357
Copy link
Contributor

Li357 commented Jul 6, 2023

Asked here https://expensify.slack.com/archives/C03TQ48KC/p1688651948215299 seems like only chat threads should disappear?

@MitchExpensify
Copy link
Contributor

Paid and contract ended! @mollfpr

@MitchExpensify
Copy link
Contributor

Are their any tests we should add for this change? #19205 (comment)

@mollfpr
Copy link
Contributor

mollfpr commented Jul 8, 2023

We need the regression step here.

Web/Desktop/Large screen

  1. Create a thread from a message
  2. Verify that the thread report appears in the LHN
  3. Begin Typing a message; note that the thread still appears in LHN with the edit icon.
  4. Click another report
  5. Verify that the threaded message with no replies no longer appears in the LHN
  6. Create a thread from a message, and comment
  7. Click another report
  8. Verify that the threaded message with no replies remains in the LHN

mWeb/Mobile/Small screen

  1. Create a thread, don't comment
  2. Go back to LHN/chat list page
  3. Verify that the newly created thread does not appear

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 9, 2023
@MitchExpensify
Copy link
Contributor

Issue to add new test here

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. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

8 participants