Skip to content

intake dashboard: emit a one-tap-copy HTML twin alongside the markdown page - #235

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

intake dashboard: emit a one-tap-copy HTML twin alongside the markdown page#235
Jammy2211 merged 1 commit into
mainfrom
claude/dashboard-task-copy-button-jw6cet

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

The markdown dashboard's copy path depends on GitHub's code-fence copy button, which the GitHub mobile app does not render at all — there the only way to grab a task's /start_dev command is long-press text selection. GitHub's markdown rendering strips JavaScript, so no static-page fix exists.

What changed

  • intake dashboard --apply now writes dashboard.html next to dashboard.md: one census, two renderings. The twin carries a real copy button per task (navigator.clipboard + textarea fallback, ✓ flash), phone-first inline CSS with dark-mode support, and no external assets.
  • Links are absolute, derived from the Mind's repos.yaml (repos: PyAutoMind: github: <org>/<repo>) — the single source of repo identity, so no tenant org is baked into organ code. Without a repos.yaml the page degrades to relative links and the markdown page skips the Pages pointer.
  • --check drift-checks both pages; the markdown page links the Pages URL for phone use when the home is known.
  • Shared payload logic extracted (_registry_payload) so both renderers emit identical commands.
  • PyAutoMind's companion PR adds the pages_dashboard.yml workflow that serves the twin as its GitHub Pages site.

Testing

  • python3 -m pytest tests/ — 361 passed (4 new: copy button + clipboard script present, absolute links from a fictional-org repos.yaml, Pages pointer only when home known, --check catches html drift).
  • Headless Chromium at phone viewport against the real generated page: 150 buttons, tap → clipboard holds the exact command, ✓ flash then restore, zero page errors.

Merge order

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

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xz3vShsEKjEUkRTPo3wHTg


Generated by Claude Code

…n page

The markdown dashboard's copy path depends on GitHub's code-fence copy
button, which the GitHub mobile app does not render at all — there the
only way to grab a task's /start_dev command is long-press text
selection. GitHub's markdown rendering strips JavaScript, so no static
page fix exists.

'intake dashboard --apply' now writes dashboard.html next to
dashboard.md: one census, two renderings. The HTML twin carries a real
copy button per task (navigator.clipboard + textarea fallback, ✓
flash), phone-first inline CSS with dark-mode support, and absolute
GitHub links derived from the Mind's repos.yaml — the single source of
repo identity, so no tenant org is baked into organ code. --check now
drift-checks both pages. PyAutoMind serves the twin via GitHub Pages
(its pages_dashboard.yml); the markdown page links to it when the home
is known.

Verified headless in Chromium at phone viewport: tap → clipboard holds
the exact command, no page errors.
@Jammy2211
Jammy2211 merged commit 987ce7f into main Aug 19, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the claude/dashboard-task-copy-button-jw6cet branch August 19, 2026 21:57
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