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

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: Address comments. 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..225e9cf27c896cf0a81ec3e7bb26f1193c20bf3d 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: 'Incorrect',
+ TRIAGED_CORRECT: 'Correct',
+ TRIAGED_UNSURE: 'Unsure',
+}

Powered by Google App Engine
This is Rietveld 408576698