-
Notifications
You must be signed in to change notification settings - Fork 0
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 Information Page #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great start!
Added a few notes and suggestions as a first pass.
cms/standard_pages/migrations/0002_rename_body_informationpage_content.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work both 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of small changes needed (but lovely first feature 💪🏼 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing else that's not already been raised.
👍
Addition of InformationPage class in models Changes to InformationPage class models Front end creation Addition of template location and minor changes on information_page template for testing Added cms.standard_pages to installed_apps Updated apps.py for standard_pages to be similar to pre-existing apps Modified InformationPage in models Updated template for informationPage Modified models for standard_pages Modified front end working branch
…nformation page tweaked
…hortened and migration file regenerated
…d to reflect the InformationPage model changes
…ired to be entered by the user
* Add the Contact Details snippet https://jira.ons.gov.uk/browse/CMS-80 * Add a basic table block * Add the release calendar app with models * Programmatically create the release calendar index * Add the basic templates * Add a base form class for easier validation * Add icons to the various panels * Add validation logic * Update templates * Add tests * Expand core tests * Expand coverage configuration adds a few extra files to the ignore. and explicitly filters the RemovedInDjango60Warning * Tidy up based on code review * Prevent release calendar page deletion through the UI * Move the changes to the release date below contact details e.g. https://www.ons.gov.uk/releases/disabilitypaygapsintheuk2014to2023 * Fail if under 90% test coverage
Moved parent_page code Removed extra blank lines for lint.py
* Comment out the scheduler image * Remove scheduler from Procfile
* Add skeleton models for Theme / Topic pages * Add base analysis series and page models * Use a custom icon for the contact detail snippet * Update the StreamField block template to pass the block ID to its children * Set parent/subpage types for the new page models * Wire in the analysis page template * Add series functionality (latest/previous releases) * Add tests and fail if coverage under 90% * Tidy up based on code review * Make the accredited / census blocks separate includes * Include changes to release dates when status is confirmed * Allow setting the release date when switching to confirmed * Only allow release date or text, not both * Prevent release calendar page deletion through the UI * Move the changes to the release date below contact details e.g. https://www.ons.gov.uk/releases/disabilitypaygapsintheuk2014to2023 * Switch to using a StreamField for the release page related links * Disable the "too-few-public-methods" pylint check globally * Make the equation/ONS embed check reusable Addition of equation partials Deleted media files and made lint, format test pass Repeated code remove, /media added to .gitignore, media file removed Check tests pass Custom sign commit
034f54b
to
5017772
Compare
What is the context of this PR?
JIRA Ticket: https://jira.ons.gov.uk/browse/CMS-179
Create an Information Page model in Wagtail CMS to allow content editors to manage structured information pages.
Changes and Additions
How to review
Create an information page
localhost:8000
localhost:8000/admin
Information Page Example
Follow-up Actions
List any follow-up actions (if applicable), like needed documentation updates or additional testing.