Skip to content

Redirect to the correct URL for merged pages #660

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

Merged

Conversation

Mr0grog
Copy link
Member

@Mr0grog Mr0grog commented Dec 15, 2020

When loading page data on the page details view, we might get a redirect from the API because a page was merged. This reflects that redirect in the UI's URL, ensuring that old change links redirect to the same view for the new, merged page.

(Merged pages are new in edgi-govdata-archiving/web-monitoring-db#793.)

When loading page data on the page details view, we might get a redirect from the API because a page was merged. This reflects that redirect in the UI's URL, ensuring that old change links redirect to the same view for the new, merged page.
@Mr0grog Mr0grog merged commit 34b3baf into main Dec 15, 2020
@Mr0grog Mr0grog deleted the reunite-the-spirit-of-pages-past-with-their-new-future branch December 15, 2020 02:37
Mr0grog added a commit that referenced this pull request Dec 15, 2020
Mr0grog added a commit to edgi-govdata-archiving/web-monitoring-ops that referenced this pull request Dec 15, 2020
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