Description
Add @name highlights for local chat and group chat.
It would help on keeping up track conversations on cluttered chats AND be useful for when someone @ highlights your name in chat for replies.
https://secondlife.canny.io/admin/board/feature-requests/p/add-name-highlights-for-sl-chat
Basic Functionality
Users can "@mention" specific people in chat.
Clicking a mention links to the user's profile.
Chat Scope
Mentions work in Nearby Chat, Group Chat, and P2P (Private Messages).
Notifications
Consideration for audio pings and/or highlight effects when mentioned.
Group and Role Mentions (Future Enhancement)
Potential for @mentions to group roles, similar to Discord.
Would require additional permissions and moderation controls.
Initial Implementation Approach
Start with specific user mentions only before expanding to roles and groups.
Test plan
To be included in https://lindenlab.atlassian.net/wiki/spaces/QA/pages/2692972587/FUI+Chat+Regression+Test+Plan
1.1.8 Nearby Chat - @ name mentions
In the nearby chat field, type @, verify a list of nearby users pops up, sorted alphabetically.
Select someone else's name either by clicking or using the arrow keys to move the highlight and press Enter or Tab.
Verify the name is added to the chat entry field at the cursor position. Type something else and press Enter to chat.
Verify the name appears as @ followed by their display name if they have one followed by their account name in parentheses. Eg. @dan (dan.linden)
Press @ again, choose your own name from the list, and press Enter to chat it.
Verify the other user's @name mention is highlighted in a subtle way.
Verify your own @name mention has a highlight that is eye-catching and easy to notice as you scroll through chat history.
Click each of the @name mentions. Verify the User Profile opens for each.
2.2.6 IM Chat - @ name mentions
In the IM chat field, type @, verify a list of users in scope (just you and them) pops up, sorted alphabetically.
Select someone else's name either by clicking or using the arrow keys to move the highlight and press Enter or Tab.
Verify the name is added to the IM chat entry field at the cursor position. Type something else and press Enter to chat.
Verify the name appears as @ followed by their display name if they have one followed by their account name in parentheses. Eg. @dan (dan.linden)
Press @ again, choose your own name from the list, and press Enter to chat it.
Verify the other user's @name mention is highlighted in a subtle way.
Verify your own @name mention has a highlight that is eye-catching and easy to notice as you scroll through chat history.
Click each of the @name mentions. Verify the User Profile opens for each.
3.3.10 Group chat @ name mentions
In the Group IM chat field, type @, verify a list of users in scope (just the online people in the group) pops up, sorted alphabetically.
Select someone else's name either by clicking or using the arrow keys to move the highlight and press Enter or Tab.
Verify the name is added to the IM chat entry field at the cursor position. Type something else and press Enter to chat.
Verify the name appears as @ followed by their display name if they have one followed by their account name in parentheses. Eg. @dan (dan.linden)
Press @ again, choose your own name from the list, and press Enter to chat it.
Verify the other user's @name mention is highlighted in a subtle way.
Verify your own @name mention has a highlight that is eye-catching and easy to notice as you scroll through chat history.
Click each of the @name mentions. Verify the User Profile opens for each.
4.4.10 Ad-hoc chat @ name mentions
In the Ad-hoc chat field, type @, verify a list of users in scope (just the online people in the ad-hoc chat) pops up, sorted alphabetically.
Select someone else's name either by clicking or using the arrow keys to move the highlight and press Enter or Tab.
Verify the name is added to the IM chat entry field at the cursor position. Type something else and press Enter to chat.
Verify the name appears as @ followed by their display name if they have one followed by their account name in parentheses. Eg. @dan (dan.linden)
Press @ again, choose your own name from the list, and press Enter to chat it.
Verify the other user's @name mention is highlighted in a subtle way.
Verify your own @name mention has a highlight that is eye-catching and easy to notice as you scroll through chat history.
Click each of the @name mentions. Verify the User Profile opens for each.
Backwards compatibility.
If running an viewer older than 2025.04 and click on an @ name link to open a profile, the viewer will instead display "The SLurl you clicked on is not supported." as a notification and a message in local chat.