feat: session-based notification stacking with auto-dismiss#463
Merged
garysheng merged 2 commits intoPeonPing:mainfrom Apr 14, 2026
Merged
feat: session-based notification stacking with auto-dismiss#463garysheng merged 2 commits intoPeonPing:mainfrom
garysheng merged 2 commits intoPeonPing:mainfrom
Conversation
|
@smurfy92 is attempting to deploy a commit to the Gary Sheng's projects Team on Vercel. A member of the Team first needs to authorize it. |
Notifications from the same Claude session now consolidate into a single overlay with a count badge (e.g. "(3) project — needs approval"). When the user accepts a permission, submits a prompt, or a task completes, pending overlays are automatically dismissed for that session. New config key: notification_stacking (default: true) The stacking logic kills the previous overlay process, reuses its slot position, and increments a count prefix. Session state is stored in /tmp/peon-ping-popups/.session-<id> and cleaned on dismiss. Auto-dismiss triggers on: UserPromptSubmit, Stop, PreToolUse, PostToolUse, PostToolUseFailure, Notification — covering all cases where a previous permission request is no longer relevant. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fresh installs now register for PreToolUse in addition to the existing hooks. This is required for the notification auto-dismiss feature to trigger when a user accepts a permission request (PreToolUse fires right before the tool runs, after acceptance). Without this, users would need to manually add PreToolUse to their Claude Code settings.json for auto-dismiss to work. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
45500b3 to
b079bb9
Compare
garysheng
added a commit
that referenced
this pull request
Apr 14, 2026
- peon setup wizard (#465, closes #283) - session-based notification stacking (#463) - X close button on overlays (#464) - notification_title_marker config (#457) - expanded peon status (#461) - NSPanel overlay focus fix (#462) - overlay label + suppression fix (#460) - pack sync robustness (#453) - linux notify-send dismiss time (#455) - nix zsh module (#456) - Warcraft III Orc peon mapping fix in README EN/zh/ja (closes #333)
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.
Summary
Group notifications from the same Claude session into a single overlay with a count badge. When the user resumes interaction (accepts a permission, submits a prompt, etc.), pending overlays are automatically dismissed.
Behavior
New config
Test plan
🤖 Generated with Claude Code