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

Move case studies routes #4372

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Move case studies routes #4372

wants to merge 11 commits into from

Conversation

georges1996
Copy link
Contributor

@georges1996 georges1996 commented Nov 4, 2024

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

This PR #4379 needs to be merged in and this will need to be rebased to fix the case studies which have translations e.g https://www.gov.uk/government/case-studies/doing-business-in-spain

What

Handle Case Studies documents in Frontend, in preparation for them being taken out of Government Frontend

Why

Ticket: https://trello.com/c/ybpXwp34/368-move-document-type-casestudy-from-government-frontend-to-frontend

How

By moving the routes and necessary code to get the pages rendering in the frontend application

Screenshots?

Frontend

Screenshot 2024-11-06 at 08 22 40 Screenshot 2024-11-06 at 08 23 02

Gov-Frontend

Screenshot 2024-11-06 at 08 22 34 Screenshot 2024-11-06 at 08 22 54

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 20:26 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 20:28 Inactive
@georges1996 georges1996 changed the title Move case studies documents Move case studies routes Nov 4, 2024
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 20:38 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 20:42 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 20:54 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 20:59 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 21:01 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 21:10 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 21:13 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 21:19 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 4, 2024 21:28 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 07:11 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 07:16 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 07:23 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 12:27 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 12:51 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 13:04 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 5, 2024 13:15 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 08:30 Inactive
@govuk-ci govuk-ci had a problem deploying to govuk-frontend-app-pr-4372 November 6, 2024 08:36 Failure
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 08:46 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 14:36 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 14:55 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 15:01 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 15:23 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 15:28 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 15:32 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-4372 November 6, 2024 17:47 Inactive
@georges1996 georges1996 marked this pull request as ready for review November 6, 2024 17:49
- To use the Withdrawable concern
- To expose first_published_at and first_public_at attributes
Using govuk-docker-run rake "consolidation:copy_translation[content_item.schema_name.case_study]"
we port over the case_study translations and change it to be under our new yaml structure

Audit trail:
- https://github.com/alphagov/government-frontend/tree/0aee348d51cebacd5344115f2ca02bdb17095249/config/locales
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.

2 participants