diff --git a/docs/changelog-claude.md b/docs/changelog-claude.md index 5ab2027..a396a97 100644 --- a/docs/changelog-claude.md +++ b/docs/changelog-claude.md @@ -24,8 +24,13 @@ This file documents all changes made to this project via Claude Code. - Two-stage delete: soft delete (audit trail) → permanent delete (database cleanup) - Prevents accidental permanent deletion (requires item to be soft-deleted first) - Security: non-admin users cannot view deleted items or their attachments (404 response) +- Added copy ticket button (⧉) to Job Details page modal for quickly copying ticket numbers to clipboard (previously only available on Run Checks page) ### Fixed +- Fixed cross-browser clipboard copy functionality for ticket numbers (previously required manual copy popup in Edge browser) + - Implemented three-tier fallback mechanism: modern Clipboard API → legacy execCommand('copy') → prompt fallback + - Copy button now works directly in all browsers (Firefox, Edge, Chrome) without requiring user interaction + - Applied improved copy mechanism to both Run Checks and Job Details pages - Fixed Autotask ticket not being automatically linked to new runs when internal ticket is resolved by implementing independent Autotask propagation strategy (now checks for most recent non-deleted and non-resolved Autotask ticket on job regardless of internal ticket status, ensuring PSA ticket reference persists across runs until explicitly resolved or deleted) - Fixed internal and Autotask tickets being linked to new runs even after being resolved by removing date-based "open" logic from ticket query (tickets now only link to new runs if they are genuinely unresolved, not based on run date comparisons) - Fixed Job Details page showing resolved tickets for ALL runs by implementing two-source ticket display: directly linked tickets (via ticket_job_runs) are always shown for audit trail, while active window tickets (via scope query) are only shown if unresolved, preserving historical ticket links while preventing resolved tickets from appearing on new runs