Skip to content

feat(next): updates default doc tab to live preview when enabled #12115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

JessChowdhury
Copy link
Member

@JessChowdhury JessChowdhury commented Apr 15, 2025

What?

Shows the live-preview tab by default when it is enabled.

Why?

Requested feature.

How?

Replaces the default view and path with the live preview view, and moves the edit view to be the second tab associated with an /edit path.

To do

  • Fix metadata title for edit tab

@rilrom
Copy link
Contributor

rilrom commented Apr 15, 2025

Ideally it'd be possible to choose the default view when live preview is enabled.

I know in our case we would prefer live preview not show by default.

@JessChowdhury
Copy link
Member Author

@rilrom absolutely - we will be adding an optional config property for users to opt-in to this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants