Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus
Commit graph nexus/lib/controllers/notification.dart
Author SHA1 Message Date
765e96cce4
refactor and improve notification handling 2026-10-19 21:10:05 -04:00
deac9ef24e
handle permission denials more gracefully 2026-10-18 16:36:36 -04:00
e24e99fd8e
slight improvements to windows and darwin notifs 2026-10-18 16:14:00 -04:00
d1724932b2
clean up and improve notifications
Thanks to Gomuks' new handling, we have sender displayname and avatar, and can use android's conversation notifications.

On other platforms, we just append sender name to the body, bolded if possible.

This also improves the logic on when to send notifications, as we drop notifs where `response["notification"]` is null.

We also now correctly set if notifications should play a sound or not, based on `PushNotification.sound`.

`PushNotification.image` handling might come sometime in the future, but it seems hard on Android.
2026-10-18 16:01:37 -04:00
ed84410039
add support for creating rooms
Fixes #81
2026-10-15 19:49:04 -04:00
d37ec2878b
add invite support
Closes #82
2026-10-15 00:35:38 -04:00
8fda43ccf8
Push sidebar if needed and scroll to notif when tapped
Fixes #116
2026-10-14 16:51:14 -04:00
45d69b0b9f
move NotificationsPage into sidebar via NavigationBar 2026-10-02 11:19:46 -04:00
ead463262c
make NotificationsController work off of rowIds 2026-09-29 15:10:54 -04:00
4bde7875fb
up-to-date xdg portals
Fixes #101
2026-09-28 14:32:18 -04:00
1c1f585362
add JumpToEventController to allow jumping to events from the NotificationsPage when it has been pushed from the NotificationController 2026-09-26 19:37:47 -04:00
c90a1c41b0
working jumps from notif page
Doesn't work from notif page pushed from notif controller
2026-09-26 19:13:30 -04:00
9f070fcdba
reorganize pages into being under widgets 2026-09-26 18:06:51 -04:00
a90bf00f18
dispose notif handler 2026-09-23 10:30:12 -04:00
700b4e720f
open notifications page on notif tap
please please please let me never touch c++ again i hate it

also the c++ got reformatted here but i dont really care
2026-09-21 16:56:12 -04:00
fea39e4191
use xdg_desktop_portal over flutter_local_notifications on linux 2026-09-21 15:43:01 -04:00
deaf564c36
use portals for linux notifs 2026-09-21 14:16:29 -04:00
0d1ace3fd0
add more logs for notifs 2026-09-20 13:41:22 -04:00
e21c9e8c22
make highlights work better for Notifications page 2026-09-12 09:52:01 -04:00
6ca9b2a948
add notification page filter 2026-09-11 22:34:43 -04:00
23e01c7a0d
Notifications page
Doesn't yet allow for jumping to events
2026-09-11 22:03:42 -04:00