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

Side by Side Diff: appengine/swarming/ui/res/js/alias.js

Issue 2500873004: Make typing in the filter box handle typing filters (Closed)
Patch Set: Created 4 years, 1 month 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 | « appengine/swarming/ui/res/imp/common/query-column-filter-behavior.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 // TODO(kjlubick): add tests for this code 5 // TODO(kjlubick): add tests for this code
6 6
7 this.swarming = this.swarming || {}; 7 this.swarming = this.swarming || {};
8 this.swarming.alias = this.swarming.alias || (function(){ 8 this.swarming.alias = this.swarming.alias || (function(){
9 var ANDROID_ALIASES = { 9 var ANDROID_ALIASES = {
10 "angler": "Nexus 6p", 10 "angler": "Nexus 6p",
11 "bullhead": "Nexus 5X", 11 "bullhead": "Nexus 5X",
12 "dragon": "Pixel C", 12 "dragon": "Pixel C",
13 "flo": "Nexus 7 (2013)", 13 "flo": "Nexus 7 (2013)",
14 "flounder": "Nexus 9", 14 "flounder": "Nexus 9",
15 "foster": "NVIDIA Shield", 15 "foster": "NVIDIA Shield",
16 "fugu": "Nexus Player", 16 "fugu": "Nexus Player",
17 "gce_x86": "Android on GCE",
17 "grouper": "Nexus 7 (2012)", 18 "grouper": "Nexus 7 (2012)",
18 "hammerhead": "Nexus 5", 19 "hammerhead": "Nexus 5",
19 "heroqlteatt": "Galaxy S7", 20 "heroqlteatt": "Galaxy S7",
20 "m0": "Galaxy S3", 21 "m0": "Galaxy S3",
21 "mako": "Nexus 4", 22 "mako": "Nexus 4",
22 "manta": "Nexus 10", 23 "manta": "Nexus 10",
23 "marlin": "Pixel XL", 24 "marlin": "Pixel XL",
24 "sailfish": "Pixel", 25 "sailfish": "Pixel",
25 "shamu": "Nexus 6", 26 "shamu": "Nexus 6",
26 "sprout": "Android One", 27 "sprout": "Android One",
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 var aliasMap = { 142 var aliasMap = {
142 "device_type": alias.android, 143 "device_type": alias.android,
143 "gpu": alias.gpu, 144 "gpu": alias.gpu,
144 "battery_health": alias.battery_health, 145 "battery_health": alias.battery_health,
145 "battery_status": alias.battery_status, 146 "battery_status": alias.battery_status,
146 } 147 }
147 148
148 return alias; 149 return alias;
149 })(); 150 })();
OLDNEW
« no previous file with comments | « appengine/swarming/ui/res/imp/common/query-column-filter-behavior.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698