Skip to content

#3758 initial chat mention support #3943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 25, 2025

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.

@@ -34,6 +34,7 @@

#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.

3 participants