Skip to content

chore: remove Happening Now notifications#6092

Merged
idoshamun merged 2 commits into
mainfrom
eng-1568-remove-support-of-happening-now-notifications
May 24, 2026
Merged

chore: remove Happening Now notifications#6092
idoshamun merged 2 commits into
mainfrom
eng-1568-remove-support-of-happening-now-notifications

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 24, 2026

Summary

Removes the user-facing "Happening Now" notification subscription and settings. The Highlights display (the majorHeadlines query, HighlightsPage, and the highlight cards in the feed) is intentionally kept — only the notification side is gone.

Changes

  • Delete useMajorHeadlinesSubscription hook and EnableHighlightsAlerts banner (+ spec).
  • InAppNotificationsTab: drop the "Happening Now" toggle and the featureMajorHeadlinesPush gate.
  • HighlightCardOptions: drop the "Get real-time alerts" / "Turn off real-time alerts" menu item and the feature-flag gate; the kebab menu now only carries the Pin / Disable placement controls. Inlined the options array so the useMemo + eslint-disable are gone.
  • Remove the MajorHeadlineAdded notification type, the DismissedMajorHeadlinesAlertsBanner action, the featureMajorHeadlinesPush flag, related LogEvent / NotificationPromptSource entries, and the now-dead Megaphone icon mapping.

Key decisions

  • Highlights display (the "Happening Now" card and the /highlights page) is preserved — the ticket only removes notifications.
  • The HighlightCardOptions menu stays even though it only has two items, since Pin/Disable are useful on their own and match the pre-existing UX.

Test plan

  • pnpm --filter shared lint on changed files (clean)
  • node ./scripts/typecheck-strict-changed.js (clean)
  • jest src/components/cards/highlight/ src/components/notifications/ src/components/highlights/ src/components/sidebar/Sidebar.spec.tsx src/components/quest/QuestButton.spec.tsx src/components/Feed.spec.tsx — 122 passing

Closes ENG-1568


Created by Huginn 🐦‍⬛

Preview domain

https://eng-1568-remove-support-of-happe.preview.app.daily.dev

idoshamun and others added 2 commits May 24, 2026 10:49
Drop the MajorHeadlineAdded subscription hook, alerts banner, "Get
real-time alerts" highlight card menu entry, in-app notification toggle,
related feature flag, log events, and the dismiss-banner action. The
HighlightCardOptions menu keeps the Pin/Disable placement controls.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ions

The Megaphone icon was only mapped from the removed MajorHeadlineAdded
notification. With only two static menu items left, inline the options
array and drop the useMemo so the eslint-disable is no longer needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

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

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 24, 2026 11:11am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 24, 2026 11:11am

Request Review

@idoshamun idoshamun merged commit 2b59187 into main May 24, 2026
12 checks passed
@idoshamun idoshamun deleted the eng-1568-remove-support-of-happening-now-notifications branch May 24, 2026 11:21
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