Repository navigation
feat(backlog): watch tasks and notify watchers of changes - #34
Merged
Merged
Conversation
Watch / Watching toggle with watcher list in the task header, a Watching backlog filter, and in-app (optionally e-mail) notifications for status, assignment and comment changes. Creator, developer and tester watch implicitly; commenters auto-watch; opt-outs stick. Recipients are limited to members who can still see the task and never include the actor. Off by default (Configuration > Work items). Adds the BacklogWatcher table (additive migration AddBacklogWatcher). Closes #15 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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.



What and why
Closes #15.
People who care about a task but don't own it (team leads, QA, the reporter) can now watch it and hear about changes instead of checking back.
Off by default. Turn it on under Configuration → Work items → Task watchers. E-mail watchers also sends each notification by e-mail.
Design notes
Core.Common.WatcherRecipients, with unit tests.IBacklogWatcherServiceis the single place every change path calls. It sends through the existingIUserNotificationServiceand logs failures rather than failing the save.AutoWatchAsync(…, WatchSource.Mentioned)andNotifyAsync.Upgrade notes
AddBacklogWatcher(tableBacklogWatcheronly).sql-scripts/01_schema.sqlis regenerated.sql-scripts/03_locale.sqlfor the 9 new labels.How it was tested
dotnet build src/Taskist.slnanddotnet test src/Taskist.slnpass: 437 tests, 10 new inWatcherRecipientsTests.Checklist
dotnet build src/Taskist.slnanddotnet test src/Taskist.slnpasssql-scripts/03_locale.sqlsql-scripts/02_defaults.sql(n/a, no new menu or permission)ViewBag/ViewData, no comments in.csfilesWatch/Watchersactions require the Backlog permission andCanViewTaskAsync, and the Watching filter is applied inside the existing project-access query🤖 Generated with Claude Code