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

feat: update form guide links to go links #1750

Merged
merged 1 commit into from
Apr 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
</li>
<li>
Consider switching your form to Storage mode, or
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-ensure-my-form-responses-will-not-bounce"
<a href="https://go.gov.sg/form-prevent-bounce"
>setting up AutoArchiving</a
>
which automates clearing of mailbox capacity (see
Expand Down Expand Up @@ -58,15 +57,13 @@
<ol>
<li>
Here is a guide to
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-switch-my-form-from-email-mode-to-storage-mode"
<a href="https://go.gov.sg/form-email-storage"
>switching your form from Email mode to Storage mode</a
>.
</li>
<li>
Be sure
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-make-sure-i-dont-lose-my-secret-key"
<a href="https://go.gov.sg/form-safekeep-secret-key"
>not to lose the secret key</a
>, which you will need to access responses. Responses cannot be
recovered if this key is lost.
Expand All @@ -75,14 +72,12 @@
<p>Other useful links</p>
<ul>
<li>
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#what-is-storage-mode"
<a href="https://go.gov.sg/form-what-is-storage-mode"
>What is Storage mode?</a
>
</li>
<li>
<a
href="https://guide.form.gov.sg/BasicGuide.html#what-data-classification-rcst-can-formsg-handle"
<a href="https://go.gov.sg/form-data-classification"
>Data classification and info sensitivity</a
>
</li>
Expand All @@ -96,10 +91,7 @@
least one recipient.
</li>
<li>
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-ensure-my-form-responses-will-not-bounce"
>Set up AutoArchiving</a
>
<a href="https://go.gov.sg/form-prevent-bounce">Set up AutoArchiving</a>
which automates clearing of mailbox capacity.
</li>
</ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
</li>
<li>
Consider switching your form to Storage mode, or
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-ensure-my-form-responses-will-not-bounce"
<a href="https://go.gov.sg/form-prevent-bounce"
>setting up AutoArchiving</a
>
which automates clearing of mailbox capacity (see
Expand All @@ -49,15 +48,13 @@
<ol>
<li>
Here is a guide to
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-switch-my-form-from-email-mode-to-storage-mode"
<a href="https://go.gov.sg/form-email-storage"
>switching your form from Email mode to Storage mode</a
>.
</li>
<li>
Be sure
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-make-sure-i-dont-lose-my-secret-key"
<a href="https://go.gov.sg/form-safekeep-secret-key"
>not to lose the secret key</a
>, which you will need to access responses. Responses cannot be
recovered if this key is lost.
Expand All @@ -66,14 +63,12 @@
<p>Other useful links</p>
<ul>
<li>
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#what-is-storage-mode"
<a href="https://go.gov.sg/form-what-is-storage-mode"
>What is Storage mode?</a
>
</li>
<li>
<a
href="https://guide.form.gov.sg/BasicGuide.html#what-data-classification-rcst-can-formsg-handle"
<a href="https://go.gov.sg/form-data-classification"
>Data classification and info sensitivity</a
>
</li>
Expand All @@ -87,10 +82,7 @@
least one recipient.
</li>
<li>
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-ensure-my-form-responses-will-not-bounce"
>Set up AutoArchiving</a
>
<a href="https://go.gov.sg/form-prevent-bounce">Set up AutoArchiving</a>
which automates clearing of mailbox capacity.
</li>
</ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function ActivateFormController(
vm.savingStatus = 1
const toastMessage = dedent`
Congrats! Your form is now live.<br/>For high-traffic forms,
<a href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-ensure-my-form-responses-will-not-bounce" target="_blank">
<a href="https://go.gov.sg/form-prevent-bounce" target="_blank">
AutoArchive your mailbox</a> to prevent lost responses.
`
return updateFormStatusAndSave(toastMessage, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function settingsFormDirective(
if ($scope.tempForm.status === 'PRIVATE') {
const toastMessage = dedent`
Congrats! Your form is now live.<br/>For high-traffic forms,
<a href="https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-ensure-my-form-responses-will-not-bounce" target="_blank">
<a href="https://go.gov.sg/form-prevent-bounce" target="_blank">
AutoArchive your mailbox</a> to prevent lost responses.
`
updateFormStatusAndSave(toastMessage, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1155,10 +1155,7 @@ <h2 class="modal-title">
<i class="bx bx-info-circle bx-md icon-spacing"></i>
<span class="alert-msg"
>Use Field ID to pre-populate this field for your users.
<a
href="https://guide.form.gov.sg/AdvancedGuide.html#prefill"
target="_blank"
>
<a href="https://go.gov.sg/form-prefill" target="_blank">
Learn how to pre-populate via URL.
</a></span
>
Expand Down
2 changes: 1 addition & 1 deletion src/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</image:image>
</url>
<url>
<loc>https://guide.form.gov.sg/</loc>
<loc>https://go.gov.sg/form-guide</loc>
<priority>1.0</priority>
</url>
<url>
Expand Down
6 changes: 3 additions & 3 deletions src/public/translations/en-SG/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"APP_NAME": "FormSG",
"LINKS": {
"GUIDE": {
"ROOT": "https://guide.form.gov.sg/",
"ROOT": "https://go.gov.sg/form-guide",
"GUARD_EMAIL_BOUNCE": "https://go.gov.sg/form-prevent-bounces",
"STORAGE_MODE": "https://guide.form.gov.sg/AdvancedGuide.html#storage-mode",
"STORAGE_MODE": "https://go.gov.sg/form-storage-mode",
"SECRET_KEY_LOSS": "https://go.gov.sg/secretkeyloss",
"SECRET_KEY_SAFEKEEPING": "https://guide.form.gov.sg/AdvancedGuide.html#how-do-i-make-sure-i-dont-lose-my-secret-key",
"SECRET_KEY_SAFEKEEPING": "https://go.gov.sg/form-safekeep-secret-key",
"EMAIL_RELIABILITY": "http://go.gov.sg/form-email-reliability"
},
"GITHUB": "https://github.com/opengovsg/FormSG",
Expand Down