Repository navigation
Chat reactions and @mentions (#96) - #105
Merged
Merged
Conversation
Six emoji reactions with counts and names; @ suggests the chat people and @team, mentioned people see the message highlighted and a red @ marker until read. Links in messages are underlined. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #96 (spec #91).
What's new
@in the send box to get suggestions: the chat people (Product Owner, Members, Guests) plus @team. Click one to insert@First Last. The backend reads mentions from the text when a message is sent or edited (case-insensitive, whole name). @team means every Member at that moment. Your own name is ignored.@namesand@teamare bold in every message.0018(chat_reactionswith a check on the six emoji,chat_mentions);CONTEXT.md: Mention, Reaction; changelog row.Also
.chat-text aintheme.py).API
PUT/DELETE /api/chat/messages/{id}/reactions/{emoji}return the message. Messages getreactions [{emoji, count, names, mine}]andmentions_me;GET /api/chatsrows andGET /api/chats/unreadgetmentioned.Tests
test_chat_reactions_mentions.py(counts with names, adding twice, taking back, only the six, outsiders, deleted messages, a mention and its marker until read, @team, staff who only read along, edits change mentions, deleted message).test_my_projectthat passed on rerun); newtest_chat_reactions_mentions.py(bold mentions without breaking links, react and see others' reactions live, @ suggestions insert the name and mark the chat, a mentioned Teacher sees the @ marker and the highlight).🤖 Generated with Claude Code