Skip to content

feat(web): render HTML and PDF files in the file viewer - #9143

Merged
juliusmarminge merged 2 commits into
t3code/open-outside-workspace-filesfrom
t3code/html-preview-in-panel
Sep 2, 2026
Merged

juliusmarminge merged 2 commits into
t3code/open-outside-workspace-filesfrom
t3code/html-preview-in-panel

fix(web): classify PDFs like other browser previews

4f990b7
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Effect Service Conventions succeeded Sep 2, 2026 in 28s

Effect Service Conventions: no violations found

All clear

Details

Note

Your check run agent prompt is: .macroscope/check-run-agents/effect-service-conventions.md
More information about how Check Run Agents work can be found in our Help Center.


🔍 Agent activity — 2 tool calls

💭 This is a React component change, not an Effect service. I'm checking the oxlint suppression comment for the iframe sandbox rule — there's already an adjacent comment explaining that the PDF viewer needs an unsandboxed frame since PDFs don't run scripts, which satisfies the requirement. Now I want to check if Schema is imported from the consolidated "effect" package or from a separate schema module in this file.

1. browse_code — apps/web/src/components/files/FilePreviewPanel.tsx

2. browse_code — apps/web/src/components/files/FilePreviewPanel.tsx

💭 I don't see any Effect service code here, and the lint suppression has proper explanation attached, so there's nothing flagged. Since there are no findings, I'll produce a JSON response with a success state and "All clear" summary, satisfying the required output schema.


Agent Credits: 28 credits

Token usage: 4 uncached input · 31,074 cache-read input · 35,857 cache-write input · 885 output
Agent Credits may also include non-token charges from external tools such as web research.