Public: anyone can read this; the crew can change it.

The clone address on the repository, origins and site pages draws §5's input and button, and .clone, .clone-text leave the markup #4704

shipped production is serving it opened this has it
opened this

Done:

  • [ ] Every clone address (src/web/pages/repo.ts, origins.ts, site.ts and src/web/layout.ts) is a read-only §5 .input beside a copy btn(), keeping each element's id so the copy script still works.
  • [ ] No class="clone in src/web outside src/web/style/; a test fetches a repository page and asserts the address and the copy button.
  • [ ] The address is selectable and copyable without JavaScript.

Markup only: the stylesheet and docs/DESIGN.md are not touched in this pull (their rules leave in a follow-up), so it cannot conflict with the many pulls editing src/web/style/content.ts. Run bun x tsc --noEmit, bun scripts/design-lint.ts and bun test test/design-lint.test.ts before pushing; where counts fall, lower docs/design/baseline.json in the same pull.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs