You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixietf-tools#2336 - Add "select me next for an assignment".
Reviewers can set this flag in their reviewer settings, which triggers
a mail to be sent to the secretary. They are then kept on top of the
recommended assignment order. This flag is automatically reset when any
assignment is made to the reviewer.
- Legacy-Id: 17048
changes.append("Frequency changed to \"{}\" from \"{}\".".format(settings.get_min_interval_display() or"Not specified", prev_min_intervalor"Not specified"))
1733
1733
ifsettings.skip_next!=prev_skip_next:
1734
1734
changes.append("Skip next assignments changed to {} from {}.".format(settings.skip_next, prev_skip_next))
1735
-
1735
+
ifsettings.request_assignment_next:
1736
+
changes.append("Reviewer has requested to be the next person selected for an "
1737
+
"assignment, as soon as possible, and will be on the top of "
# Copyright The IETF Trust 2016-2019, All Rights Reserved
2
+
# -*- coding: utf-8 -*-
3
+
# Generated by Django 1.11.23 on 2019-11-18 04:26
4
+
from __future__ importunicode_literals
5
+
6
+
fromdjango.dbimportmigrations, models
7
+
8
+
9
+
classMigration(migrations.Migration):
10
+
11
+
dependencies= [
12
+
('review', '0019_auto_20191023_0829'),
13
+
]
14
+
15
+
operations= [
16
+
migrations.AddField(
17
+
model_name='historicalreviewersettings',
18
+
name='request_assignment_next',
19
+
field=models.BooleanField(default=False, help_text='If you would like to be assigned to a review as soon as possible, select this option. It is automatically reset once you receive any assignment.', verbose_name='Select me next for an assignment'),
20
+
),
21
+
migrations.AddField(
22
+
model_name='reviewersettings',
23
+
name='request_assignment_next',
24
+
field=models.BooleanField(default=False, help_text='If you would like to be assigned to a review as soon as possible, select this option. It is automatically reset once you receive any assignment.', verbose_name='Select me next for an assignment'),
Copy file name to clipboardExpand all lines: ietf/review/models.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ class ReviewerSettings(models.Model):
38
38
skip_next=models.IntegerField(default=0, verbose_name="Skip next assignments")
39
39
remind_days_before_deadline=models.IntegerField(null=True, blank=True, help_text="To get an email reminder in case you forget to do an assigned review, enter the number of days before review deadline you want to receive it. Clear the field if you don't want this reminder.")
40
40
remind_days_open_reviews=models.PositiveIntegerField(null=True, blank=True, verbose_name="Periodic reminder of open reviews every X days", help_text="To get a periodic email reminder of all your open reviews, enter the number of days between these reminders. Clear the field if you don't want these reminders.")
41
+
request_assignment_next=models.BooleanField(default=False, verbose_name="Select me next for an assignment", help_text="If you would like to be assigned to a review as soon as possible, select this option. It is automatically reset once you receive any assignment.")
41
42
expertise=models.TextField(verbose_name="Reviewer's expertise in this team's area", max_length=2048, blank=True, help_text="Describe the reviewer's expertise in this team's area", default='')
self.assertEqual(ranking[0]['label'], 'Test Reviewer-high: unavailable indefinitely (Can do follow-ups); requested to be selected next for assignment; reviewed document before; wishes to review document; #2; 1 no response, 1 partially complete, 1 fully completed')
234
245
self.assertEqual(ranking[1]['label'], 'Test Reviewer-low: is author of document; filter regexp matches; max frequency exceeded, ready in 91 days; skip next 2; #1; currently 1 open, 10 pages')
0 commit comments