Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add rake tasks for claiming & drafting calculator start page (a transaction) #629
Move the start page for the child tax benefit calculator from calculators to Publisher/Frontend.
This will allow content designers to make changes to the content and will make the page consistent with other start pages.
Steps to switch the start page:
After Publisher has claimed the start page (alphagov/publisher#629) this app will no longer be able to publish to that route. This rake task will error which will prevent the app from being deployable. * Only publish the form * Code to remove start page and refactor content item logic will follow in separate PR
* The path needs to be claimed so that Publisher can publish to it (this will stop Calculators from publishing to that path too) * Draft a start page with content that's currently live * Delete any old artefact owned by calculators so new artefact can be created * Maintain Need IDs * Use existing content_id so that content doesn't need to be unpublished (which would risk users not seeing the page) Steps to switch the start page: * Merge and deploy: alphagov/calculators#185 * Run `claim` rake task * Run `draft` rake task * Preview draft, send to review, skip review then publish