{ "$type": "place.hud.view", "method": "dev.knotless.listChecks", "app": "knotless", "service": "did:web:knotless.dev#knotless_appview", "description": "A knotless repository's checks, newest run first (params: { repo: \"at:///dev.knotless.repo/\", key: the repository's key, as getRepo gives it; ref?, commit?, pull? })", "query": { "items": "checks", "cursor": "cursor", "summary": { "noun": ["check", "checks"], "label": { "$": "value.workflow" } }, "layout": { "component": "List", "props": { "items": { "$": "items" }, "style": "rows", "empty": "No checks have run" }, "children": [ { "component": "Row", "props": { "gap": "sm", "align": "center" }, "children": [ { "component": "State", "props": { "value": { "$": "value.status" }, "roles": { "success": "success", "failure": "failure", "error": "failure", "running": "running", "queued": "queued", "cancelled": "skipped" }, "style": "mark" } }, { "component": "Text", "props": { "value": { "$": "value.workflow" }, "style": "strong" } }, { "component": "Text", "props": { "value": { "$": "value.status" }, "style": "muted", "words": { "success": "Passed", "failure": "Failed", "error": "Could not run", "running": "Running", "queued": "Queued", "cancelled": "Cancelled" } } } ] }, { "component": "Row", "props": { "gap": "sm", "align": "center" }, "children": [ { "component": "Text", "props": { "value": { "$": "value.commit" }, "chars": 7, "style": "mono" } }, { "component": "Time", "props": { "value": { "$": "value.startedAt" } } } ] }, { "component": "Text", "props": { "value": { "$": "value.skipped" }, "prefix": "Skipped: ", "style": "muted" } }, { "component": "Text", "props": { "value": { "$": "value.error" }, "style": "muted", "clamp": 3 } } ] } } }