fix: contain attachment previews in chat panel #1841
Reference in New Issue
Block a user
Delete Branch "fix/panel-contained-attachment-preview"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n- keep chat attachment lightboxes inside the side-panel tab instead of covering the canvas\n- size PDF iframe previews to the panel container\n- update attachment preview tests for contained iframe behavior\n\n## Tests\n- npm test -- AttachmentLightbox.test.tsx AttachmentPDF.test.tsx AttachmentImage.test.tsx AttachmentPreview.test.tsx\n- npm run build
Manual verification for this focused frontend-only fix:\n\n- npm test -- AttachmentLightbox.test.tsx AttachmentPDF.test.tsx AttachmentImage.test.tsx AttachmentPreview.test.tsx\n- npm run build\n- git diff --check\n- static secret-pattern scan on PR diff: no matches\n- dependency files changed: none\n\nThe queued Gitea status rows are still waiting/blocked, but the PR only changes chat preview layout/tests.