Open
Conversation
cms/dashboard/templates/wagtailadmin/pages/action_menu/frontend_preview.html
Show resolved
Hide resolved
11c4f24 to
46d2401
Compare
Enable page previews to the configured frontend URL
46d2401 to
23231b1
Compare
update docs update indentation in _quality.sh
Revert _tests.sh filesystem mode to 0644
Fix import statements in tests!
updates to tests to cover all paths (as requested in PR)
Fix Sonar issues with datetime picker
updated tests to use G Docstrings and BDD approach
Remove redundant getters for env vars
100% code coverage
"Set now" embargo time is now part of the datetime picker
fix date picker
Rework eye graphic for preview button
Remove clock graphic - no longer in use
Fix datetime picker control visibility Ensure accessibility is covered
Update changelog document
Update markdown
Fix sonar issue related to ARIA compliance
Datepicker accessibility
Security hardening for redirect API
Bolster redirect API Add comments to provide justification for exposing this endpoint
fix tests
linting
fix linter issues
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
CDD-1379 - Page Previews
Date: 2026-02-27
Ticket: https://ukhsa.atlassian.net/browse/CDD-1379?search_id=055fe61d-bee9-48d9-80bc-ffb0f1c26b76&referrer=quick-find
Authors: Jean-Pierre Fouche
Impact: Affects all pages - broad testing required
Testing: Comprehensive unit tests supplied. UAT needed.
Summary
Allow editors of headless composite pages to click a Preview button that immediately redirects them to the external frontend application, rather than opening the built-in Wagtail iframe preview. Preview URLs include a short-lived signed token so the frontend can safely fetch draft content from the CMS.
Additionally, allow users to select to "Time Travel" by selecting a virtual date in order to preview otherwise embargoed data.
... Continued in changelog/2026-02-27/CDD-1379.page-previews.md
Fixes #CDD-1379
Type of change
Please select the options that are relevant.
Checklist: