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.
MODIFY
src/app/components/api-card-list/api-card-list.component.html
src/app/components/api-card-list/api-card-list.component.html
<mat-icon>clear</mat-icon>
</button>
</mat-form-field>
- <span id="api-counter" class="accent">{{
- 'MPLACE.APIS_AVAILABLE' | translate: { totalSize: this.totalSize }
- }}</span>
</div>
<ng-container *ngIf="(apis$ | async)!.length > 0 && ready; else NoDataMsg">
<div id="grid">

MODIFY
src/app/components/api-card-list/api-card-list.component.scss
src/app/components/api-card-list/api-card-list.component.scss
.align {
display: grid;
- grid-template-columns: 1fr 1fr 1fr;
+ grid-template-columns: 1fr;
justify-items: center;
align-items: center;
}
}
#search-form-field {
- grid-column: 2;
width: 234px;
}

MODIFY
src/assets/i18n/en.json
src/assets/i18n/en.json
"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": {

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.