Bug 486252 - Add a way to quickly mention users
Summary: Add a way to quickly mention users
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-28 15:03 UTC by Matthias
Modified: 2025-05-19 00:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.08
Sentry Crash Report:


Attachments
Context menu (56.79 KB, image/png)
2024-04-28 15:03 UTC, Matthias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2024-04-28 15:03:23 UTC
Created attachment 168972 [details]
Context menu

On Discord, its very easy to tap on an username (on mobile clients) or right click on it, to open the context menu and choose an entry there, in order to paste his username into the text field.

That is useful, when you like to mention someone, without replying to a specific post of them. 

I attach a screenshot, to illustrate, which context menu I mean.
Comment 1 Bug Janitor Service 2025-05-15 19:02:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2276
Comment 2 Joshua Goins 2025-05-19 00:08:42 UTC
Git commit d059195e9202abf3457dfeb5fad05f9f4f5ebbee by Joshua Goins.
Committed on 19/05/2025 at 00:00.
Pushed by redstrate into branch 'master'.

Add user menu that is opened via right-clicking/long-tapped on avatar

We can un-clutter our message context menu, which we had to share
with user actions. (Even though we only had one so far.) I added one new
user-specific action which allows you to quickly mention the user in
chat. Otherwise you would've had to copy their username or use the
completion menu.

It's convergent on mobile, it still has the hover indicator and it also
is available through the AuthorComponent.

M  +1    -0    src/app/CMakeLists.txt
A  +35   -0    src/app/qml/UserMenu.qml     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +13   -0    src/chatbar/ChatBar.qml
M  +1    -0    src/libneochat/chatbarcache.h
M  +31   -21   src/timeline/AuthorComponent.qml
M  +0    -8    src/timeline/DelegateContextMenu.qml
M  +0    -2    src/timeline/FileDelegateContextMenu.qml
M  +30   -2    src/timeline/MessageDelegate.qml
M  +0    -1    src/timeline/MessageDelegateContextMenu.qml

https://invent.kde.org/network/neochat/-/commit/d059195e9202abf3457dfeb5fad05f9f4f5ebbee