Skip to content

intake dashboard: fold the copy toggle into the task row itself - #234

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/dashboard-task-copy-button-jw6cet
Aug 19, 2026
Merged

intake dashboard: fold the copy toggle into the task row itself#234
Jammy2211 merged 1 commit into
mainfrom
claude/dashboard-task-copy-button-jw6cet

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Follow-up to #232 on feedback from use: the per-task 📋 copy for Claude line doubled the dashboard's rendered height and repeated its label 150+ times.

What changed

  • Each task is now a single collapsed <details> row whose summary IS the task line: a bare 📋 toggle at the left of the text, then the linked title and facets — no extra line, no repeated label. Tapping the row reveals the fenced /start_dev <prompt-path> message with GitHub's copy button, exactly as before.
  • Summaries are HTML (GitHub does not process markdown inside <summary>), so _summary_label HTML-escapes titles, translates backtick spans to <code>, strips stray <!-- comment markers, and title/issue links become <a> tags with repo-root-relative hrefs (which resolve correctly from the page's blob URL).
  • _copy_lines/_task_item collapse into one _task_row helper; _label is gone.
  • Contract tests updated to pin the new shape: one-line row with no repeated label, the 📋-then-link summary, the HTML title escaping/<code> translation, and that no </details> can swallow the next row.

Testing

  • python3 -m pytest tests/ — 357 passed.
  • Regenerated the real PyAutoMind/dashboard.md (150 task rows); dashboard --check converges.

Merge order

Merge this before PyAutoLabs/PyAutoMind's companion PR (same branch name): dashboard_refresh.yml regenerates against PyAutoBrain main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xz3vShsEKjEUkRTPo3wHTg


Generated by Claude Code

Follow-up to #232 on feedback from use: the per-task 'copy for Claude'
line doubled the page's height and repeated its label 150+ times. Each
task is now a single collapsed <details> row whose summary IS the task
line — a bare 📋 toggle at the left of the text, then the linked title
and facets — with the fenced /start_dev message hidden beneath it.
Summaries are HTML (markdown does not render inside <summary>), so
titles are escaped, backtick spans become <code>, and links become <a>
tags; contract tests updated to pin the new shape.
@Jammy2211
Jammy2211 merged commit 5384a20 into main Aug 19, 2026
2 checks passed
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.

2 participants