-
Notifications
You must be signed in to change notification settings - Fork 20
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
georges1996
wants to merge
11
commits into
main
Choose a base branch
from
move-case-studies-pages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Move case studies routes #4372
+806
−12
Conversation
This file contains 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
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 4, 2024 21:01
4b79f76
to
5736b90
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 4, 2024 21:27
dbc0da6
to
f4d9f5d
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 5, 2024 12:50
aee5af8
to
6d4592f
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 5, 2024 13:03
6d4592f
to
40db71b
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 5, 2024 13:15
40db71b
to
a368c2c
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 6, 2024 14:36
e8d36b1
to
0d5579a
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 6, 2024 14:55
0d5579a
to
dc0a31b
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 6, 2024 15:00
dc0a31b
to
637866e
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 6, 2024 15:23
637866e
to
d196c65
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 6, 2024 15:27
d196c65
to
4cd21ec
Compare
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 6, 2024 17:46
46cbb38
to
d7b8472
Compare
Commit audit trail: - https://github.com/alphagov/government-frontend/blob/a938e4bee78b794e4e5303a1bde1dfd05e94b287/app/presenters/content_item/withdrawable.rb - https://github.com/alphagov/government-frontend/blob/a938e4bee78b794e4e5303a1bde1dfd05e94b287/test/presenters/content_item/withdrawable_test.rb
…e studies Commit audit trail: - https://github.com/alphagov/government-frontend/blob/a938e4bee78b794e4e5303a1bde1dfd05e94b287/app/presenters/content_item_presenter.rb - https://github.com/alphagov/government-frontend/blob/a938e4bee78b794e4e5303a1bde1dfd05e94b287/test/presenters/content_item_presenter_test.rb - https://github.com/alphagov/government-frontend/blob/a938e4bee78b794e4e5303a1bde1dfd05e94b287/app/helpers/application_helper.rb - https://github.com/alphagov/government-frontend/blob/a938e4bee78b794e4e5303a1bde1dfd05e94b287/test/helpers/application_helper_test.rb
- To use the Withdrawable concern - To expose first_published_at and first_public_at attributes
Commit audit trail: - https://github.com/alphagov/government-frontend/blob/0aee348d51cebacd5344115f2ca02bdb17095249/app/presenters/case_study_presenter.rb - https://github.com/alphagov/government-frontend/blob/0aee348d51cebacd5344115f2ca02bdb17095249/app/views/content_items/case_study.html.erb - https://github.com/alphagov/government-frontend/blob/0aee348d51cebacd5344115f2ca02bdb17095249/test/integration/case_study_test.rb - https://github.com/alphagov/government-frontend/blob/0aee348d51cebacd5344115f2ca02bdb17095249/test/presenters/case_study_presenter_test.rb - https://github.com/alphagov/government-frontend/blob/0aee348d51cebacd5344115f2ca02bdb17095249/config/routes.rb
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
georges1996
force-pushed
the
move-case-studies-pages
branch
from
November 7, 2024 14:02
d7b8472
to
aa1cd27
Compare
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.
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
Gov-Frontend