Merge ~cjwatson/launchpad:resubmit-vote-name into launchpad:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: e4a40e3a67853e3dbdf6aff87c2f562593a0950e
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:resubmit-vote-name
Merge into: launchpad:master
Diff against target: 51 lines (+6/-5)
3 files modified
lib/canonical/launchpad/icing/css/colours.scss (+1/-1)
lib/lp/code/browser/branchmergeproposal.py (+2/-1)
lib/lp/code/enums.py (+3/-3)
Reviewer Review Type Date Requested Status
Thiago F. Pappacena (community) Approve
Review via email: mp+399648@code.launchpad.net

Commit message

Rename "Resubmit" vote to "Needs Resubmitting"

Description of the change

Merge proposal submitters often interpret the "Resubmit" vote to mean "I have made the requested changes to this merge proposal and would like to resubmit it for review", whereas in fact it's intended to be cast by a reviewer and means "the idea might be sound but the implementation needs significant rework". Rename it so that it's clearer that it goes with the "Needs Fixing" and "Needs Information" votes.

To post a comment you must log in.
Revision history for this message
Thiago F. Pappacena (pappacena) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/lib/canonical/launchpad/icing/css/colours.scss b/lib/canonical/launchpad/icing/css/colours.scss
index 6b4c041..64f3a72 100644
--- a/lib/canonical/launchpad/icing/css/colours.scss
+++ b/lib/canonical/launchpad/icing/css/colours.scss
@@ -452,7 +452,7 @@
452 color: #930;452 color: #930;
453 }453 }
454454
455 .voteDISAPPROVE, .voteRESUBMIT {455 .voteDISAPPROVE, .voteNEEDS_RESUBMITTING {
456 color: red;456 color: red;
457 }457 }
458458
diff --git a/lib/lp/code/browser/branchmergeproposal.py b/lib/lp/code/browser/branchmergeproposal.py
index a72cf2a..1662539 100644
--- a/lib/lp/code/browser/branchmergeproposal.py
+++ b/lib/lp/code/browser/branchmergeproposal.py
@@ -860,7 +860,8 @@ class DecoratedCodeReviewVoteReference:
860 CodeReviewVote.ABSTAIN: CodeReviewVote.ABSTAIN.title,860 CodeReviewVote.ABSTAIN: CodeReviewVote.ABSTAIN.title,
861 CodeReviewVote.NEEDS_INFO: CodeReviewVote.NEEDS_INFO.title,861 CodeReviewVote.NEEDS_INFO: CodeReviewVote.NEEDS_INFO.title,
862 CodeReviewVote.NEEDS_FIXING: CodeReviewVote.NEEDS_FIXING.title,862 CodeReviewVote.NEEDS_FIXING: CodeReviewVote.NEEDS_FIXING.title,
863 CodeReviewVote.RESUBMIT: CodeReviewVote.RESUBMIT.title,863 CodeReviewVote.NEEDS_RESUBMITTING: (
864 CodeReviewVote.NEEDS_RESUBMITTING.title),
864 }865 }
865866
866 def __init__(self, context, user, users_vote):867 def __init__(self, context, user, users_vote):
diff --git a/lib/lp/code/enums.py b/lib/lp/code/enums.py
index d2a9262..f950d5e 100644
--- a/lib/lp/code/enums.py
+++ b/lib/lp/code/enums.py
@@ -1079,7 +1079,7 @@ class CodeReviewVote(DBEnumeratedType):
1079 'NEEDS_INFO',1079 'NEEDS_INFO',
1080 'ABSTAIN',1080 'ABSTAIN',
1081 'DISAPPROVE',1081 'DISAPPROVE',
1082 'RESUBMIT',1082 'NEEDS_RESUBMITTING',
1083 )1083 )
10841084
1085 DISAPPROVE = DBItem(1, """1085 DISAPPROVE = DBItem(1, """
@@ -1101,8 +1101,8 @@ class CodeReviewVote(DBEnumeratedType):
1101 Reviewer wants the proposed merge to happen.1101 Reviewer wants the proposed merge to happen.
1102 """)1102 """)
11031103
1104 RESUBMIT = DBItem(4, """1104 NEEDS_RESUBMITTING = DBItem(4, """
1105 Resubmit1105 Needs Resubmitting
11061106
1107 Reviewer thinks that the idea might be sound but the implementation1107 Reviewer thinks that the idea might be sound but the implementation
1108 needs significant rework.1108 needs significant rework.

Subscribers

People subscribed via source and target branches

to status/vote changes: