fix: contain attachment previews in chat panel #1841

Merged
hongming merged 1 commits from fix/panel-contained-attachment-preview into main 2026-05-25 08:48:17 +00:00
Owner

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

## 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
hongming added 1 commit 2026-05-25 08:46:51 +00:00
fix: contain attachment previews in chat panel
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
E2E API Smoke Test / E2E API Smoke Test (pull_request) Blocked by required conditions
E2E Chat / E2E Chat (pull_request) Blocked by required conditions
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Blocked by required conditions
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Blocked by required conditions
Harness Replays / Harness Replays (pull_request) Blocked by required conditions
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 9s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 4s
CI / Detect changes (pull_request) Successful in 6s
E2E API Smoke Test / detect-changes (pull_request) Successful in 15s
E2E Chat / detect-changes (pull_request) Successful in 14s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 18s
Harness Replays / detect-changes (pull_request) Successful in 17s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 16s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 5s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 20s
security-review / approved (pull_request) Successful in 11s
sop-checklist / review-refire (pull_request) Has been skipped
sop-checklist / all-items-acked (pull_request) Successful in 10s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 13s
qa-review / approved (pull_request) Successful in 13s
gate-check-v3 / gate-check (pull_request) Successful in 13s
sop-tier-check / tier-check (pull_request) Successful in 7s
audit-force-merge / audit (pull_request) Successful in 13s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m11s
CI / all-required (pull_request) Failing after 40m33s
CI / Shellcheck (E2E scripts) (pull_request) Has been cancelled
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Platform (Go) (pull_request) Has been cancelled
CI / Canvas (Next.js) (pull_request) Has been cancelled
efb87d6228
Author
Owner

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.

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.
hongming merged commit 8e97765a30 into main 2026-05-25 08:48:17 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1841