From fed32aa57b1eace616c18c15647bc989b9549c39 Mon Sep 17 00:00:00 2001 From: Dharini Jeeva Date: Fri, 24 Jan 2025 12:45:56 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20doc=20links=20for?= =?UTF-8?q?=20GCP=20plugin=20(#2666)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../form/host-catalog/gcp/index.hbs | 45 +++++++++++++------ ui/admin/config/environment.js | 1 + 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/ui/admin/app/components/form/host-catalog/gcp/index.hbs b/ui/admin/app/components/form/host-catalog/gcp/index.hbs index 5796c997d..f486a40a1 100644 --- a/ui/admin/app/components/form/host-catalog/gcp/index.hbs +++ b/ui/admin/app/components/form/host-catalog/gcp/index.hbs @@ -118,9 +118,11 @@ as |F| > {{t 'resources.host-catalog.form.project_id.label'}} - {{t - 'resources.host-catalog.form.project_id.help' - }} + {{t 'resources.host-catalog.form.project_id.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.project_id}} {{#each @model.errors.project_id as |error|}} @@ -140,7 +142,11 @@ as |F| > {{t 'resources.host-catalog.form.zone.label'}} - {{t 'resources.host-catalog.form.zone.help'}} + {{t 'resources.host-catalog.form.zone.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.zone}} {{#each @model.errors.zone as |error|}} @@ -160,9 +166,12 @@ as |F| > {{t 'resources.host-catalog.form.client_email.label'}} - {{t - 'resources.host-catalog.form.client_email.help' - }} + + {{t 'resources.host-catalog.form.client_email.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.client_email}} {{#each @model.errors.client_email as |error|}} @@ -186,7 +195,11 @@ }} {{t 'resources.host-catalog.form.target_service_account_id.help' - }} + }} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.target_service_account_id}} {{#each @model.errors.target_service_account_id as |error|}} @@ -207,9 +220,11 @@ as |F| > {{t 'resources.host-catalog.form.private_key_id.label'}} - {{t - 'resources.host-catalog.form.private_key_id.help' - }} + {{t 'resources.host-catalog.form.private_key_id.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.private_key_id}} {{#each @model.errors.private_key_id as |error|}} @@ -228,9 +243,11 @@ as |F| > {{t 'resources.host-catalog.form.private_key.label'}} - {{t - 'resources.host-catalog.form.private_key.help' - }} + {{t 'resources.host-catalog.form.private_key.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.private_key}} {{#each @model.errors.private_key as |error|}} diff --git a/ui/admin/config/environment.js b/ui/admin/config/environment.js index 694597b6b..2d675b3e7 100644 --- a/ui/admin/config/environment.js +++ b/ui/admin/config/environment.js @@ -74,6 +74,7 @@ module.exports = function (environment) { 'host-catalog': '/docs/concepts/domain-model/host-catalogs', 'host-catalog.new': '/docs/common-workflows/manage-targets', 'host-catalog.azure': '/docs/concepts/host-discovery/azure', + 'host-catalog.gcp': '/docs/concepts/host-discovery/gcp', 'host-catalog.aws': '/docs/concepts/host-discovery/aws', 'host-catalog.aws.region': 'https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html',