1
App ecosystem: inline document preview inside record pages (DocumentViewer is modal-only)
Source: twentyhq/twenty#23093 · opened by @irixzafra
Use case We're building an ATS as a Twenty App. A recruiter needs to read a candidate's CV (PDF) while taking notes and running actions on the same record page — i.e. the document must be visible *inline and persistent*, side-by-side with the record, not in a blocking overlay. What already exists Twenty ships a capable host-side DocumentViewer (@cyntler/react-doc-viewer, PDF + ~11 formats). But it's only reachable through GlobalFilePreviewModal — clicking a file opens a modal, which blocks interaction with the record underneath. There's no native way to embed that viewer *inline* in a record page. The gap for App builders The natural place to put an inline viewer from an App is a FrontComponent, but the Remote DOM sandbox (correctly) forces sandbox on the FC iframe, and in our testing Chrome's native PDF viewer refuses to initialize inside any sandboxed iframe — so a real PDF can't render inside an FC. Today the only inline workaround is rasterizing …
No pledges yet. Be the first to back this.
Comments
Similar requests
Feature request: interpolate record-context variables in IFRAME page-layout widget URLs (e.g. {{record.id}}, {{record.fieldName}})
1 vote · 0 comments
Workflow: allow simple inline functions in variable fields (coalesce/ifnull/lower/trim/concat…)
2 votes · 0 comments
(UX) File Gallery: Inline Renaming & Quick Deletion
1 vote · 0 comments
Attach an email to a person
3 votes · 0 comments
Option to change the Record label for display
1 vote · 0 comments
No comments yet.