Take over the Preview button

Created on 21 February 2023, over 1 year ago
Updated 28 February 2023, over 1 year ago

Problem/Motivation

Once we have a side-by-side preview button working, we want to take over the preview button's behavior so that it either renders the preview in our iFrame or is clearer about how it be rendering a full preview in a separate page.

Steps to reproduce

1. View page with preview
2. Click preview button
3. Observe that you've been navigated away from the edit page.

Proposed resolution

This work might be a part of ✨ Move Preview controls to edit page Fixed , where we aim to move the preview controls out of the preview pane and into the node edit page. While doing that work, we might just add a preview-in-new-page button that makes it clear you're getting a full-page preview.

Then make it clear what button allows the user to refresh the iframe and which button pops the user out. In the future we'll have more dynamic means of refreshing the iframe (when a user edits a field). And further in the future we'll shoot for real-time / reactive edits of field and text.

Remaining tasks

Plan how we'll handle refreshing the preview

User interface changes

New buttons?

πŸ“Œ Task
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cosmicdreams Minneapolis/St. Paul

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024