intake dashboard: fold the copy toggle into the task row itself - #234
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
<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.<summary>), so_summary_labelHTML-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_itemcollapse into one_task_rowhelper;_labelis gone.<code>translation, and that no</details>can swallow the next row.Testing
python3 -m pytest tests/— 357 passed.PyAutoMind/dashboard.md(150 task rows);dashboard --checkconverges.Merge order
Merge this before PyAutoLabs/PyAutoMind's companion PR (same branch name):
dashboard_refresh.ymlregenerates against PyAutoBrain main.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xz3vShsEKjEUkRTPo3wHTg
Generated by Claude Code