Skip to content

Conversation

@maxim-productengine
Copy link
Contributor

@maxim-productengine maxim-productengine commented Apr 18, 2025

Implementation of basic chat mention feature.

Further improvements will be needed like:

  • update colors (font and highlight);
  • add flashing for conversation where you're mentioned;
  • play sound when you're mentioned.

@maxim-productengine maxim-productengine force-pushed the maxim/2025.04-chat-mention branch from 9127311 to 3e46d70 Compare April 18, 2025 16:59
@maxim-productengine maxim-productengine changed the title WIP chat mention #3758 initial chat mention support Apr 25, 2025
@maxim-productengine maxim-productengine marked this pull request as ready for review April 25, 2025 14:22
public:

bool isActive(const LLUICtrl* ctrl) const;
bool isCursorInNameMention(const LLWString& wtext, S32 cursor_pos, S32* mention_start_pos = nullptr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably can be const.


#include "llavatarname.h"
#include "llhost.h" // for resolving parcel name by parcel id
#include "llurlmatch.h"
Copy link
Contributor

@akleshchev akleshchev Apr 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like EUnderlineLink should be elsewhere, doesn't seem related to urlmatch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you think it fits better?

Copy link
Contributor

@akleshchev akleshchev Apr 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be argued that it's a style, so perhaps llstyle.h?

@maxim-productengine maxim-productengine merged commit 17e9746 into release/2025.04 Apr 25, 2025
11 checks passed
@maxim-productengine maxim-productengine deleted the maxim/2025.04-chat-mention branch April 25, 2025 19:31
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants