From 7ceac447fdc2e54c5e816f1316b3d80023b2752a Mon Sep 17 00:00:00 2001 From: Marcello Alexandre Date: Wed, 11 Oct 2023 13:20:28 -0300 Subject: [PATCH 1/3] Update MANIFESTS_REPOSITORY weni-ai --- .../workflows/build-integrations-webapp-push-tag-shared.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-integrations-webapp-push-tag-shared.yaml b/.github/workflows/build-integrations-webapp-push-tag-shared.yaml index 920c0ba7..d0dbc41f 100644 --- a/.github/workflows/build-integrations-webapp-push-tag-shared.yaml +++ b/.github/workflows/build-integrations-webapp-push-tag-shared.yaml @@ -33,7 +33,7 @@ jobs: echo "COMMIT_SHA=$GITHUB_SHA" | tee -a "${GITHUB_ENV}" echo "IMAGE_TAG=${{ secrets.ECR }}/integrations:webapp-$TAG" | tee -a "${GITHUB_ENV}" echo "IMAGE_SOURCE_URL=https://github.com/weni-ai/weni-integrations-webapp" | tee -a "${GITHUB_ENV}" - echo "MANIFESTS_REPOSITORY=Ilhasoft/kubernetes-manifests-platform" | tee -a "${GITHUB_ENV}" + echo "MANIFESTS_REPOSITORY=weni-ai/kubernetes-manifests-platform" | tee -a "${GITHUB_ENV}" echo "MANIFESTS_APPLICATION=integrations-webapp" | tee -a "${GITHUB_ENV}" echo "MANIFESTS_PATCH_TARGET=deployment-webapp.json" | tee -a "${GITHUB_ENV}" From 641be4a40350a9042c9b766f27958f0ba7f6d540 Mon Sep 17 00:00:00 2001 From: Sthefani Date: Thu, 26 Oct 2023 16:09:48 -0300 Subject: [PATCH 2/3] updated label --- src/components/whatsAppCatalogs/Card.vue | 8 ++++---- src/locales/en.json | 8 ++++---- src/locales/es_es.json | 8 ++++---- src/locales/pt_br.json | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/whatsAppCatalogs/Card.vue b/src/components/whatsAppCatalogs/Card.vue index d561fe7f..258e153d 100644 --- a/src/components/whatsAppCatalogs/Card.vue +++ b/src/components/whatsAppCatalogs/Card.vue @@ -24,8 +24,8 @@ size="small" :textRight=" catalog.is_connected - ? $t('WhatsApp.catalog.list.actions.enabled_catalog') - : $t('WhatsApp.catalog.list.actions.disabled_catalog') + ? $t('WhatsApp.catalog.list.actions.active_catalog') + : $t('WhatsApp.catalog.list.actions.inactive_catalog') " @input="toggleCatalogConnect($event)" /> @@ -36,8 +36,8 @@ size="small" :textRight=" enabledCart - ? $t('WhatsApp.catalog.list.actions.enabled_cart') - : $t('WhatsApp.catalog.list.actions.disabled_cart') + ? $t('WhatsApp.catalog.list.actions.active_cart') + : $t('WhatsApp.catalog.list.actions.inactive_cart') " @click.native="toggleCart()" /> diff --git a/src/locales/en.json b/src/locales/en.json index d661bb2d..88e21e49 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -476,10 +476,10 @@ "advanced_settings": "Advanced Settings", "identification": "Identification", "actions": { - "enabled_cart": "Cart enabled", - "disabled_cart": "Cart disabled", - "enabled_catalog": "Catalog enabled", - "disabled_catalog": "Disabled" + "active_cart": "Active cart", + "inactive_cart": "Inactive cart", + "active_catalog": "Active catalog", + "inactive_catalog": "Inactive" }, "disable_modal": { "title": "Are you really going to disable the catalogue?", diff --git a/src/locales/es_es.json b/src/locales/es_es.json index bc243c1f..c58687f4 100644 --- a/src/locales/es_es.json +++ b/src/locales/es_es.json @@ -476,10 +476,10 @@ "advanced_settings": "Configuraciones avanzadas", "identification": "Identificación", "actions": { - "enabled_cart": "Carrito habilitado", - "disabled_cart": "Carrito inhabilitado", - "enabled_catalog": "Catálogo habilitado", - "disabled_catalog": "Desactivado" + "active_cart": "Carrito activo", + "inactive_cart": "Carrito inactivo", + "active_catalog": "Catálogo activo", + "inactive_catalog": "Inactivo" }, "disable_modal": { "title": "¿De verdad vas a desactivar el catálogo?", diff --git a/src/locales/pt_br.json b/src/locales/pt_br.json index 57fa9915..ed3d137d 100644 --- a/src/locales/pt_br.json +++ b/src/locales/pt_br.json @@ -476,13 +476,13 @@ "advanced_settings": "Configurações avançadas", "identification": "Identificação", "actions": { - "enabled_cart": "Carrinho habilitado", - "disabled_cart": "Carrinho desabilitado", - "enabled_catalog": "Catálogo habilitado", - "disabled_catalog": "Desabilitado" + "active_cart": "Carrinho ativo", + "inactive_cart": "Carrinho inativo", + "active_catalog": "Catálogo ativo", + "inactive_catalog": "Inativo" }, "disable_modal": { - "title": "Vai mesmo desabilitar o catálogo?", + "title": "Vai mesmo desativar o catálogo?", "description": "Para continuar enviando seus produtos no Whatsapp você precisa de um catálogo ativo.", "label": "Digite “{name}” para confirmar", "confirm": "Desabilitar" From c08995fdc59111078e554b2714c82151072716ee Mon Sep 17 00:00:00 2001 From: Sthefani Date: Thu, 26 Oct 2023 16:49:01 -0300 Subject: [PATCH 3/3] created modal --- src/components/whatsAppCatalogs/List.vue | 17 +++++++++++++++-- src/locales/en.json | 2 ++ src/locales/es_es.json | 2 ++ src/locales/pt_br.json | 2 ++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/components/whatsAppCatalogs/List.vue b/src/components/whatsAppCatalogs/List.vue index 2827ad85..9b0c3ae7 100644 --- a/src/components/whatsAppCatalogs/List.vue +++ b/src/components/whatsAppCatalogs/List.vue @@ -45,14 +45,27 @@ scheme="feedback-red" :validate="connectedCatalog.name" :validatePlaceholder="connectedCatalog.name" - :title="$t('WhatsApp.catalog.list.disable_modal.title')" + :title=" + catalogToEnable + ? $t('WhatsApp.catalog.list.disable_modal.title_active') + : $t('WhatsApp.catalog.list.disable_modal.title') + " :actionPrimaryLabel="$t('WhatsApp.catalog.list.disable_modal.confirm')" :actionSecondaryLabel="$t('general.Cancel')" @click-action-secondary="closeModal" @click-action-primary="handleCatalogConfirmation" >