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

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: Rebase and fix tests. Created 4 years, 5 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
« no previous file with comments | « appengine/findit/model/crash/test/crash_analysis_test.py ('k') | appengine/findit/static/common.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+}
« no previous file with comments | « appengine/findit/model/crash/test/crash_analysis_test.py ('k') | appengine/findit/static/common.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698