Skip to content

fix(docs): make Blueprint job examples independently copyable - #193

Merged
drewstone merged 1 commit into
mainfrom
fix/docs-code-mobile-copy-20261002
Oct 2, 2026
Merged

drewstone merged 1 commit into
mainfrom
fix/docs-code-mobile-copy-20261002

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Copying the Jobs examples currently leaves out imports, handler definitions and job IDs. Both blocks now contain everything they reference, using the shared CodeDisplay introduced in #190 and the existing pinned Incredible Squaring source.

The registration example keeps the source's single square route. Code strings live in a TypeScript module so MDX does not remove indentation.

Checked the real rendered page at 1440×1000 and 390×1000, light/dark themes, exact clipboard text including indentation, code-region keyboard focus/scrolling and no page overflow. Imports, handler, constant and route match the pinned SDK source. Changed-file Prettier and normal hooks passed. A separate Cargo compilation was not run.

Example Desktop before / after Phone before / after
Handler Before · After Before · After
Registration Before · After Before · After

Dark theme · Mobile copy interaction, normal speed · Uncut WebM original · Clipboard proof.

Before is the served Jobs page; after is the actual changed Next dev page. Review media stays outside app and public directories. Production verification remains for delivery after merge.

@tangletools tangletools 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.

✅ Auto-approved PR — 7f972697

Blanket team auto-approval is intentional. This is not a code review.
No automated review runs on this PR. This approval rests on the rule above alone.

tangletools · auto-approval · reason: blanket_auto_approve · 2026-10-02T09:02:00Z

@netlify

netlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for tangle-docs ready!

Name Link
🔨 Latest commit 7f97269
🔍 Latest deploy log https://app.netlify.com/projects/tangle-docs/deploys/6abf73075ac056000776f668
😎 Deploy Preview https://deploy-preview-193--tangle-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@drewstone
drewstone merged commit 65ef0eb into main Oct 2, 2026
4 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