Skip to content

TL-886: notifications, with desktop notifications over D-Bus - #39

Merged
Keloran merged 2 commits into
mainfrom
feat/tl-886-notifications
Nov 12, 2026
Merged

Keloran merged 2 commits into
mainfrom
feat/tl-886-notifications

Conversation

@Keloran

@Keloran Keloran commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Part of the urgent-notifications work (TL-881); uses backend#96 for urgent / shown_at.

  • N opens Notifications from anywhere: unread first; enter reads it and opens its ticket or board (one about neither, like the launch offer, says its website link), x clears, a marks all read, r reloads.
  • Header: N 3 unread while there are any.
  • Polling every 30s, also while the terminal isn't focused; the list is fetched only when the unread count changes.
  • Desktop (internal/desktop): each new unread one (arrived since the TUI started; a burst gives its latest three) goes to org.freedesktop.Notifications on the session bus via godbus, critical urgency when urgent. No bus / no daemon: nothing. Other systems: nothing yet.
  • Urgent: unread with no shown_at → POST /notifications/{id}/shown, then the list opens; never over a text box (it waits for the next look).
  • Translations (de, es, fr, nl, pt, tlh), ? keys, README.

Tests: the screen and its keys, the desktop call (a fake), urgent opening once / not when already shown / not while typing, which are fresh; D-Bus with no bus. make test, go vet, govulncheck pass. Sent a real notification through the session bus here.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

N lists them, the header counts unread, new ones go to the desktop
(org.freedesktop.Notifications, Linux), urgent ones open the list once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
App name tracklines and a sender-pid hint: quickshell didn't show ones
named TrackLin.es without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Keloran
Keloran merged commit a2cd4a4 into main Nov 12, 2026
7 checks passed
@Keloran
Keloran deleted the feat/tl-886-notifications branch November 12, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant