Repository navigation
Let a received Taildrop file wait to be answered - #7953
Merged
Merged
Conversation
A delivery can land hours after it was sent, and the toast announcing it was expiring after five seconds -- so a file that arrived while nobody was at the machine was gone from the screen before anyone could click it open. Critical urgency is what the shell reads as a popup that lives until it is clicked or dismissed, the same thing omarchy-crash-watch uses to keep its click-to-diagnose toast around. The wrapper takes options after the headline and description as well as before, which is how this argument list is built. That path had no test, and it fails quietly rather than loudly: the wrapper appends its own default urgency last, so an urgency it stopped parsing would reach notify-send as `-u critical ... -u low` and the toast would go back to expiring. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Co-Authored-By: Codex XHigh <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Makes Taildrop arrival notifications persistent until opened or dismissed, preventing delayed deliveries from going unnoticed.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Changes:
- Sends Taildrop notifications with critical urgency.
- Adds regression coverage for persistent arrivals and trailing notification options.
- Documents the persistent notification behavior.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
bin/omarchy-tailscale-receive |
Marks arrival notifications as critical. |
test/shell.d/tailscale-receive-test.sh |
Verifies every arrival is persistent. |
test/shell.d/notification-send-test.sh |
Tests options following notification text. |
manual/35-networking.md |
Documents arrival notification behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
`-u critical` next to a line that builds a notification says what it does, and the five lines explaining why it is there were a recap of the change rather than something the code could not say. The reasoning stays where it belongs, in the commit that made the change. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
omarchybot
added a commit
that referenced
this pull request
Aug 25, 2026
Backport of the Taildrop toast fix (PR #7953, merged to quattro as 7e469f9) onto the v4-0-1 release branch. A delivery can land hours after it was sent, and the toast announcing it was expiring after five seconds -- so a file that arrived while nobody was at the machine was gone from the screen before anyone could click it open. Critical urgency is what the shell reads as a popup that lives until it is clicked or dismissed, the same thing omarchy-crash-watch uses to keep its click-to-diagnose toast around. The mechanism is already on this branch: omarchy-notification-send parses options that follow the two positionals, and NotificationLogic.js gives a critical popup duration 0, which never expires. One conflict, in test/shell.d/notification-send-test.sh. #7953 added coverage for the trailing-option path in the notify-send form it had then; #7926, which merged after it on quattro and is already backported here, rewrote that file for the Notify D-Bus form and carried the same coverage across. This branch therefore already asserts what #7953 added -- an urgency and a glyph after the description reach the call, and the urgency is set once -- so the branch's version stands and the resolved file is unchanged. Verified by mutation: with -u critical removed, test/shell.d/tailscale-receive- test.sh fails at once; restored, it passes, including the new assertion that every announcement waits to be answered. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_018DEMYa9UWtroz93DhMTtcV
Closed
nick1udwig
pushed a commit
to nick1udwig/omarchy
that referenced
this pull request
Sep 9, 2026
* Let a received Taildrop file wait to be answered A delivery can land hours after it was sent, and the toast announcing it was expiring after five seconds -- so a file that arrived while nobody was at the machine was gone from the screen before anyone could click it open. Critical urgency is what the shell reads as a popup that lives until it is clicked or dismissed, the same thing omarchy-crash-watch uses to keep its click-to-diagnose toast around. The wrapper takes options after the headline and description as well as before, which is how this argument list is built. That path had no test, and it fails quietly rather than loudly: the wrapper appends its own default urgency last, so an urgency it stopped parsing would reach notify-send as `-u critical ... -u low` and the toast would go back to expiring. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Co-Authored-By: Codex XHigh <[email protected]> * Say it in the commit message, not above the code `-u critical` next to a line that builds a notification says what it does, and the five lines explaining why it is there were a recap of the change rather than something the code could not say. The reasoning stays where it belongs, in the commit that made the change. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> --------- Co-authored-by: David Heinemeier Hansson <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> Co-authored-by: Codex XHigh <[email protected]>
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.
A file sent over Taildrop can land hours after it was sent, but the toast announcing it expired after five seconds — so the arrival nobody was at the machine for is exactly the one that vanished unseen, and the file then sat in
~/Downloadswith nothing to say it had come.The announcement now goes out at critical urgency, which is what the shell reads as a popup that lives until it is clicked or dismissed:
durationForgives Critical a lifetime of 0, the card's countdown never runs, andpopupExpiredkeeps a zero-lifetime popup across a shell restart instead of archiving it. Clicking still opens the file through theomarchy-exechint that was already there, dismissing still moves it into history, andSuper + Shift + ,still clears the screen in one gesture.omarchy-crash-watchkeeps its click-to-diagnose toast around the same way.Urgency costs nothing else here. It has no visual effect on the card —
accentColorhas been unused since the progress indicator came out — and do-not-disturb was already being bypassed byomarchy-notification-send's defaultomarchy-actionapp name, whatever the urgency.The wrapper accepts options after the headline and description as well as before, which is how the receiver builds its argument list, and that path had no test. It is worth one because it fails quietly: the wrapper appends its own default urgency last, so an urgency it stopped parsing would reach
notify-sendas-u critical ... -u lowand the toast would go back to expiring with nothing to show for it.One consequence to weigh, since it is the shape of the feature rather than a defect in it: a multi-file drop announces one toast per file and now none of them leave on their own, so twelve photos are twelve cards stacked down the right edge until they are answered —
Super + Shift + ,takes them all at once, and a batch that announced itself as one card would take a design decision rather than a fix. Opening notification history replays an already-answered receipt as a card that again waits to be dismissed, because stickiness is carried by urgency and history keeps urgency; a dedicated "wants an answer" hint would separate the two, at the cost of a new concept in the notification path.🤖 Generated by Opus 5 in Claude Code. Reviewed by Codex XHigh.