Skip to content

refactor: remove ring.mp3 tone for instant meetings #21404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented May 19, 2025

Remove ring.mp3 tone for instant meetings

This PR removes the feature that plays a ring.mp3 tone for instant meetings as requested. All instances of this functionality and the related service worker code have been removed.

Changes

  • Removed special handling for instant meetings in the service worker
  • Removed the notification click handler for instant meetings in the service worker
  • Removed the NotificationSoundHandler component reference from providers.tsx
  • Deleted the notification-sound-handler.tsx component file
  • Deleted the ring.mp3 audio file

Testing

  • Type checking passes with yarn type-check:ci
  • Tests run with TZ=UTC yarn test (one failing test unrelated to these changes)

Link to Devin run: https://app.devin.ai/sessions/0e103abbfa9f43b9aced6c86b6deb8b9
Requested by: [email protected]


Summary by cubic

Removed the ring.mp3 notification sound for instant meetings, including all related code and assets. Instant meetings will no longer play a sound when triggered.

  • Refactors
    • Deleted NotificationSoundHandler component and ring.mp3 file.
    • Removed instant meeting sound logic from the service worker and providers.

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@graphite-app graphite-app bot requested a review from a team May 19, 2025 21:37
Copy link
Contributor

github-actions bot commented May 19, 2025

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title "Remove ring.mp3 tone for instant meetings". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

Copy link

vercel bot commented May 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) May 19, 2025 9:37pm

@dosubot dosubot bot added the foundation label May 19, 2025
Copy link

graphite-app bot commented May 19, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (05/19/25)

1 reviewer was added to this PR based on Keith Williams's automation.

@devin-ai-integration devin-ai-integration bot changed the title Remove ring.mp3 tone for instant meetings refactor: remove ring.mp3 tone for instant meetings May 19, 2025
Copy link
Contributor

@keithwillcode keithwillcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Udit-takkar had a coupl

});
});
};
// Notification click handler for instant meetings removed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not just remove this comment and the if statement?

@@ -21,7 +20,7 @@ export function Providers({ isEmbed, children }: ProvidersProps) {
<SessionProvider>
<TrpcProvider>
{!isBookingPage ? <PlainChat /> : null}
{!isEmbed && !isBookingPage && <NotificationSoundHandler />}
{/* NotificationSoundHandler removed */}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not just remove this completely?

@github-actions github-actions bot marked this pull request as draft May 26, 2025 17:46
@keithwillcode
Copy link
Contributor

Closing based on recommendation by @Udit-takkar

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

Successfully merging this pull request may close these issues.

1 participant