Skip to content

Fix Taildrop notifications: empty text, full path, missing previews, red title - #16301

Merged
dhh merged 5 commits into
quattrofrom
worktree-taildrop-notification-env
Oct 22, 2026
Merged

dhh merged 5 commits into
quattrofrom
worktree-taildrop-notification-env

Conversation

@dhh

@dhh dhh commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Incoming Taildrop files were announced with empty cards: just the send glyph, no title or body.

  • Start the receiver after the session environment is imported. The unit had no ordering, so it started before UWSM imported OMARCHY_PATH; omarchy-i18n died on the unbound variable and every summary and body came out empty for the whole login. Ordered after wayland-session-waitenv.service with ConditionEnvironment=OMARCHY_PATH, like omarchy-sleep-lock.service.
  • Shorten the save location to ~ again. An unquoted ~ in the ${dir/#$HOME/~} replacement re-expands to $HOME. Covered by a new case in tailscale-receive-test.sh that fails on the base branch.
  • Preview received images. Restores the image preview removed in dc2b180. Taildrop only accepts files from your own devices, and the shell already decodes notification images from every other app. Other files keep the send glyph.
  • Keep critical notification titles in the normal text colour. They stay bold; red read as an error for cards that only wait to be dismissed, like a received file.

Testing: test/shell.d/tailscale-receive-test.sh passes. Unit checked with systemd-analyze --user verify. Restarting the live receiver fixed the text; a replayed screenshot showed its preview and ~/Downloads in the running shell. The title colour change is not yet checked in a running shell. Reviewed with Codex: no findings.

🤖 Generated with Claude Code

dhh and others added 4 commits October 22, 2026 22:51
It started before UWSM imported OMARCHY_PATH, so omarchy-i18n failed and
every incoming file was announced with an empty title and body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An unquoted ~ in the replacement re-expands to HOME, so notifications read
"Saved to /home/me/Downloads" instead of "Saved to ~/Downloads".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Taildrop only accepts files from your own devices, and the shell already
decodes notification images from every other app, so a received screenshot
shows itself again instead of a bare glyph. Other files keep the send glyph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Critical titles turned red, which reads as an error for things that merely
wait to be dismissed, like a received file. The title is already bold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the previous fallback-glyph issue is fixed.

Summary

Fixes Taildrop notification text, save paths, image previews, and title colour.

  • Taildrop alerts show their text, save path, and image preview.
  • Critical notification titles use the normal text color.

The previous fallback-glyph finding is fully fixed. No new issues were found in the changes since the previous review.

Reviews (2) · Last reviewed commit: "Keep the send glyph under Taildrop image..." · Reviewed by Greptile

Comment thread bin/omarchy-tailscale-receive Resolved
Omarchy's own cards get no letter fallback, so an image that fails to load
left the card with no mark at all. The shell already shows a loaded image
ahead of the glyph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit d743f8e into quattro Oct 22, 2026
2 checks passed
@dhh
dhh deleted the worktree-taildrop-notification-env branch October 22, 2026 15:22
namespaceMarcello added a commit to namespaceMarcello/omarchy that referenced this pull request Oct 25, 2026
omacom#16301 added image previews and the send glyph to the receive toast,
and omacom#16561 named the app so files stack. The .desktop guard merged
cleanly below them; in the test, keep quattro's glyph and preview
checks and this branch's --no-open check, and in the panel README
add the launcher clause to the new sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants