feat(notifications): add subscription preferences per notification type #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/166-notification-subscriptions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
notification_preferencestable (migration 00012) for per-type email subscription settingsNotificationPreferencemodel and service CRUD methods (list/upsert)Changes
internal/database/migrations/00012_notification_preferences.sql— new tableinternal/models/models.go—NotificationPreferencestructinternal/services/sharing.go—ListNotificationPreferences,SaveNotificationPreferenceinternal/handlers/settings.go— updatedNotificationshandler, newNotificationPrefsUpdatecmd/gashy/main.go— route POST toNotificationPrefsUpdatecomponents/partials/user_dashboards.templ—NotificationsPageFulltemplate with subscription settingsCloses OP#166
Pull request closed