Closed nikclayton closed 21 hours ago
Allow the user to define filtering rules for notifications by sending account:
and a policy for each of either show, warn, or hide.
To do this:
FollowingAccountEntity
PachliAccount
TimelineAccount
Notification
AccountEntity
AccountManager
NotificationFilter.filterNotificationByAccount()
NotificationFetcher
NotificationsViewModel
NotificationsFragment
Allow the user to define filtering rules for notifications by sending account:
and a policy for each of either show, warn, or hide.
To do this:
Manage followers
FollowingAccountEntity
, to record accounts the logged in account is following.PachliAccount
Track account creation time
TimelineAccount
.Track notification creation time
Notification
.API
UX and storage for account filters
AccountEntity
.AccountManager
methods to update the propertiesFiltering notifications
NotificationFilter.filterNotificationByAccount()
method to make the filtering decision based on the user's preferences.NotificationFetcher
to filter notifications before creating Android notifications.NotificationsViewModel
to filter notifications before display inNotificationsFragment
.UX for filtered notifications