Skip to content

feat: add notification scheduling and recurring support #372#498

Merged
LaGodxy merged 2 commits into
MettaChain:mainfrom
midexol:feat/notification-scheduling
Apr 29, 2026
Merged

feat: add notification scheduling and recurring support #372#498
LaGodxy merged 2 commits into
MettaChain:mainfrom
midexol:feat/notification-scheduling

Conversation

@midexol
Copy link
Copy Markdown
Contributor

@midexol midexol commented Apr 28, 2026

Summary

This PR implements notification scheduling and recurring logic as part of the notification service.

Changes

  • Schema Update: Added scheduledAt, isRecurring, cron, and timezone fields to the Notification model.
  • Service Enhancement:
    • Added scheduleNotification() to create pending notifications for future delivery.
    • Added cancelScheduledNotification() to allow users to remove pending schedules.
  • Infrastructure: Added database indexes on scheduled_at to optimize future cron job queries.

Closes #372

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 28, 2026

@midexol Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@LaGodxy LaGodxy merged commit 957599c into MettaChain:main Apr 29, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Notification Scheduling

2 participants