Affected Apps / Packages
Portfolio (apps/portfolio)
Metadata
- Suggested Branch: feat/portfolio-preview-editor-button
- Suggested PR Title: [Feature] [Portfolio]: Add direct open in editor floating button to preview
Is your feature request related to a problem?
Yes. When testing templates or previewing drafts in full-page mode, users must manually type the dashboard URL or click back to return to the editor.
Describe the solution you'd like
Show a floating action button on the preview page /preview/[documentId] that links directly to /editor.
- The button should only be visible when the preview page is not embedded inside an iframe (
window.self === window.top).
- It should use a clean, glassmorphic styling at the bottom right of the screen.
Describe alternatives you've considered
No response
Additional Context
No response
Affected Apps / Packages
Portfolio (apps/portfolio)
Metadata
Is your feature request related to a problem?
Yes. When testing templates or previewing drafts in full-page mode, users must manually type the dashboard URL or click back to return to the editor.
Describe the solution you'd like
Show a floating action button on the preview page
/preview/[documentId]that links directly to/editor.window.self === window.top).Describe alternatives you've considered
No response
Additional Context
No response