commit-detail.ts
typescript
sha256:da49a05fd62cda46a7d73ec53a8d0adc5835d2070f6f0c51b12233a673c2e109
docs(mwp-1): mark Phase 5 complete, all acceptance criteria…
Sonnet 4.6
25 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
1 commit
sha256:da49a05fd62cda46a7d73ec53a8d0adc5835d2070f6f0c51b12233a673c2e109
docs(mwp-1): mark Phase 5 complete, all acceptance criteria…
Sonnet 4.6
25 days ago