commit-detail.ts
typescript
sha256:c73281cffffbc70487969720af074e54b34326d59ec6aff0827fa16512a4e512
docs(mwp-2): mark all acceptance criteria met; add closing …
Sonnet 4.6
81 days ago
| 1 | export function initCommitDetail(): void { |
| 2 | const btn = document.querySelector<HTMLButtonElement>('.cmt-copy-btn'); |
| 3 | const shaEl = document.getElementById('cmt-sha'); |
| 4 | if (!btn || !shaEl) return; |
| 5 | const sha = shaEl.title; |
| 6 | btn.addEventListener('click', () => { |
| 7 | void navigator.clipboard.writeText(sha); |
| 8 | }); |
| 9 | } |
File History
2 commits
sha256:c73281cffffbc70487969720af074e54b34326d59ec6aff0827fa16512a4e512
docs(mwp-2): mark all acceptance criteria met; add closing …
Sonnet 4.6
81 days ago
sha256:4dd2a937f66f8e36d9aa59bd1bf3cb880ca1d503fef67300a0cba3b482784081
test(mwp2): Phase 0 RED — reproduction tests for _walk_comm…
Sonnet 4.6
81 days ago