Modify ↓
Opened 15 years ago
Closed 15 years ago
#6052 closed enhancement (fixed)
When used with AnnouncerPlugin, make watch turn notifications on by default
Reported by: | Kaveh | Owned by: | Martin Scharrer |
---|---|---|---|
Priority: | normal | Component: | WatchlistPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
This is easy to do (I've done it locally):
Add
self.set_notify(req.session.sid, True, realm, resid)
and
self.unset_notify(req.session.sid, True, realm, resid)
under the "watch" and "unwatch" actions respectively. This could also easily be put behind an option that's looked at under [watchlist].
The way I've set this plugin up with AnnouncerPlugin, you can disable AnnouncerPlugin's "Watch" component and use Watchlist's instead. Thus when you watch and unwatch, notifications follow it by default.
Attachments (0)
Change History (3)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I marking this one as fixed now. Please feel free to reopen it if you have further suggestions.
Note: See
TracTickets for help on using
tickets.
I was planning anyway to add some settings menu at the bottom of the watchlist page to let the user select if notifications should be enabled by default.