Skip to content
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

Add Preview Button to contentlet #30797

Open
Tracked by #30012
oidacra opened this issue Nov 27, 2024 · 0 comments
Open
Tracked by #30012

Add Preview Button to contentlet #30797

oidacra opened this issue Nov 27, 2024 · 0 comments

Comments

@oidacra
Copy link
Member

oidacra commented Nov 27, 2024

Parent Issue

#30012

User Story

As a content editor, I want to have a preview button in the contentlet interface, so I can quickly preview how my content will look before publishing it.

Acceptance Criteria

  • Add a preview button/link in the contentlet interface
  • Preview button should only be visible when:
    • Content type supports preview functionality
    • Content already exists (not in creation mode)
    • User has appropriate preview permissions (double-check this)
  • When clicked, preview should open in a new window using the format:
    /dotAdmin/#/edit-page/content with appropriate query parameters:
    • url (encoded content URL)
    • language_id
    • host_id
    • persona id parameters
  • Preview should accurately render the content as it would appear when published

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

External Links

N/A

Assumptions & Initiation Needs

  • Preview functionality must be properly configured in the system

Quality Assurance Notes & Workarounds

Test cases should include:

  • Preview visibility with different content types
  • Preview functionality in create vs edit modes
  • Preview with different user permission levels
  • Proper URL generation for different content types
@oidacra oidacra changed the title Implement Preview Action Link Add Preview Button to contentlet Nov 27, 2024
@oidacra oidacra moved this from New to Next 1-3 Sprints in dotCMS - Product Planning Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Next 1-3 Sprints
Development

No branches or pull requests

1 participant