Fixed the mentions so that when the user clicks on the suggestion dropdown (after partially typing in a @mention), it inputs the correct markdown link format that we expect on the backend [@profileName](/profiles/id/profileNumber)
Backend:
Refactors user mentions and optimized query
Fixed the parseUserMentions function
Test Plan
Note that for local development, these users will need to be newly created because the new_mention subscription entity is inserted into the DB on account creation.
For CREATING a comment or thread, add a mention of profile 2 from profile 1. Log onto profile 2 and see the notification in the UI.
For UPDATING a comment or thread, add a comment or thread with NO mention. Then when updating it add the mention of profile 2. Check to see on profile 2 that they get the notification from the UI.
Should look like:
Link to Issue
Closes: #4690
Description of Changes
Frontend:
[@profileName](/profiles/id/profileNumber)
Backend:
Test Plan
Note that for local development, these users will need to be newly created because the new_mention subscription entity is inserted into the DB on account creation.