From 45737ddd3c9e9209ad449ed1e779fa43336ef29e Mon Sep 17 00:00:00 2001 From: claire bontempo <68122737+hellobontempo@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:26:50 -0600 Subject: [PATCH] UI: Fix remaining DocLink paths (#20070) * fix remaining doclinks * add changelog * Apply suggestions from code review fix links --- changelog/20070.txt | 3 +++ ui/app/templates/components/keymgmt/distribute.hbs | 6 +++--- .../components/mfa/mfa-login-enforcement-header.hbs | 2 +- ui/app/templates/components/oidc/scope-form.hbs | 2 +- ui/app/templates/components/pki/config-pki-ca.hbs | 2 +- ui/app/templates/components/secret-form-show.hbs | 4 ++-- ui/app/templates/vault.hbs | 2 +- ui/app/templates/vault/cluster/access/method/section.hbs | 2 +- .../templates/vault/cluster/access/mfa/methods/create.hbs | 6 +++--- .../vault/cluster/access/oidc/assignments/index.hbs | 2 +- ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs | 2 +- .../vault/cluster/secrets/backend/edit-metadata.hbs | 2 +- ui/lib/core/addon/components/doc-link.js | 2 +- .../addon/templates/components/swagger-ui.hbs | 2 +- .../replication/addon/templates/mode/secondaries/index.hbs | 2 +- 15 files changed, 22 insertions(+), 19 deletions(-) create mode 100644 changelog/20070.txt diff --git a/changelog/20070.txt b/changelog/20070.txt new file mode 100644 index 000000000..34e6e5540 --- /dev/null +++ b/changelog/20070.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: fixes remaining doc links to include /vault in path +``` \ No newline at end of file diff --git a/ui/app/templates/components/keymgmt/distribute.hbs b/ui/app/templates/components/keymgmt/distribute.hbs index 567f7c6d1..50bbf6bdd 100644 --- a/ui/app/templates/components/keymgmt/distribute.hbs +++ b/ui/app/templates/components/keymgmt/distribute.hbs @@ -20,7 +20,7 @@ {{this.validMatchError.key}} To check compatibility, - refer to this table. + refer to this table. {{/if}} @@ -54,7 +54,7 @@ {{this.validMatchError.key}} To check compatibility, - refer to this table. + refer to this table. {{/if}} @@ -81,7 +81,7 @@ {{this.validMatchError.provider}} To check compatibility, - refer to this table. + refer to this table. {{/if}} diff --git a/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs b/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs index f398d5fe2..e44a944f1 100644 --- a/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs +++ b/ui/app/templates/components/mfa/mfa-login-enforcement-header.hbs @@ -31,7 +31,7 @@ An enforcement will define which auth types, auth mounts, groups, and/or entities will require this MFA method. Keep in mind that only one of these conditions needs to be satisfied. For example, if an authentication method is added here, all entities and groups which make use of that authentication method will be subject to an MFA request. - Learn more here. + Learn more here. {{/if}}

{{#if @isInline}} diff --git a/ui/app/templates/components/oidc/scope-form.hbs b/ui/app/templates/components/oidc/scope-form.hbs index 108aa8e45..cacff831d 100644 --- a/ui/app/templates/components/oidc/scope-form.hbs +++ b/ui/app/templates/components/oidc/scope-form.hbs @@ -100,7 +100,7 @@ {{/if}}

The full list of template parameters can be found - + here.

diff --git a/ui/app/templates/components/pki/config-pki-ca.hbs b/ui/app/templates/components/pki/config-pki-ca.hbs index f749f241f..33408972d 100644 --- a/ui/app/templates/components/pki/config-pki-ca.hbs +++ b/ui/app/templates/components/pki/config-pki-ca.hbs @@ -252,7 +252,7 @@
Deleting a CA is only available via the CLI and API. - + Learn more
diff --git a/ui/app/templates/components/secret-form-show.hbs b/ui/app/templates/components/secret-form-show.hbs index 711d7823a..01caeb966 100644 --- a/ui/app/templates/components/secret-form-show.hbs +++ b/ui/app/templates/components/secret-form-show.hbs @@ -3,7 +3,7 @@ @title="Version {{@modelForData.version}} of this secret has been permanently destroyed" @message="A version that has been permanently deleted cannot be restored. You can see other versions of this secret in the History menu." > - + Learn more @@ -13,7 +13,7 @@ @message="A version that has been deleted but can be undeleted using the Version {{@modelForData.version}} menu above. You can also see other versions of this secret in the History menu." > - + Learn more diff --git a/ui/app/templates/vault.hbs b/ui/app/templates/vault.hbs index ac169064c..2dee11a92 100644 --- a/ui/app/templates/vault.hbs +++ b/ui/app/templates/vault.hbs @@ -20,7 +20,7 @@ {{/if}} - + Documentation diff --git a/ui/app/templates/vault/cluster/access/method/section.hbs b/ui/app/templates/vault/cluster/access/method/section.hbs index a92c33d3e..bb1c8945e 100644 --- a/ui/app/templates/vault/cluster/access/method/section.hbs +++ b/ui/app/templates/vault/cluster/access/method/section.hbs @@ -21,7 +21,7 @@ {{#if (not (includes this.model.type (supported-managed-auth-backends)))}}
The Vault UI only supports configuration for this authentication method. For management, the - API or CLI + API or CLI should be used.
{{/if}} diff --git a/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs b/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs index 9b75d119f..18d609332 100644 --- a/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs +++ b/ui/app/templates/vault/cluster/access/mfa/methods/create.hbs @@ -28,7 +28,7 @@

Settings

{{this.description}} - Learn more. + Learn more.

Multi-factor authentication (MFA) allows you to set up another layer of security on top of existing authentication methods. Vault has four available methods. - Learn more. + Learn more.

{{#each this.methodNames as |methodName|}} @@ -77,7 +77,7 @@ {{#if this.type}}

{{this.description}} - Learn more. + Learn more.

{{! in a future release cards may be displayed to choose from either template or custom config for TOTP }} {{! if template is selected a user could choose a predefined config for common authenticators and the values would be populated on the model }} diff --git a/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs b/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs index 8def631f1..e54a03561 100644 --- a/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs +++ b/ui/app/templates/vault/cluster/access/oidc/assignments/index.hbs @@ -23,7 +23,7 @@ {{#if (eq model.name "allow_all")}}
This is a built-in assignment that cannot be modified or deleted. - + Learn more
diff --git a/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs b/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs index ad5cfe860..02a4c6970 100644 --- a/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs +++ b/ui/app/templates/vault/cluster/access/oidc/scopes/index.hbs @@ -59,7 +59,7 @@

Use scope to define identity information about the authenticated user. - + Learn more.

diff --git a/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs b/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs index 293c07111..a6173a682 100644 --- a/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs +++ b/ui/app/templates/vault/cluster/secrets/backend/edit-metadata.hbs @@ -15,6 +15,6 @@ View Metadata - More here + More here {{/if}} \ No newline at end of file diff --git a/ui/lib/core/addon/components/doc-link.js b/ui/lib/core/addon/components/doc-link.js index fd211b402..73659678e 100644 --- a/ui/lib/core/addon/components/doc-link.js +++ b/ui/lib/core/addon/components/doc-link.js @@ -11,7 +11,7 @@ import ExternalLink from './external-link'; * * @example * ```js - Learn about KV v2 + Learn about KV v2 * ``` * * @param {string} path="/" - The path to documentation on developer.hashicorp.com that the component should link to. diff --git a/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs b/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs index 18ee47292..b6fd3b95f 100644 --- a/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs +++ b/ui/lib/open-api-explorer/addon/templates/components/swagger-ui.hbs @@ -31,7 +31,7 @@ X-Vault-Namespace: {{R.namespace.path}}. You can also use {{R.namespace.path}} as an API prefix. See - docs + docs for examples.
diff --git a/ui/lib/replication/addon/templates/mode/secondaries/index.hbs b/ui/lib/replication/addon/templates/mode/secondaries/index.hbs index 97f8cd40a..6c4584eac 100644 --- a/ui/lib/replication/addon/templates/mode/secondaries/index.hbs +++ b/ui/lib/replication/addon/templates/mode/secondaries/index.hbs @@ -71,7 +71,7 @@ Add secondary {{/if}} - + Learn more