This is part of the mentions project and is one of the features that we'd like to ship before EC3
ExpensiMark is the system that converts markdown in chat messages into html for storage (e.g. *bold text* to <strong>bold text</strong>).
We need to update ExpensiMark to:
- Recognize text in the form of
@email@domain.com in chat messages and replace it with <mention-user>@email@domain.com</mention-user>
- Recognize text in the form of
@here in chat messages and replace it with <mention-here>@here</mention-here>
We should only replace mentions if the @ symbol comes at the beginning of a word.
Examples that should match for user mentions:
Examples that should not match for user mentions:
Examples that should match for here mentions:
Examples that should not match for here mentions:
- "hi...@here"
- "here@ how are you?"
- "@ here hey"
When something is treated as a mention it should not get treated as an email address (meaning we don't make it a mailto link).
Mentions should be allowed within:
- bold
- italic
- strikethrough
- quote
- heading1
Mentions should not be allowed within:
- codefence
- inline code block
- link
We will want to wait to merge this PR until the custom renderers for mention-user (#17885) and mention-here (#17886) have been added.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01227cf510add7dd82
- Upwork Job ID: 1650508959718178816
- Last Price Increase: 2023-04-25
This is part of the mentions project and is one of the features that we'd like to ship before EC3
ExpensiMark is the system that converts markdown in chat messages into html for storage (e.g.
*bold text*to<strong>bold text</strong>).We need to update ExpensiMark to:
@email@domain.comin chat messages and replace it with<mention-user>@email@domain.com</mention-user>@herein chat messages and replace it with<mention-here>@here</mention-here>We should only replace mentions if the
@symbol comes at the beginning of a word.Examples that should match for user mentions:
Examples that should not match for user mentions:
Examples that should match for here mentions:
Examples that should not match for here mentions:
When something is treated as a mention it should not get treated as an email address (meaning we don't make it a mailto link).
Mentions should be allowed within:
Mentions should not be allowed within:
We will want to wait to merge this PR until the custom renderers for mention-user (#17885) and mention-here (#17886) have been added.
Upwork Automation - Do Not Edit