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

WIP - add tasks to publish history pages content object #9487

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KludgeKML
Copy link
Contributor

@KludgeKML KludgeKML commented Oct 1, 2024

Currently, the history pages are published by government frontend - this can't simply be replaced with special routes in Publishing API because the contents of the page have to go into the content store to be searchable. The current solution is for them to be published directly from the frontend app, and it's a bit of a mess (there's ERB code in the body). We want to move rendering over to Frontend, but it would be better if we could make the content item a bit more rational, and publish them from an app (Whitehall) - This would also serve as a first step to it having a UI that content people can use to make edits (if it turns out that is necessary).

Unsolved problems:

  • neither history nor generic schemas will allow this to work (ideally we'd want a header image and an array of in-page navigation links)
  • how do we put images in (do we include them in the same file as the yaml, publish them as assets and then insert them as image govspeak tags?)

Related to:
https://trello.com/c/g3oNeSDH/199-move-document-type-history-from-government-frontend-to-frontend
https://trello.com/c/hJVUjqbs/1242-frontend-apps-publish-content-items-to-publishing-api

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

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

Successfully merging this pull request may close these issues.

1 participant