BMO/ComponentWatch: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11: Line 11:
*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 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
*add a select for selecting multiple products and/or components
*allow users to watch individual products, or entire components
*allow users to watch individual components, or entire products
** UI Idea (dkl): Replicate the same Product:__Any__ style multi-select fields from editflagtypes.cgi. Then users can watch all components for a product or just specific ones. In bmo_watch, a line with an user_id, product_id, but null component_id would mean watch all components for a product.
 
 


== code  ==
== code  ==
Line 23: Line 20:
== issues ==
== issues ==


*need to send notification when a bug changes ''from'' a watched component/product
*ensure users can't continue to watch items when their access is revoked
*bugmail needs to be extended to support a new relationship type (component/product watching)
*bugmail needs to be extended to support a new relationship type (component/product watching)
*need to send notification when a bug changes ''from'' a watched component/product
 
== ui sketch ==
 
  Product  [ product name |v]
  Component [ __any__      |v]
  ( Add )
 
  You are currently watching:
 
      Product        Component
  [ ] product name    __any__
  [ ] another prod    some component
      ( Remove Selected)
 
need to support non-javascript, so always validate the product & component match.
Confirmed users
1,201

edits