Skip to content

feat: GitHub board + drawer adopt DS plugin-kit primitives (pl-tabs, pl-badge, pl-prose, pl-dot, pl-link, pl-iconbtn) and real status tokens (github-plugin#66) - #67

Merged
mabry1985 merged 1 commit into
mainfrom
feat/bd-62fcz-github-board-drawer-adopt-ds-plugin-kit
Nov 7, 2026
Merged

mabry1985 merged 1 commit into
mainfrom
feat/bd-62fcz-github-board-drawer-adopt-ds-plugin-kit

Conversation

@mabry1985

Copy link
Copy Markdown
Member

Summary

Migrated board and drawer components to plugin-kit primitives and status tokens, preserving navigation, polling, escaping, and Markdown sanitization. Added component and status assertions and updated the existing Node-driven interaction tests.

Validation passed using the repository’s prebuilt venv: Ruff lint, formatting, and all 535 tests.

Fixes #66

…pl-badge, pl-prose, pl-dot, pl-link, pl-iconbtn) and real status tokens (github-plugin#66)

@protoreview protoreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA panel review — WARN

code-review-structural · head 47f0df06e783 · formal

Low-risk design-system migration. The panel raised one minor cross-file finding: NEW_ISSUE_PAGE splices the raw _SETUP_CSS (still containing #d29922) while PAGE gets a token-replaced copy, so the two surfaces the docstring says "can't drift" now render the setup card's warning color differently. The verifier confirmed it against the file at head. No panel disagreement; no findings were refuted or dropped. No coverage gaps.

Findings

Severity Location Finding Verified
🟡 minor view.py:909 NEW_ISSUE_PAGE splices the raw _SETUP_CSS (still containing hardcoded #d29922) while PAGE splices a token-replaced copy, so the shared setup card renders with … confirmed
findings JSON (machine-readable)
[
  {
    "file": "view.py",
    "line": 909,
    "severity": "minor",
    "category": "cross-file",
    "claim": "NEW_ISSUE_PAGE splices the raw _SETUP_CSS (still containing hardcoded #d29922) while PAGE splices a token-replaced copy, so the shared setup card renders with a hardcoded warning color on /new-issue but a themed token on /view \u2014 diverging the two surfaces the module docstring says 'can't drift' (flagged by both cross-file and conventions review).",
    "evidence": "PAGE = PAGE.replace(\"__SETUP_CSS__\", _SETUP_CSS.replace(\"#d29922\", \"var(--pl-color-status-warning)\")).replace(\n    \"__SETUP_JS__\", _SETUP_JS\n)\nNEW_ISSUE_PAGE = NEW_ISSUE_PAGE.replace(\"__SETUP_CSS__\", _SETUP_CSS).replace(\"__SETUP_JS__\", _SETUP_JS)",
    "verdict": "confirmed",
    "note": "view.py:37 has `#setup .warn{color:#d29922}` in _SETUP_CSS; line 910 replaces it for PAGE only, line 912 splices raw _SETUP_CSS into NEW_ISSUE_PAGE. Docstring line 28 says 'so the two surfaces can't drift'. New test asserts #d29922 not in PAGE but never checks NEW_ISSUE_PAGE.",
    "line_original": 911,
    "line_corrected": true
  }
]

@protoreview protoreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Promoting the WARN verdict for head 47f0df06e783: all checks terminal-green, zero unresolved review threads. (approve-on-green)

Open findings carried by this approval — non-blocking, but they did not go away:

  • minor view.py:909 — NEW_ISSUE_PAGE splices the raw _SETUP_CSS (still containing hardcoded #d29922) while PAGE splices a token-replaced copy, so the shared setup card renders with a hardcoded warning color on /new-issue b

Approving a WARN does not resolve its findings (issue #22).

@mabry1985
mabry1985 merged commit 9856e71 into main Nov 7, 2026
4 checks passed
@mabry1985
mabry1985 deleted the feat/bd-62fcz-github-board-drawer-adopt-ds-plugin-kit branch November 7, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Board view and drawer hand-roll tabs, pills, markdown and status colors instead of using the DS plugin-kit

1 participant