Skip to content

feat: remove new indicator from quest button#6114

Merged
AmarTrebinjac merged 2 commits into
mainfrom
eng-1597-remove-new-notificataion-on-quest-button
May 29, 2026
Merged

feat: remove new indicator from quest button#6114
AmarTrebinjac merged 2 commits into
mainfrom
eng-1597-remove-new-notificataion-on-quest-button

Conversation

@AmarTrebinjac
Copy link
Copy Markdown
Contributor

@AmarTrebinjac AmarTrebinjac commented May 29, 2026

Summary

  • Removes the hasNewQuestRotations-driven "new" bubble from the quest button — the indicator no longer renders regardless of rotation state.
  • Deletes the frontend code that only existed to drive or clear the bubble: the useMarkQuestRotationsViewed hook + mutation, the 24-hour account-age suppression, and the hasNewQuestRotations selection on the dashboard query.
  • Keeps QUEST_ROTATION_UPDATE_SUBSCRIPTION in place — it still refreshes the dashboard when rotations change, which is independently useful for surfacing fresh quests inside the dropdown.

Key decisions

  • Frontend-only cleanup. The backend GraphQL field and markQuestRotationsViewed mutation in daily-api are left intact; a follow-up can remove them once nothing consumes the field.
  • Replaced the four indicator-focused tests with one regression assertion that quest-button-new-indicator never renders.

Test plan

  • Strict typecheck on changed files (node ./scripts/typecheck-strict-changed.js)
  • Lint on impacted shared + webapp files
  • QuestButton.spec.tsx (23/23) and gameCenter.spec.ts (5/5) pass

Closes ENG-1597


Created by Huginn 🐦‍⬛

Preview domain

https://eng-1597-remove-new-notificataio.preview.app.daily.dev

AmarTrebinjac and others added 2 commits May 29, 2026 08:38
Drop the hasNewQuestRotations-driven "new" bubble and the supporting
frontend plumbing (mark-viewed mutation, account-age check, dashboard
field). The backend schema is left in place and can be cleaned up in a
follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Drop the misleading hasNewQuestRotations:true spread in the bubble
  guard test; the field no longer exists, so asserting the bubble never
  renders against the default dashboard is enough.
- Remove orphaned QuestRotationUpdate / QuestRotationUpdateData types
  that only existed to describe the deleted rotation-viewed flow.

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

vercel Bot commented May 29, 2026

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

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

Request Review

@AmarTrebinjac AmarTrebinjac enabled auto-merge (squash) May 29, 2026 08:50
@AmarTrebinjac AmarTrebinjac merged commit 66efa43 into main May 29, 2026
12 checks passed
@AmarTrebinjac AmarTrebinjac deleted the eng-1597-remove-new-notificataion-on-quest-button branch May 29, 2026 08:51
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