Skip to content

📲 Mobile Push Notification UX — 250 LTD Bounty #87

Description

@INDIGOAZUL

Mobile Push Notification UX — 250 LTD Bounty (Tier 2)

Tier: 2 (requires 2+ merged Tier 1 PRs)

Task

Add an activity-gated push notification permission prompt. Currently the platform has a full notification system (quiet hours, digests, rate limiting) but no smart UX for requesting browser push permission.

Scope

  • File to modify: js/hub/notification-center.js (existing ~800 line module)
  • Do NOT create a new file or replace the existing notification center
  • Do NOT remove quiet hours, digest, or rate limiting features

Requirements

  1. Track user activity (clicks, scrolls) for 30+ seconds before showing a permission banner
  2. Non-intrusive banner (not a browser alert) — dismissible, remembers dismissal in localStorage
  3. If user grants permission, register for push via existing notification infrastructure
  4. If user denies or dismisses, don't ask again for 7 days
  5. Respect existing notification_preferences (check push_enabled setting)

Definition of Done

  • Permission prompt only appears after 30s of active use
  • Banner is dismissible and non-intrusive
  • Dismissal persisted in localStorage
  • Existing notification center features still work (quiet hours, digests)
  • Works on mobile Chrome and Safari
  • UI text in Spanish

Codebase Verification Question

To claim this bounty, answer: What are the 5 notification preference columns added in v4.12.2? What cron endpoint processes the notification queue?

Estimated Time

4-6 hours.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyRewards available in LTD tokensenhancementNew feature or requesttier-2Advanced: guided features (150-500 LTD)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions