Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2297)

Unified Diff: appengine/findit/model/triage_status.py

Issue 2074273002: [Findit] Add feedback button for manual triage. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@show-result
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/model/triage_status.py
diff --git a/appengine/findit/model/triage_status.py b/appengine/findit/model/triage_status.py
index 323a52a91d1b686a8d4b3b73e920ff794f763654..205d32e8ea32f924cc15592355cd41d0c8bd3a43 100644
--- a/appengine/findit/model/triage_status.py
+++ b/appengine/findit/model/triage_status.py
@@ -6,3 +6,11 @@ UNTRIAGED = 0
TRIAGED_INCORRECT = 1
TRIAGED_CORRECT = 2
TRIAGED_UNSURE = 3
+
+
+TRIAGE_STATUS_TO_DESCRIPTION = {
+ UNTRIAGED: 'Untriaged',
+ TRIAGED_INCORRECT: 'Triaged-Incorrect',
stgao 2016/06/30 01:28:02 Should we make it shorter "correct", "incorrect",
Sharu Jiang 2016/07/01 22:05:49 Done.
+ TRIAGED_CORRECT: 'Triaged-Correct',
+ TRIAGED_UNSURE: 'Triaged-Unsure',
+}

Powered by Google App Engine
This is Rietveld 408576698