feat(console): simplify workspace and add filtered resource pagination

This commit is contained in:
2026-09-29 22:31:19 +08:00
parent 6138c103d5
commit f7409afd24
14 changed files with 666 additions and 306 deletions

View File

@@ -191,7 +191,7 @@ assert status == 200, status
status, body = request("/console/auth/session")
assert status == 200 and json.loads(body).get("authenticated") is True
status, body = request("/console/")
assert status == 200 and "运行统计".encode("utf-8") in body, status
assert status == 200 and b'id="overview-task-list"' in body and b'id="tasks-filters"' in body and b'/console/console-core.js' in body, status
status, body = request("/console/config")
assert status == 200 and json.loads(body).get("default_queue_id") == queue
status, _ = request("/v1/tasks?" + urllib.parse.urlencode({"queue_id": queue, "limit": 20}))