-
Notifications
You must be signed in to change notification settings - Fork 189
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
Remove publication templates #3370
Conversation
7e82885
to
b3c3b56
Compare
|
||
<div class="block-2 heading-block"> | ||
<div class="inner-block"> | ||
<%= render partial: "documents/attachment_full_width", |
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.
Can this partial also be removed? Looks like it was only referenced on publications and statistics.
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.
Removed and rebased.
Just the one thing I've found that could also be removed. 👍 💯 |
We can no longer test these changes are reflected on the show page, but we can still check the data has changed.
We can no longer test these changes are reflected on the show page, but we can still check the data has changed.
The show page no longer exists.
This feature is about to be removed as it will be handled via the draft stack. This feature was failing after removing publications#show there’s not much point fixing it.
We can no longer test these changes are reflected on the show page, but we can still check the data has changed.
We can no longer test these changes are reflected on the show page, but we can still check the data has changed.
We converted this to an admin feature that checks the data has been updated correctly in the database.
We converted this to an admin feature that checks the data has been updated correctly in the database.
We converted this to an admin feature that checks the data has been updated correctly in the database.
Attachments are far more thoroughly tested in features/edition-attachments.feature. The feature we removed relied on publications#show which no longer exists.
These features don’t interact with Whitehall admin, they directly set up data then visit the publications#show page to assert things. This page is now being served by government frontend so these feature can be removed.
b3c3b56
to
69ebea7
Compare
Deployed to integration. Everything looks ok. Merging. |
https://trello.com/c/kfyYY4tf/73-9-publications-migration-final-tasks-deploy-2-05-days
The rendering of these pages is now handled by government-frontend. This work removes this code from Whitehall and re-works some of the tests to equivalently test the things where assertions were previously made against these views.
It's probably easiest to review this commit-by-commit and read the commit messages.
The supersedes #3136 which deleted more code than was necessary.