Review Board

beta

Add support for starring groups and review requests

Submitted
Updated 1 year, 2 months ago

Christian Hammond Reviewers
trunk reviewboard
200
None Review Board SVN
Added support for starring groups and review requests. Starring a group puts it on your dashboard under a "Watched Groups" list, which is useful when you want to keep track of a group but don't want the group's review requests appearing under your Incoming Reviews list or sending you e-mails.

Starring a review request puts it in your Starred Reviews list and sends any e-mails your way. This is useful if you're not a reviewer of a review request but want to keep track of what's going on with it without having to get involved.
Tested that starring and unstarring works in each area, and that they appear on the dashboard.
Posted 1 year, 2 months ago (September 3rd, 2007, 1:54 a.m.)

   

  
It looks a bit weird with a bunch of stars here.  Could you stick the star next to "Watched Groups" (similar to it is on "Starred Reviews") above?
  1. Christian Hammond 1 year, 2 months ago (September 3rd, 2007, 2:22 a.m.)
    Yep, done.
/trunk/reviewboard/accounts/models.py (Diff revision 3)
41
    starred_review_requests = models.ManyToManyField(ReviewRequest, core=False,
41
    starred_review_requests = models.ManyToManyField(
42
                                                     blank=True)
42
        ReviewRequest, core=False, blank=True,
43
        filter_interface=models.HORIZONTAL,
44
        related_name="starred_by")
45
    starred_groups = models.ManyToManyField(
46
        Group, core=False, blank=True, filter_interface=models.HORIZONTAL,
47
        related_name="starred_by")
Can you add some comments here explaining what starring means for each type?
  1. Christian Hammond 1 year, 2 months ago (September 3rd, 2007, 2:22 a.m.)
    Done.