Skip to content

fix(notifications): wire the streak reminder and following email controls, drop the tag bell - #6886

Merged
idoshamun merged 2 commits into
mainfrom
fix-notification-controls
Oct 13, 2026
Merged

idoshamun merged 2 commits into
mainfrom
fix-notification-controls

Conversation

@idoshamun

@idoshamun idoshamun commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Changes

Three notification controls did nothing. API side: dailydotdev/daily-api#4400.

Streak reminder ("Notify me before my streak expires")

  • The settings checkbox only toggled notificationFlags.streak_reminder, which nothing schedules. The push is driven by the streak_reminder personalized digest row, which only the streak milestone modal created. So the box showed on for everyone but only modal opt-ins got the push, and unchecking it never stopped it.
  • New useStreakReminder hook, used by both the settings checkbox and StreakReminderSwitch: on means a scheduled reminder that is not muted. Turning it on schedules 20:00 on workdays and unmutes the flag; turning it off removes the schedule.

Email "Following" group

  • The email tab's master switch used the in-app key set (following), so it skipped squad post emails shown under it and toggled "Read it later", which has no email. It now uses the existing, previously unused followingEmail group, and the "Read it later" row is gone from the email tab. No setting key renamed, so old extension builds are unaffected.

Tag bell

  • The bell saved the keyword follow as subscribed, but no notification type, worker or copy exists for posts in a followed tag, so it never sent anything. The bell is removed from the tag page, along with its tests.

Events

No new event names. The settings streak checkbox now sends the same events as the streak modal switch: enable notification / disable notification with { channel: web, category: streak_reminder }, and schedule streak reminder on enable.

Experiment

No new experiments.

Preview domain

https://fix-notification-controls.preview.app.daily.dev

…rols, drop the tag bell

The streak reminder checkbox in settings toggled
notificationFlags.streak_reminder, which nothing schedules. Since the
settings redesign it showed on for everyone while only people who opted
in from the streak milestone modal got the push. Both surfaces now share
useStreakReminder: on means a scheduled reminder that is not muted,
turning it on schedules it at 20:00 on workdays and unmutes the flag,
turning it off removes the schedule.

The email Following switch toggled the in-app key set, so it skipped
squad post emails (shown under it) and toggled read it later, which has
no email. It now uses the followingEmail group, and the read it later
row is gone from the email tab.

The tag page bell saved the keyword follow as subscribed, but no
notification type, worker or copy exists for posts in a followed tag, so
it never sent anything. Remove the bell until that pipeline exists.
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Oct 13, 2026 1:37pm UTC

Request Review

@idoshamun
idoshamun merged commit 2dd56ef into main Oct 13, 2026
11 checks passed
@idoshamun
idoshamun deleted the fix-notification-controls branch October 13, 2026 13:40
tsahimatsliah added a commit that referenced this pull request Oct 13, 2026
Main's new following-group test (#6886) clicked the Email tab, which the
phone page reaches through ?tab= instead; it opens the tab the way the
branch's other email tests do. The overlay spec reads the field's layer
with optional chaining for strict mode.

This branch was successfully deployed

1 active deployment
Preview — 65488d03 Deployed Oct 13, 2026 by vercel[bot]
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.

1 participant