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

[Guided Setup Stage 2] Update HandleSpecialChatReportsOnMergeAccount to handle system DM #38770

Closed
2 of 4 tasks
francoisl opened this issue Mar 21, 2024 · 65 comments
Closed
2 of 4 tasks
Assignees
Labels
Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Reviewing Has a PR in review Weekly KSv2

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.dmxmb440p80k (and section below)
Project: https://github.com/orgs/Expensify/projects/129

Feature Description

  • Create the concept of read-only messages by updating the permissions mechanism
  • Create a read-only system DM using the new Expensify persona for existing and new users

Remaining tasks

  • Make Account writing to chat/task report without permission throw
  • Handle MergeAccount
    • Update HandleSpecialChatReportsOnMergeAccount to handle system DM
    • Remove HandleSelfDMOnMergeAccount from AuthCommandMap
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010dca0075d6efe79d
  • Upwork Job ID: 1770904803490025472
  • Last Price Increase: 2024-03-21
@francoisl francoisl added Engineering 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/~010dca0075d6efe79d

Copy link

melvin-bot bot commented Mar 21, 2024

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

Copy link

melvin-bot bot commented Mar 21, 2024

@melvin-bot melvin-bot bot added the Weekly KSv2 label 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 ⚠️

@francoisl
Copy link
Contributor Author

This is all backend work and will be taken care of internally, no need for a C+ here.

@trjExpensify trjExpensify moved this to Release 1: Spring 2024 (May) in [#whatsnext] #wave-collect Mar 21, 2024
@trjExpensify trjExpensify added the Hot Pick Ready for an engineer to pick up and run with label Apr 3, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 3, 2024
@trjExpensify trjExpensify moved this from Release 1: Spring 2024 (May) to HOT PICKS in [#whatsnext] #wave-collect Apr 3, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Apr 15, 2024
Copy link

melvin-bot bot commented Apr 15, 2024

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot removed the Overdue label Apr 15, 2024
@trjExpensify trjExpensify added Daily KSv2 and removed Monthly KSv2 labels Apr 16, 2024
@trjExpensify
Copy link
Contributor

Still need a volunteer here, Melv.

@flodnv flodnv self-assigned this Apr 17, 2024
@flodnv
Copy link
Contributor

flodnv commented Apr 17, 2024

Taking this! @francoisl I'm assuming I need to work on
2. Creating the system DM (phase 2)
3. Enforcing read-only permissions for the system DM (phase 2)

?

@flodnv flodnv removed the Hot Pick Ready for an engineer to pick up and run with label Apr 17, 2024
@flodnv
Copy link
Contributor

flodnv commented Apr 17, 2024

  • Added a few doc comments on these 2 sections
  • Pushed WIP PR
  • Paused at Finally, we'll need to make a few general changes to accommodate system DMs:, will resume once we figure out answers to my questions

@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Jul 22, 2024
Copy link

melvin-bot bot commented Jul 22, 2024

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@trjExpensify
Copy link
Contributor

Putting this back on weekly. 👍

@trjExpensify trjExpensify added Weekly KSv2 and removed Monthly KSv2 labels Jul 22, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Aug 15, 2024
Copy link

melvin-bot bot commented Aug 15, 2024

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@trjExpensify trjExpensify added Weekly KSv2 and removed Monthly KSv2 labels Aug 15, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Sep 9, 2024
Copy link

melvin-bot bot commented Sep 9, 2024

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@trjExpensify
Copy link
Contributor

Going back to weekly, hoping @NikkiWines might be able to get to it this week.

@trjExpensify trjExpensify added Weekly KSv2 and removed Monthly KSv2 labels Sep 10, 2024
@NikkiWines NikkiWines self-assigned this Sep 11, 2024
@NikkiWines
Copy link
Contributor

Discussing with @francoisl today about whether or not we want to update this command to

A. Take in the type of special chat report we'd want to merge (i.e. system, selfDM, etc.)

or

B. Merge all the special type DMs in one go instead of passing a specific type.

Not sure if we have a scenario where we'd want to merge the selfDM but not system DM, since this is called when the user merges their account. So I'm leaning more towards B at the moment

@francoisl
Copy link
Contributor Author

I'd say option B, otherwise we'd need that command twice (once for self DMs, once for system DMs).

@NikkiWines
Copy link
Contributor

PR is in the works! Draft is up here

@NikkiWines
Copy link
Contributor

Logic is working as expected, finishing up tests tomorrow morning

@NikkiWines
Copy link
Contributor

PR is in review!

@NikkiWines NikkiWines added the Reviewing Has a PR in review label Sep 18, 2024
@NikkiWines
Copy link
Contributor

PR has been merged!

@trjExpensify
Copy link
Contributor

Dope, deployed. Good to close?

@NikkiWines
Copy link
Contributor

Yes should be all set here!

@github-project-automation github-project-automation bot moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #wave-collect Sep 26, 2024
@trjExpensify
Copy link
Contributor

Wahoo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Reviewing Has a PR in review Weekly KSv2
Projects
No open projects
Status: Done
Development

No branches or pull requests

6 participants