BMO/ComponentWatch: Difference between revisions
< BMO
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
== schema == | == schema == | ||
*table ''' | *table '''bmo_watch_specific''' (user_id, product_id, component_id) | ||
== preferences == | == preferences == |
Revision as of 04:19, 10 February 2011
component watching
a non-generic implementation, as an extension, would involve:
schema
- table bmo_watch_specific (user_id, product_id, component_id)
preferences
- add a hook to the end of account/prefs/email.html.tmpl
- add a select for selecting multiple products and/or components
- either use a real select (as per the search ui), or an iframed list of checkboxes to mimic listbox+checkbox
code
- hook bugmail_recipients
- simple join to bring in watchers, update recipients hash