feat: implement meeting notification system#26
Merged
Conversation
Expanded the meeting notifications section in settings to support enabling/disabling notifications, selecting reminder intervals, toggling browser notifications, and sound alerts with volume control and test functionality. Integrated new state management and utility functions for user preferences.
Added snooze functionality, sound and browser notification support, and improved notification timing for upcoming meetings. Refactored notification logic to support user preferences and multiple intervals, and increased notification accuracy by checking every 30 seconds.
Introduces utilities for managing meeting reminder notifications, including preference storage, browser notifications, sound alerts, snooze functionality, and notification tracking. These functions support customizable intervals, localStorage persistence, and user interaction for meeting reminders.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| import { useEffect, useState, useCallback } from "react" | ||
| import { toast } from "sonner" | ||
| import { Calendar, Clock, ArrowRight } from "lucide-react" | ||
| import { Clock, Bell, BellOff, Volume2 } from "lucide-react" |
|
|
||
| // Handle snooze action | ||
| const handleSnooze = useCallback((meetingId: string, meetingTitle: string) => { | ||
| const snoozeUntil = snoozeMeeting(meetingId, 5) // 5 minute snooze |
Updated the README to provide a more comprehensive overview of platform features, including detailed sections for dashboard, projects, meetings, productivity tools, AI assistant, resume editor, chat, wiki, files, diagrams, entertainment, staff portal, and settings. Improved clarity on multilingual support, updated tech stack details, and expanded the directory structure and command descriptions for better onboarding.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a major upgrade to the meeting notification system, adding customizable reminder intervals, browser and sound notifications, and snooze functionality. Users can now configure their notification preferences in the settings page, and the notifier component has been refactored to support these new features and provide more accurate and actionable alerts.
Settings UI enhancements:
SettingsPagefor meeting notification preferences, allowing users to enable/disable notifications, select reminder intervals, toggle browser notifications, and configure sound alerts with volume control. [1] [2]Volume2,VolumeX) and imported utility functions for notification management frommeeting-notifications.Meeting notifier logic improvements:
MeetingNotifierto use the new preferences, including handling multiple reminder intervals, sound and browser notifications, and snooze actions for individual meetings. [1] [2]