BMO/ComponentWatch

From MozillaWiki
< BMO
Revision as of 06:02, 10 February 2011 by Glob (talk | contribs)
Jump to navigation Jump to search

component watching

a non-generic implementation, as an extension, would involve:

schema

  • table bmo_watch (user_id, product_id, component_id)

preferences

  • add a hook to the end of account/prefs/email.html.tmpl or add a component/product watching tab using the existing hook
  • 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