User Mentions
Should be able to mention a user with @ to mention that user anywhere that the editor is used.
socr
Should be able to mention a user with @ to mention that user anywhere that the editor is used.
- socra content
- updates
- chat messages
Mention should have a ForeignKey to socra. Don't need to return list of mentions, just need to be able to know that they exist
Final things to do:
- [x] Currently, the mention node does not replace text node until user selects option from menu. Change this to convert to mention node as soon as match is found. Should append to the created mention node after this.
- [x] Tab to select first option from menu
- [x] Add listeners for AIs to respond when tagged!
- For now, just add AI to permissions when tagged.
- [x] mentions require more specific constraints around usernames. Let's update existing usernames to follow this pattern
- [x] Only allow letters, numbers and underscores for usernames
- [x] Fix usernames everywhere
- [x] When we update a username, we should replace existing mentions with the new text**Summary:**
This feature allows users to mention other users with "@" in the editor for socra content, updates, and chat messages. Mentions are tied to a ForeignKey to socra.By Mike Morton