Skip to content

feat: daily-stacked-notifications #2132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m0wer
Copy link

@m0wer m0wer commented Apr 25, 2025

Description

Added a daily stacked notifications feature that sends users a summary of their stacking and spending activity from the previous day. Users can enable/disable this feature in their settings.

Closes #1751.

Screenshots

None - server-side feature with minimal UI changes (just a checkbox in settings)

Will add some once I get a test setup fully working.

Additional Context

The implementation includes database migration, scheduled PgBoss job that runs at 1:15 AM CT, and comprehensive notification handling.

I'm not sure about how migrations are run in production or about the preferred way of scheduling PgBoss jobs.

Checklist

Are your changes backwards compatible? Please answer below:
Yes, fully backwards compatible. Feature is enabled by default but users can opt-out.

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
6/10 - Tested the notification generation and delivery logic with manual job triggers couldn't yet find a simple test setup with real data to see the notification happening. Verified UI integration in settings page.

For frontend changes: Tested on mobile, light and dark mode? Please answer below:
Yes, checkbox in settings works correctly on mobile and in both light/dark modes.

Did you introduce any new environment variables? If so, call them out explicitly here:
No new environment variables introduced. Uses existing VAPID settings for web push notifications.

@m0wer m0wer changed the title Draft: feat: daily-stacked-notifications feat: daily-stacked-notifications Apr 25, 2025
@m0wer m0wer marked this pull request as draft April 25, 2025 14:48
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.

Daily stacked and spent summary notifications
1 participant