Repository navigation
Animate notifications in and out along Emil Kowalski's motion rules - #16469
Merged
Merged
Conversation
The 800ms linger kept the canvas up for an exit animation that no longer exists, so a fullscreen window lost direct scanout for nothing each time the last card closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The card's crossfades used a bare 150ms, so they kept playing after `omarchy toggle animations` had zeroed every other shell animation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The deck moved for 320ms on a curve that overshot its rest. It now opens in 250ms and closes in 200ms on a strong ease-out, and the card's crossfades ease instead of running linear: out as the deck's text appears, in-out for the hover swaps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An arriving card falls the last 24px into place as it fades in (250ms), and a clicked or expired one rises the same way as it fades out (200ms) while the cards around it close up, all on the deck's strong ease-out. Keyboard dismissals stay instant, and a leaving card takes no pointer. Text giving up the front fades in half the time, so an arrival never shows both cards' words at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A departing card was drawn on top, so in a collapsed deck its fading plate and words lay over the card stepping forward. It now slips under the deck, its text going first so it doesn't read through; the last card keeps its words, with nothing to cover it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[Medium impact] The PR appears safe to merge; both previously reported problems are fixed. SummaryAdds notification arrival and exit motion while keeping keyboard dismissals instant.
Both previous findings are addressed. No new actionable issues were found.
|
A leaving card was removed only when the scene clock finished, and arrivals and updates restart that clock, so a card updating every tick kept closed ones on screen and counted against the limit indefinitely. Each departure now ends on a deadline the scene cannot push back. The activation shortcut also picked the first row, which during an exit is the card already leaving, and could run its command a second time. It now takes the newest card still live, as dismissal already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The update landed on the card, but the card stayed marked as leaving, so its deadline then removed the fresh notification and reported it expired. A replacement now cancels the departure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 of 34 tasks
4 tasks
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.
Applies the animation rules from https://github.com/emilkowalski/skills to notifications.
cubic-bezier(0.23, 1, 0.32, 1).dismissOne,dismissAll,invokeLast): stay instant. Never animate keyboard actions.Style.duration(), soomarchy toggle animationsturns them off too.Verified in the running shell with screen recordings examined frame by frame. Covered: arrival onto an empty deck and onto a stack, a mid-deck exit in an open deck, the front card leaving a collapsed stack, the last card leaving, and keyboard dismissals (one frame, no motion).
test/shell.d/notifications-test.shpasses.🤖 Generated with Claude Code