From 7d6eafbdb44f712781806a95b886f764347090ca Mon Sep 17 00:00:00 2001 From: Bastian Gembalczyk Date: Wed, 18 May 2022 15:46:37 +0200 Subject: [PATCH] refactor(ui): remove api counter from api-card-list We dont want to show the total amount of available APIs on the marketplace, because we cant ensure that this information will be available in the future. Therefore we removed api counter completely. Closes: PAS-3981 --- src/app/components/api-card-list/api-card-list.component.html | 3 --- src/app/components/api-card-list/api-card-list.component.scss | 3 +-- src/assets/i18n/de.json | 1 - src/assets/i18n/en.json | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/app/components/api-card-list/api-card-list.component.html b/src/app/components/api-card-list/api-card-list.component.html index 85f00e9d..3245c62b 100644 --- a/src/app/components/api-card-list/api-card-list.component.html +++ b/src/app/components/api-card-list/api-card-list.component.html @@ -36,9 +36,6 @@ clear - {{ - 'MPLACE.APIS_AVAILABLE' | translate: { totalSize: this.totalSize } - }}
diff --git a/src/app/components/api-card-list/api-card-list.component.scss b/src/app/components/api-card-list/api-card-list.component.scss index c6e03ebe..18b61375 100644 --- a/src/app/components/api-card-list/api-card-list.component.scss +++ b/src/app/components/api-card-list/api-card-list.component.scss @@ -16,7 +16,7 @@ .align { display: grid; - grid-template-columns: 1fr 1fr 1fr; + grid-template-columns: 1fr; justify-items: center; align-items: center; } @@ -53,7 +53,6 @@ } #search-form-field { - grid-column: 2; width: 234px; } diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index f605dbef..8c58a9ed 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -39,7 +39,6 @@ "SEARCH": "APIs und Tags", "LEARN_MORE": "Mehr", "NO_DESC": "Keine API-Beschreibung verfügbar", - "APIS_AVAILABLE": "{{totalSize}} APIs verfügbar", "ERROR_WHILE_FETCHING_APIS": "Es konnten nicht alle APIs geladen werden." }, "ACCOUNT": { diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 6d93327a..cd76d199 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -39,7 +39,6 @@ "SEARCH": "APIs and tags", "LEARN_MORE": "Learn more", "NO_DESC": "No API description available", - "APIS_AVAILABLE": "{{totalSize}} API(s) available", "ERROR_WHILE_FETCHING_APIS": "Not all APIs could be loaded." }, "ACCOUNT": {