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

Unified Diff: appengine/swarming/elements/res/imp/tasklist/task-list-data.html

Issue 2359243004: Minor improvements of task list (Closed) Base URL: git@github.com:luci/luci-py@task-list
Patch Set: fix-merge Created 4 years, 3 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/swarming/elements/res/imp/tasklist/task-list.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/elements/res/imp/tasklist/task-list-data.html
diff --git a/appengine/swarming/elements/res/imp/tasklist/task-list-data.html b/appengine/swarming/elements/res/imp/tasklist/task-list-data.html
index 7d72fb55d4f0a9e8c9fc81c429ecbb0f89ca660a..0cda97a7958614171b40c0dbb6141e65c94e4a46 100644
--- a/appengine/swarming/elements/res/imp/tasklist/task-list-data.html
+++ b/appengine/swarming/elements/res/imp/tasklist/task-list-data.html
@@ -167,6 +167,9 @@
});
});
+ delete map["user"][""];
+ map["user"]["none"] = true;
+
// Turn the Map<Object,Map<Boolean>> into a Map<Object,Array<String>>
// with all of the aliases applied.
var pMap = {};
@@ -183,12 +186,6 @@
}
}
- // Add some options that might not show up.
- pMap["android_devices"].push("0");
- pMap["device_os"].push("none");
- pMap["device_type"].push("none");
- pMap["user"].push("none");
-
// Custom filter options
pMap["name"] = [];
// Some of these are hard coded because the server expects something
@@ -201,6 +198,9 @@
pMap["deduped_from"] = [];
pMap["duration"] = [];
pMap["server_versions"] = [];
+
+ // TODO(kjlubick): Allow a person to sort on the task list by bot
+ pMap["bot"] = [];
TIMES.forEach(function(t) {
pMap[t] = [];
});
« no previous file with comments | « appengine/swarming/elements/res/imp/tasklist/task-list.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698