Skip to content

Add warning for non-immediate notification frequency - #88

Merged
mafzal91 merged 1 commit into
mainfrom
email-notification-copy
Aug 24, 2026
Merged

mafzal91 merged 1 commit into
mainfrom
email-notification-copy

Conversation

@mafzal91

Copy link
Copy Markdown
Owner

Summary

Added a warning message to the notification frequency selector that alerts users about potential missed shows when using weekly or monthly digest cadences instead of immediate notifications.

Key Changes

  • Imported ExclamationTriangleIcon from heroicons for the warning indicator
  • Extended FrequencyField component with optional nonImmediateWarning prop to display contextual cautions
  • Added conditional warning UI that appears only when a non-immediate cadence (weekly/monthly) is selected
  • Implemented warning message in the Global Notifications section explaining the risk of missing short-notice shows with delayed digests

Implementation Details

  • The warning displays as a styled alert box with an icon and message text
  • Uses existing design tokens (border-warning, bg-warning-soft, text-warning) for consistent styling
  • The warning only renders when nonImmediateWarning text is provided AND the selected frequency is not 0 (immediate)
  • The icon is marked as decorative with aria-hidden="true" since the message text conveys the information

https://claude.ai/code/session_01GYCcagSy6zQpMA9DqBdYHr

A weekly/monthly New Show Alerts cadence can mean a show added between
digests has already happened (or sold out) by the time the email fires —
the queue prunes past shows, so it's silently missed. Show a caution note
under the show-alert frequency picker whenever a slower-than-immediate
cadence is selected, nudging toward Immediately for short-notice shows.

Scoped to New Show Alerts only — new-comic alerts aren't time-boxed, so
the same risk doesn't apply.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GYCcagSy6zQpMA9DqBdYHr
@mafzal91
mafzal91 merged commit 59279af into main Aug 24, 2026
1 check passed
@mafzal91
mafzal91 deleted the email-notification-copy branch August 24, 2026 18:20
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.

2 participants