-
-
Notifications
You must be signed in to change notification settings - Fork 219
New feature: dismiss event from notification #781
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
base: master
Are you sure you want to change the base?
Conversation
> (released) | ||
|
||
* Added action to dismiss the event from the notification | ||
|
||
## Version 4.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I added to the changelogs as requested but they both seem out of date. Are they deprecated? Should I updated the PR template?
WalkthroughThis update introduces a new feature allowing users to dismiss events directly from notifications. The notification categories "EVENT" and "SNOOZE_EVENT" now include a "Dismiss" action, with corresponding localization and code to handle the action. Several typos were corrected in method names, variable names, and comments. Refactoring was performed to improve code clarity, including extracting event dismissal logic into a helper method and updating notification handling. The changelog and UI were updated to document and reflect the new feature. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Notification
participant AppDelegate
participant StatusBarItemController
User->>Notification: Taps "Dismiss" on event notification
Notification->>AppDelegate: didReceive notification response (DISMISS_ACTION)
AppDelegate->>StatusBarItemController: dismiss(event:)
StatusBarItemController->>StatusBarItemController: Add event to dismissed list, update UI
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (7)
🧰 Additional context used🧬 Code Graph Analysis (2)MeetingBar/Views/Changelog/Changelog.swift (1)
MeetingBar/Notifications.swift (1)
🔇 Additional comments (24)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Status
READY
Description
I often found myself wanting to dismiss events from the notification, rather than dismissing the notification and then opening the menu and then dismissing the event.
Also:
Note:
notification_next_meeting_dismissed_title
notification triggered by dismissing. I find it more annoying than useful. This change might make that even more apparent. I'd be happy to remove that as well or add it as an option to settings.Checklist
Steps to Test or Reproduce
Summary by CodeRabbit