Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion protoagent.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Keep `version` in lockstep with pyproject.toml (tests/test_version.py asserts it).
id: github
name: GitHub (read/write tools)
version: 0.12.0
version: 0.12.1
description: >-
Read AND write GitHub tools over the `gh` CLI, with PER-AGENT write gating. The
read tools (PRs — list + merge readiness, issues, comments, search-before-filing,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "github-plugin"
version = "0.12.0"
version = "0.12.1"
description = "Read/write GitHub tools for protoAgent over the gh CLI, with per-agent write gating."
requires-python = ">=3.11"

Expand Down
8 changes: 8 additions & 0 deletions tests/test_board_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1608,3 +1608,11 @@ def test_board_counts_zero_errors_and_stale_responses():
})().catch(e=>{console.error(e);process.exitCode=1;});
"""
)


def test_status_dot_never_shrinks_in_a_flex_row():
"""A long title wraps and the flex row shrinks its children; the 8px dot lost width and
rendered as an oval. The page pins it so it stays round at any panel width."""
from ghplugin.view import PAGE

assert ".pl-dot{flex:none}" in PAGE
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions view.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
border-bottom:1px solid var(--pl-color-border)}
.row:hover{background:var(--pl-color-bg)}
.row .top{display:flex;align-items:baseline;gap:7px}
/* The DS dot is a shrinkable flex item: beside a title that wraps (.row .top) it lost width and
rendered as an oval. Pin it here until .pl-dot carries flex:none upstream (protoContent#679). */
.pl-dot{flex:none}
.title{font-weight:600;line-height:1.35}
.num{color:var(--pl-color-fg-muted);font-weight:400}
.meta{margin-top:3px;font-size:11px;color:var(--pl-color-fg-muted);display:flex;gap:6px;flex-wrap:wrap;align-items:center}
Expand Down
Loading