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

Side by Side Diff: gm/rebaseline_server/static/constants.js

Issue 474813002: rebaseline_server: include setA/setB descriptions in output JSON (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use posixpath.join() Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « gm/rebaseline_server/server.py ('k') | gm/rebaseline_server/static/live-view.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Constants used by our imagediff-viewing Javascript code. 2 * Constants used by our imagediff-viewing Javascript code.
3 */ 3 */
4 var module = angular.module( 4 var module = angular.module(
5 'ConstantsModule', 5 'ConstantsModule',
6 [] 6 []
7 ); 7 );
8 8
9 module.constant('constants', (function() { 9 module.constant('constants', (function() {
10 return { 10 return {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 KEY__EXTRACOLUMNS__RESULT_TYPE: 'resultType', 54 KEY__EXTRACOLUMNS__RESULT_TYPE: 'resultType',
55 KEY__EXTRACOLUMNS__TEST: 'test', 55 KEY__EXTRACOLUMNS__TEST: 'test',
56 // 56 //
57 KEY__HEADER__DATAHASH: 'dataHash', 57 KEY__HEADER__DATAHASH: 'dataHash',
58 KEY__HEADER__IS_EDITABLE: 'isEditable', 58 KEY__HEADER__IS_EDITABLE: 'isEditable',
59 KEY__HEADER__IS_EXPORTED: 'isExported', 59 KEY__HEADER__IS_EXPORTED: 'isExported',
60 KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading', 60 KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading',
61 KEY__HEADER__RESULTS_ALL: 'all', 61 KEY__HEADER__RESULTS_ALL: 'all',
62 KEY__HEADER__RESULTS_FAILURES: 'failures', 62 KEY__HEADER__RESULTS_FAILURES: 'failures',
63 KEY__HEADER__SCHEMA_VERSION: 'schemaVersion', 63 KEY__HEADER__SCHEMA_VERSION: 'schemaVersion',
64 KEY__HEADER__SET_A_DESCRIPTIONS: 'setA',
65 KEY__HEADER__SET_B_DESCRIPTIONS: 'setB',
64 KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable', 66 KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable',
65 KEY__HEADER__TIME_UPDATED: 'timeUpdated', 67 KEY__HEADER__TIME_UPDATED: 'timeUpdated',
66 KEY__HEADER__TYPE: 'type', 68 KEY__HEADER__TYPE: 'type',
67 VALUE__HEADER__SCHEMA_VERSION: 4, 69 VALUE__HEADER__SCHEMA_VERSION: 5,
68 // 70 //
69 KEY__RESULT_TYPE__FAILED: 'failed', 71 KEY__RESULT_TYPE__FAILED: 'failed',
70 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored', 72 KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored',
71 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison', 73 KEY__RESULT_TYPE__NOCOMPARISON: 'no-comparison',
72 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded', 74 KEY__RESULT_TYPE__SUCCEEDED: 'succeeded',
75 //
76 KEY__SET_DESCRIPTIONS__DIR: 'dir',
77 KEY__SET_DESCRIPTIONS__REPO_REVISION: 'repoRevision',
78 KEY__SET_DESCRIPTIONS__SECTION: 'section',
73 79
74 // NOTE: Keep these in sync with ../server.py 80 // NOTE: Keep these in sync with ../server.py
75 KEY__EDITS__MODIFICATIONS: 'modifications', 81 KEY__EDITS__MODIFICATIONS: 'modifications',
76 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash', 82 KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash',
77 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType', 83 KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType',
78 84
79 // These are just used on the client side, no need to sync with server code. 85 // These are just used on the client side, no need to sync with server code.
80 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan', 86 KEY__IMAGEPAIRS__ROWSPAN: 'rowspan',
81 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion', 87 URL_KEY__SCHEMA_VERSION: 'urlSchemaVersion',
82 URL_VALUE__SCHEMA_VERSION__CURRENT: 1, 88 URL_VALUE__SCHEMA_VERSION__CURRENT: 1,
83 89
84 // Utility constants only used on the client side. 90 // Utility constants only used on the client side.
85 ASC: 'asc', 91 ASC: 'asc',
86 DESC: 'desc', 92 DESC: 'desc',
87 } 93 }
88 })()) 94 })())
OLDNEW
« no previous file with comments | « gm/rebaseline_server/server.py ('k') | gm/rebaseline_server/static/live-view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698