intake dashboard: emit a one-tap-copy HTML twin alongside the markdown page - #235
Merged
Merged
Conversation
…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.
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.
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_devcommand is long-press text selection. GitHub's markdown rendering strips JavaScript, so no static-page fix exists.What changed
intake dashboard --applynow writesdashboard.htmlnext todashboard.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.repos.yaml(repos: PyAutoMind: github: <org>/<repo>) — the single source of repo identity, so no tenant org is baked into organ code. Without arepos.yamlthe page degrades to relative links and the markdown page skips the Pages pointer.--checkdrift-checks both pages; the markdown page links the Pages URL for phone use when the home is known._registry_payload) so both renderers emit identical commands.pages_dashboard.ymlworkflow 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-orgrepos.yaml, Pages pointer only when home known,--checkcatches html drift).Merge order
Merge before PyAutoLabs/PyAutoMind's companion PR (same branch name) — its
dashboard_refresh.ymlcheck regenerates against PyAutoBrain main.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xz3vShsEKjEUkRTPo3wHTg
Generated by Claude Code