-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow peer reviews to be closed
analogous to closing on github serves two purposes: 1. de-cluttering the dashboard, particularly in the case of legacy reviews on public releases that stall when changes are requested and a new release has to be made (resolves comses/planning#32) 2. allowing an author/requester to close inactive reviews since we now only allow one active review per codebase open at one time also includes some small refactors/bugfixes (resolves comses/planning#172)
- Loading branch information
Showing
17 changed files
with
308 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by Django 3.2.20 on 2023-09-29 17:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("library", "0024_add_release_status"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="peerreview", | ||
name="closed", | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AlterField( | ||
model_name="peerrevieweventlog", | ||
name="action", | ||
field=models.CharField( | ||
choices=[ | ||
("invitation_sent", "Reviewer has been invited"), | ||
("invitation_resent", "Reviewer invitation has been resent"), | ||
("invitation_accepted", "Reviewer has accepted invitation"), | ||
("invitation_declined", "Reviewer has declined invitation"), | ||
("reviewer_feedback_submitted", "Reviewer has given feedback"), | ||
("author_resubmitted", "Author has resubmitted release for review"), | ||
("review_status_updated", "Editor manually changed review status"), | ||
( | ||
"revisions_requested", | ||
"Editor has requested revisions to this release", | ||
), | ||
( | ||
"release_certified", | ||
"Editor has taken reviewer feedback into account and certified this release as peer reviewed", | ||
), | ||
("review_closed", "Peer review was closed"), | ||
("review_reopened", "Peer review was reopened"), | ||
], | ||
help_text="status action requested.", | ||
max_length=32, | ||
), | ||
), | ||
] |
Oops, something went wrong.