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-06-28] [HOLD for payment 2024-06-24] [HOLD Mentions v2] Support mentions in editing comments #39550

Closed
puneetlath opened this issue Apr 3, 2024 · 36 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item.

Comments

@puneetlath
Copy link
Contributor

puneetlath commented Apr 3, 2024

We want to update the edit comment flow to support editing/adding mentions. This does not mean adding support for the auto-complete component. Just parsing the mentions in both directions. This means that when someone goes to edit a comment with a user or report mention we should:

  1. convert that from html to markdown so that it can be edited
  2. perform the proper markdown to html conversion when the edited comment is saved so that if mentions have been added/removed we properly send that to the API

This is covered in the mentions v2 design doc here.

HOLD for #39549

Issue OwnerCurrent Issue Owner: @MitchExpensify
@puneetlath puneetlath added Weekly KSv2 NewFeature Something to build that is a new item. labels Apr 3, 2024
Copy link

melvin-bot bot commented Apr 3, 2024

Copy link

melvin-bot bot commented Apr 3, 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 ⚠️

@melvin-bot melvin-bot bot added the Overdue label Apr 12, 2024
@MitchExpensify
Copy link
Contributor

Held on #39549

@war-in
Copy link
Contributor

war-in commented Apr 19, 2024

Hi, I'm Marcin from Software Mansion and I would like to work on this :)

@puneetlath
Copy link
Contributor Author

Sounds good. Just FYI, the back-end for this hasn't been done yet.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Apr 23, 2024
@war-in
Copy link
Contributor

war-in commented Apr 30, 2024

@puneetlath any update on the backend? I think my PR works as expected but would like to get confirmation from your side :)

@puneetlath
Copy link
Contributor Author

Not yet! Will probably be a few more days before I can start the back-end. Are you ready for a review?

@war-in
Copy link
Contributor

war-in commented May 6, 2024

Yup, already marked PR as ready for review, but I wonder if the backend is a blocker for this 🤔 If not I'll notify the reviewer :)

@war-in
Copy link
Contributor

war-in commented May 10, 2024

Yup, already marked PR as ready for review, but I wonder if the backend is a blocker for this 🤔 If not I'll notify the reviewer :)

@puneetlath kind bump :)

@puneetlath
Copy link
Contributor Author

Does it work without the back-end? Like when you refresh the page, is it still shown as mentions?

@war-in
Copy link
Contributor

war-in commented May 13, 2024

@puneetlath Yup, you can see it here or in the PR description :)

Screen.Recording.2024-05-13.at.13.10.39.mov

@Beamanator
Copy link
Contributor

@war-in are you aware of some "Cannot read properties of undefined (reading 'accountIDToName')" errors ? I believe a few people are seeing this, not sure exactly the flow

@war-in
Copy link
Contributor

war-in commented May 14, 2024

@Beamanator could you give me some details? 🙏 And is it in my PR or do people generally see this error in the app?

@iwiznia
Copy link
Contributor

iwiznia commented May 14, 2024

Putting all the details in slack here https://expensify.slack.com/archives/C04878MDF34/p1715699038416249 please @war-jump there if you can, as this is breaking the app in production

@war-in
Copy link
Contributor

war-in commented May 17, 2024

@puneetlath @Beamanator mentioned issue will be resolved in this PR. Can I mark mine as ready for review? I've shown here that it works without the backend

@puneetlath
Copy link
Contributor Author

Yes, sounds good for me. Let's get it in review.

Copy link

melvin-bot bot commented May 23, 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 removed the Weekly KSv2 label Jun 10, 2024
@puneetlath
Copy link
Contributor Author

@rlinoz mind confirming that we're all done here?

@rlinoz
Copy link
Contributor

rlinoz commented Jun 17, 2024

Let's wait until it gets deployed to prod, but also we might have a case we didn't account for #42521 (comment)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Monthly KSv2 labels Jun 17, 2024
@melvin-bot melvin-bot bot changed the title [HOLD Mentions v2] Support mentions in editing comments [HOLD for payment 2024-06-24] [HOLD Mentions v2] Support mentions in editing comments Jun 17, 2024
Copy link

melvin-bot bot commented Jun 17, 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 Jun 17, 2024
Copy link

melvin-bot bot commented Jun 17, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.84-3 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-06-24. 🎊

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

  • @war-in does not require payment (Contractor)

Copy link

melvin-bot bot commented Jun 17, 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:

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

@rlinoz
Copy link
Contributor

rlinoz commented Jun 18, 2024

@eh2077 was the C+

@rlinoz rlinoz self-assigned this Jun 18, 2024
@MitchExpensify
Copy link
Contributor

Payment summary:

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jun 21, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-06-24] [HOLD Mentions v2] Support mentions in editing comments [HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [HOLD Mentions v2] Support mentions in editing comments Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 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-06-28. 🎊

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

  • @war-in does not require payment (Contractor)
  • @eh2077 requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jun 21, 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:

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

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

melvin-bot bot commented Jun 27, 2024

@rlinoz, @MitchExpensify, @war-in, @eh2077 Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented Jun 28, 2024

Payment Summary

Upwork Job

  • Contributor: @war-in is from an agency-contributor and not due payment
  • ROLE: @eh2077 paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@MitchExpensify)

  • 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

@eh2077
Copy link
Contributor

eh2077 commented Jul 1, 2024

Checklist

  • [@eh2077] Please propose regression test steps to ensure the new feature will work correctly on production in further releases. I'm neutral to add regression test for this feature

Regression test

  1. Go to a room
  2. Create a comment with user and room mentions
  3. Click on Edit comment
  4. Verify that all mentions are in the edit view
  5. Modify comment by adding at least one user and one room mentions (you can remove some mentions too)
  6. Save the comment
  7. Verify that all previous and new mentions are there
  8. Open some Private notes and verify that editing mentions works correctly

Do we agree 👍 or 👎

Copy link

melvin-bot bot commented Jul 1, 2024

@rlinoz, @MitchExpensify, @war-in, @eh2077 Still overdue 6 days?! Let's take care of this!

@MitchExpensify
Copy link
Contributor

@eh2077 Upwork job created here: https://www.upwork.com/jobs/~012066a1fb40a4a923, offer sent!

@melvin-bot melvin-bot bot removed the Overdue label Jul 1, 2024
@MitchExpensify
Copy link
Contributor

Paid and contract ended

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 NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

7 participants