gabriel / musehub public
commit-detail.ts typescript
9 lines 319 B
Raw
sha256:20b27796ed512236119feef48b4577a8fd9ded05a15267dd4e6da23604ad1f1a docs: update Suggested Ownership Split table to reflect ful… Sonnet 5 30 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 3 commits
sha256:20b27796ed512236119feef48b4577a8fd9ded05a15267dd4e6da23604ad1f1a docs: update Suggested Ownership Split table to reflect ful… Sonnet 5 30 days ago
sha256:8ea2f75226d5834770ccaddbaa6efda1cc337446fd481bb385de8bec4555ae79 docs: Section 9 CI pipeline — confirm job queue is idempote… Sonnet 5 30 days ago
sha256:80e1a60a39562f6e616aaafbb27487f03abbec7d8ffc6164302b7a0c0bfc63ee docs: check off Section 0 items verified in inventory doc, … Sonnet 5 30 days ago