Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Tighten the run page's logs and summary cards

8015a72b322328c3c5b8c3b5f8ca6fcd17c57695 · Keenan Nemetz · 17d ago · parent e653853a

Tighten the run page's logs and summary cards

Return the run page's step logs to a collapsible accordion. The tab bar
replaced a stack that already read well, and it hid every step's output behind
one shared pane. Each step now loads its own byte range when opened, the step a
reader should land on opens itself, and a record without per-step ranges falls
back to the attempt's full log instead of a stack of empty rows. Drop the
unused /runs/{id}/steps fragment and the tab-only view fields.

Stop stretching the summary cards to the tallest one, and trim their subtext:
the workflow card links the definition without repeating its path, "acted as"
and "reported by" lose their explanations, and only a successful run that does
not gate a branch explains why it is not a check.

server/web/static/vole.css +50−13

@@ -1689,6 +1689,7 @@ details[open] > summary .tree-chevron { transform: rotate(90deg); }
1689 1689 .run-summary {
1690 1690 display: grid;
1691 1691 grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
1692 align-items: start;
1692 1693 gap: 10px;
1693 1694 margin: 16px 0;
1694 1695 }
@@ -1719,30 +1720,60 @@ details[open] > summary .tree-chevron { transform: rotate(90deg); }
1719 1720 .run-summary .status-note { margin: 0; }
1720 1721 .run-summary code { font-size: calc(11.55px * var(--font-scale)); overflow-wrap: anywhere; }
1721 1722
1722 /* A run's log is one pre. While the attempt runs, app.js tails the selected
1723 step's byte range; once it is recorded, the step tabs swap the same pre with
1724 htmx, so a log can never become markup. */
1725 .run-log-card {
1726 padding: 0;
1723 /* Step logs are loaded on demand. The details element is the trigger; the pre is
1724 the target, and htmx uses textContent so a log can never become markup. */
1725 .run-log {
1726 margin: 4px 0;
1727 background: var(--bg-panel);
1728 border: 1px solid var(--border);
1729 border-radius: var(--radius);
1727 1730 overflow: hidden;
1728 1731 }
1729 .run-log-steps {
1732 .run-log > summary {
1730 1733 display: flex;
1731 flex-wrap: wrap;
1734 align-items: center;
1732 1735 gap: 6px;
1733 padding: 10px 12px;
1736 padding: 6px 10px;
1737 color: var(--fg-muted);
1738 font-size: calc(13.2px * var(--font-scale));
1739 cursor: pointer;
1740 list-style: none;
1741 }
1742 .run-log > summary::-webkit-details-marker { display: none; }
1743 .run-log > summary:hover { color: var(--fg); background: var(--bg-hover); }
1744 .run-log > summary .icon { width: 12px; height: 12px; color: var(--fg-faint); }
1745 .run-log[open] > summary {
1746 color: var(--fg);
1734 1747 border-bottom: 1px solid var(--border);
1735 1748 }
1736 .run-log-step { font-family: inherit; cursor: pointer; }
1737 .run-log-step-name { color: var(--fg); }
1738 .run-log-step .run-step-meta { margin-left: 2px; }
1739 .run-log-step.is-empty { cursor: default; opacity: 0.65; }
1740 .run-log-step.is-empty:hover { color: var(--fg-muted); border-color: var(--border-strong); }
1749 .run-log-card {
1750 padding: 0;
1751 overflow: hidden;
1752 }
1753 .run-log-card > .run-log {
1754 margin: 0;
1755 border: 0;
1756 border-radius: 0;
1757 border-bottom: 1px solid var(--border);
1758 }
1759 .run-log-card > .run-log:last-child { border-bottom: 0; }
1760 .run-log-title { flex: 1; color: var(--fg); font-weight: 500; }
1761 .run-log-meta {
1762 margin-left: auto;
1763 color: var(--fg-faint);
1764 font-size: calc(12.1px * var(--font-scale));
1765 font-variant-numeric: tabular-nums;
1766 }
1741 1767 .run-step-num {
1742 1768 color: var(--fg-faint);
1743 1769 font-variant-numeric: tabular-nums;
1744 1770 min-width: 2.5ch;
1745 1771 }
1772 .run-step-name {
1773 flex: 1;
1774 color: var(--fg);
1775 overflow-wrap: anywhere;
1776 }
1746 1777 .run-step-meta {
1747 1778 margin-left: 8px;
1748 1779 color: var(--fg-faint);
@@ -1750,6 +1781,12 @@ details[open] > summary .tree-chevron { transform: rotate(90deg); }
1750 1781 font-variant-numeric: tabular-nums;
1751 1782 white-space: nowrap;
1752 1783 }
1784 .run-log-empty {
1785 margin: 0;
1786 padding: 10px 12px;
1787 color: var(--fg-muted);
1788 font-size: calc(13.2px * var(--font-scale));
1789 }
1753 1790 .run-log-text {
1754 1791 margin: 0;
1755 1792 padding: 10px 12px;