Skip to content

feat(notifications): add reply + mark-read action buttons (tincan-5ptsg)#54

Merged
quad341 merged 1 commit into
mainfrom
feature/tincan-5ptsg
Jun 5, 2026
Merged

feat(notifications): add reply + mark-read action buttons (tincan-5ptsg)#54
quad341 merged 1 commit into
mainfrom
feature/tincan-5ptsg

Conversation

@quad341
Copy link
Copy Markdown
Owner

@quad341 quad341 commented Jun 5, 2026

Summary

  • Adds Reply and Mark as Read action buttons to desktop notifications
  • Reply: focuses the main window and selects the conversation (same as clicking Open)
  • Mark as Read: calls DesktopNotifier.on_mark_read → MarkConversationRead on the daemon, without raising the window
  • New on_mark_read constructor param on DesktopNotifier; MainWindow wires it to _dbus_client.mark_conversation_read

Test plan

  • 8 new tests in tests/tincan_gui/test_desktop_notifications.py::TestActionableNotifications
  • Full suite: 1115 tests pass, 0 failures

🤖 Generated with Claude Code

…notifications (tincan-5ptsg)

- DesktopNotifier: accept on_mark_read callback; expose 'Reply' and
  'Mark as Read' action buttons in Notify() call
- 'reply' action triggers on_action_invoked (open+select conversation)
- 'mark-read' action triggers on_mark_read without raising the window
- MainWindow: wire on_mark_read → _dbus_client.mark_conversation_read
- 8 new tests covering button presence + callback routing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@quad341 quad341 merged commit a9a3fdd into main Jun 5, 2026
1 check passed
@quad341 quad341 deleted the feature/tincan-5ptsg branch June 5, 2026 22:29
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.

1 participant