Skip to content

Commit 6ee6f61

Browse files
committedAug 26, 2022
Adds redirects for any pattern that is also known as (i.e. has an aka). [Amends #1038]
1 parent 8ad82a9 commit 6ee6f61

13 files changed

+38
-12
lines changed
 

‎Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ gem "minima", "~> 2.0"
2525
group :jekyll_plugins do
2626
gem "jekyll-feed", "~> 0.6"
2727
gem "jekyll-last-modified-at"
28+
gem 'jekyll-redirect-from'
2829
end
2930

3031
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

‎Gemfile.lock

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ GEM
3535
jekyll-last-modified-at (1.3.0)
3636
jekyll (>= 3.7, < 5.0)
3737
posix-spawn (~> 0.3.9)
38+
jekyll-redirect-from (0.16.0)
39+
jekyll (>= 3.3, < 5.0)
3840
jekyll-sass-converter (2.2.0)
3941
sassc (> 2.0.1, < 3.0)
4042
jekyll-seo-tag (2.8.0)
@@ -82,6 +84,7 @@ DEPENDENCIES
8284
jekyll (~> 4.2.2)
8385
jekyll-feed (~> 0.6)
8486
jekyll-last-modified-at
87+
jekyll-redirect-from
8588
minima (~> 2.0)
8689
sass-embedded (~> 1.0.0.pre.beta.4)
8790
tzinfo-data

‎_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ markdown: kramdown
3939
highlighter: none
4040
plugins:
4141
- jekyll-last-modified-at
42+
- jekyll-redirect-from
4243

4344
source: src
4445

‎src/_patterns/ask-users-for/a-mutually-exclusive-answer.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
layout: pattern
3+
title: A mutually exclusive answer
34
permalink: /patterns/ask-users-for/a-mutually-exclusive-answer
4-
sub-section: ask-users-for
5+
redirect_from:
6+
- /patterns/forms/all-or-none-of-the-above
57
aka: All or none of the above
6-
title: A mutually exclusive answer
8+
sub-section: ask-users-for
79
intro-text: "In some questions, either none of the options or all of them may apply to the user. Here is how to design responses for that instance."
810
status: use-deployed
911
anchors:

‎src/_patterns/ask-users-for/feedback.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
layout: pattern
33
title: Feedback
44
permalink: /patterns/ask-users-for/feedback
5+
redirect_from:
6+
- /patterns/feedback
57
sub-section: ask-users-for
68
intro-text: VA asks users of VA.gov for feedback via a feedback button and form provided by Medallia.
79
contributors: Ian McCullough (VSP Contact Center)

‎src/_patterns/ask-users-for/files.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
layout: pattern
3-
permalink: /patterns/ask-users-for/files
4-
sub-section: ask-users-for
53
title: Files
4+
permalink: /patterns/ask-users-for/files
5+
redirect_from:
6+
- /patterns/forms/file-upload
67
aka: File upload
8+
sub-section: ask-users-for
79
intro-text: "Follow this pattern to help users select and upload a file."
810
status: use-deployed
911
anchors:

‎src/_patterns/ask-users-for/multiple-responses.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
layout: pattern
3+
title: Multiple responses
34
permalink: /patterns/ask-users-for/multiple-responses
4-
sub-section: ask-users-for
5+
redirect_from:
6+
- /patterns/forms/list-and-loop
57
aka: List & Loop
6-
title: Multiple responses
8+
sub-section: ask-users-for
79
intro-text: "Follow this pattern in forms when we need to collect more than one response from a user."
810
status: use-deployed
911
anchors:

‎src/_patterns/help-users-to/check-answers.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
layout: pattern
3+
title: Check answers
34
permalink: /patterns/help-users-to/check-answers
5+
redirect_from:
6+
- /patterns/forms/review
47
sub-section: help-users-to
5-
title: Check answers
68
intro-text: "Follow this pattern to help users check their answers before submitting a form."
79
status: use-deployed
810
anchors:

‎src/_patterns/help-users-to/check-personal-information.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
layout: pattern
33
title: Check personal information
4+
permalink: /patterns/help-users-to/check-personal-information
5+
redirect_from:
6+
- /patterns/authenticated-info-list
47
aka: Authenticated info list
58
sub-section: help-users-to
69
intro-text: "This pattern helps users quickly see a list of items related to their own personal information, as well as quickly navigate to answers to the questions they might have."

‎src/_patterns/help-users-to/complete-a-sub-task.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
layout: pattern
33
permalink: /patterns/help-users-to/complete-a-sub-task
4+
redirect_from:
5+
- /patterns/forms/sub-task
46
sub-section: help-users-to
57
title: Complete a sub task
68
aka: Sub-task, Wizard

‎src/_patterns/help-users-to/navigate-a-long-list.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
layout: pattern
3-
permalink: /patterns/help-users-to/navigate-a-long-list
4-
sub-section: help-users-to
53
title: Navigate a long list
4+
permalink: /patterns/help-users-to/navigate-a-long-list
5+
redirect_from:
6+
- /patterns/show-more-options
67
aka: Show more options
8+
sub-section: help-users-to
79
contributors: Peter Russo (VAOS)
810
added: 7/5/2022
911
intro-text: Allows users to navigate and process a long list of items by progressively displaying additional items as needed.

‎src/_patterns/help-users-to/navigate-benefit-applications.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
layout: pattern
33
title: Navigate benefit applications
4-
aka: Benefit applications
54
permalink: /patterns/help-users-to/navigate-benefit-applications
5+
redirect_from:
6+
- /patterns/benefit-applications
7+
aka: Benefit applications
68
sub-section: help-users-to
79
status: use-deployed
810
intro-text: "Users can apply for benefits in any of the benefit hubs on VA.gov. The policies and regulations around these benefits are very complex, and users often have difficulty determining if they are eligible, what they need to provide, and what to expect after they've submitted their application. For these reasons, Benefit applications, as a pattern, is divided into four distinct \"epics\" that help users navigate the process from start to finish."

‎src/_patterns/help-users-to/recover-from-errors.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
layout: pattern
3-
permalink: /patterns/help-users-to/recover-from-errors
4-
sub-section: help-users-to
53
title: Recover from errors
4+
permalink: /patterns/help-users-to/recover-from-errors
5+
redirect_from:
6+
- /patterns/messaging-error-messages
67
aka: Error messages
8+
sub-section: help-users-to
79
intro-text: "Details the structure, style, and tone for error and informational messages."
810
status: use-deployed
911
anchors:

0 commit comments

Comments
 (0)
Please sign in to comment.