{% from "partials/_workflow_macros.html" import workflow_icon %} {% set hx_base = base_path ~ "/partials/dashboard-matrix" %} {% set next_dir = "desc" if (dir == "asc") else "asc" %} {% set health_qs = "&include_checks=" + ("true" if include_checks else "false") + "&include_stale=" + ("true" if include_stale else "false") %} {% for column_name in workflow_column_names %} {% endfor %} {% for repo in repos %} {# ── Health Status Icon ── #} {# ── Repository Name ── #} {# ── Issues ── #} {# ── PRs ── #} {# ── Branches ── #} {# ── Workflows (one cell per column) ── #} {% for column in repo.workflow_columns %} {% endfor %} {# ── Checks ── #} {% endfor %}
Status {% if sort == 'health' %}{% if dir == 'asc' %}▲{% else %}▼{% endif %}{% endif %} Repository {% if sort == 'name' %}{% if dir == 'asc' %}▲{% else %}▼{% endif %}{% endif %} Issues {% if sort == 'issues' %}{% if dir == 'asc' %}▲{% else %}▼{% endif %}{% endif %} PRs {% if sort == 'prs' %}{% if dir == 'asc' %}▲{% else %}▼{% endif %}{% endif %} Branches {% if sort == 'branches' %}{% if dir == 'asc' %}▲{% else %}▼{% endif %}{% endif %} {{ column_name }}Checks
{% if repo.health_status == 'error' %} {% elif repo.health_status == 'warning' %} {% else %} {% endif %} {{ repo.full_name }} {{ repo.open_issues }}{% if repo.stale_issues %}({{ repo.stale_issues }}){% endif %} {{ repo.open_prs }}{% if repo.stale_prs %}({{ repo.stale_prs }}){% endif %} {{ repo.total_branches }}
{% for branch, workflows in column.workflows_by_branch.items() %} {% for wf in workflows %} {% endfor %} {% if not loop.last %}|{% endif %} {% endfor %}
{% if repo.checks_by_branch %}
{% for branch, checks in repo.checks_by_branch.items() %} {% for chk in checks %} {% endfor %} {% if not loop.last %}|{% endif %} {% endfor %}
{% endif %}