{ "$type": "place.hud.view", "method": "dev.knotless.listCommits", "app": "knotless", "service": "did:web:knotless.dev#knotless_appview", "description": "A knotless repository's commits, newest first, each with its checks (params: { repo: \"at:///dev.knotless.repo/\", ref?, path?, subjectOnly?: true })", "query": { "items": "commits", "cursor": "cursor", "summary": { "noun": ["commit", "commits"], "label": { "$": "message" } }, "layout": { "component": "List", "props": { "items": { "$": "items" }, "style": "rows", "empty": "No commits here", "open": { "query": "dev.knotless.getThread", "params": { "repo": { "$root": "params.repo" }, "uri": { "$": "pull.uri" }, "filesOnly": true } } }, "children": [ { "component": "Text", "props": { "value": { "$": "message" }, "style": "strong" } }, { "component": "Row", "props": { "gap": "sm", "align": "center" }, "children": [ { "component": "Text", "props": { "value": { "$": "author.name" }, "style": "muted" } }, { "component": "Time", "props": { "value": { "$": "date" } } }, { "component": "Text", "props": { "value": { "$": "sha" }, "chars": 7, "style": "mono" } } ] }, { "component": "List", "props": { "items": { "$root": "response.checks" }, "where": { "commit": "sha" }, "style": "inline", "open": false }, "children": [ { "component": "Row", "props": { "gap": "xs", "align": "center" }, "children": [ { "component": "State", "props": { "value": { "$": "status" }, "roles": { "success": "success", "failure": "failure", "error": "failure", "running": "running", "queued": "queued", "cancelled": "skipped" }, "style": "mark" } }, { "component": "Text", "props": { "value": { "$": "workflow" }, "style": "muted" } } ] } ] } ] } } }