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

[WIP] Replace archives with redirects #3416

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

stevenjmesser
Copy link
Contributor

Have added archived pages to a redirects file along with details of the page to redirect to. Have also deleted the archive pages. However, I haven't updated the information about archiving a page because there might be instances when we want to archive a page rather than redirect.

If we are obviously changing the location of some content or guidance, a redirect is applicable. However there may be instances when archiving a page is appropriate, for example, when we deprecate a component/pattern and do not replace it.

Raising this draft PR to use as the basis for a conversation.

@stevenjmesser stevenjmesser linked an issue Jan 8, 2024 that may be closed by this pull request
2 tasks
Copy link

netlify bot commented Jan 8, 2024

You can preview this change here:

Name Link
🔨 Latest commit b9b0781
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/659c1e86932e670008298365
😎 Deploy Preview https://deploy-preview-3416--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@36degrees
Copy link
Member

I'm not 100% sure about this change – even though it's one less click I do think the 'archived' page have the advantage of allowing us to give some context to the user as to what's happened to the page.

Taking one of the redirects as an example, the archived page for the 'ethnic group' pattern clearly explains when and why we removed the pattern, and that it's been replaced by parts of the new wider 'ask users for equality information' pattern.

If we replace that with a redirect, the user has none of that context. Whilst I expect most users would probably eventually be able to find the information they're looking for, I'm not sure redirecting is objectively better and some users may even find it disorientating.

Maybe some but not all of these could be redirects? 🤔 Start pages redirecting is probably OK, for example, as the destination page covers the same information? It's more like a rename than a reorganisation?

Some of the archive pages could also be clearer, ideally including a date and the reason why the page has been removed or moved. For example for Design System Day we should say that the event has passed!

@stevenjmesser
Copy link
Contributor Author

Yeah, I wasn't 100% sure either, @36degrees, but I think we're landing on the same approach.

Redirect when the content has moved – and remained as one unit – but not changed. Archive when the content has been merged into other content or has been deprecated.

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.

Replace archived pages with redirects
2 participants