-
Notifications
You must be signed in to change notification settings - Fork 442
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
Dashboard widget should show the actual mention message #4468
Comments
This is not possible with the current api. |
Yup, that’s what I understood, just opening here so we don’t forget about it. What would need to be changed where to make it work? In Talk I assume, not in Dashboard?
To keep it similar to what happens in the subline of the conversation list: The most recent mention would be shown shown. |
Then we can reuse the stored last mention id, and basically need to adjust the API to optionally load that comment instead of the last message id when getting the rooms. However since we at that point don't know if we will have a match for a mention or call, we wouldn't load the last message for the half empty content message. So I guess we would need to run 2 requests in that case, or we totally bloat up the API response and always return both. |
As a user I would also prefer if You were mentioned would only be used for direct mentions and not |
With #10250 this turned into a backend task. The subline is created in spreed/lib/Dashboard/TalkWidget.php Lines 178 to 205 in e116b34
As mentioned above we simply can use the "last mentioned id" and start rendering that message instead of the "last message" |
Currently, the Dashboard widget only shows "You were mentioned" which is a bit low on info (especially because notifications show more of the message). The subline should show the actual message which mentions you so you can get some more info before clicking.
The text was updated successfully, but these errors were encountered: