Bug 485168 - Support notifications of severed events
Summary: Support notifications of severed events
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 02:58 UTC by Joshua Goins
Modified: 2024-10-20 00:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Goins 2024-04-07 02:58:07 UTC
It's recently implemented: https://github.com/mastodon/mastodon/pull/27511 it would be really cool to know
Comment 1 Joshua Goins 2024-10-20 00:25:27 UTC
Git commit fd242b280e7df1b726d2d636d6529dea55bceb18 by Joshua Goins.
Committed on 20/10/2024 at 00:25.
Pushed by redstrate into branch 'master'.

Support new notification events in v4.3.0, along with report types

Whilst the notification delegates are limited, they are now shown in the
notification pane. This includes the "report" notification for admins
(albiet you still need to open up the tools manually to see it for now)
and the two new events in v4.3.0: severance events and moderation
warnings. The details shown can be expanded in the future.

M  +3    -0    src/CMakeLists.txt
A  +555  -0    src/autotests/data/notifications.json
M  +15   -1    src/content/ui/FollowDelegate.qml
M  +21   -6    src/content/ui/NotificationPage.qml
C  +22   -13   src/content/ui/Notifications/AccountWarningDelegate.qml [from: src/content/ui/FollowDelegate.qml - 068% similarity]
M  +2    -0    src/content/ui/Notifications/GroupInteractionLabel.qml
C  +21   -23   src/content/ui/Notifications/RelationshipSeveranceDelegate.qml [from: src/content/ui/FollowDelegate.qml - 052% similarity]
C  +20   -23   src/content/ui/Notifications/ReportDelegate.qml [from: src/content/ui/FollowDelegate.qml - 052% similarity]
M  +1    -0    src/content/ui/Notifications/UserInteractionLabel.qml
M  +1    -0    src/main.cpp
M  +2    -1    src/notification/notificationgroupingmodel.cpp
M  +15   -2    src/notification/notificationmodel.cpp
M  +3    -0    src/notification/notificationmodel.h
M  +111  -0    src/timeline/notification.cpp
M  +65   -1    src/timeline/notification.h

https://invent.kde.org/network/tokodon/-/commit/fd242b280e7df1b726d2d636d6529dea55bceb18