Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/improve access table (#7718)

Thomas Kaul31096669720c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2bc2148152..653cae509d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Harmonized the icons and labels in the access table to share the portfolio
- Migrated the create and edit access dialogs to dedicated routes
- Improved the response of the historical market data gathering endpoint for a specific date
diff --git a/apps/client/src/app/components/access-table/access-table.component.html b/apps/client/src/app/components/access-table/access-table.component.html
index c6e504d6c7..15c0794abc 100644
--- a/apps/client/src/app/components/access-table/access-table.component.html
+++ b/apps/client/src/app/components/access-table/access-table.component.html
@@ -15,7 +15,7 @@
} @else if (element.type === 'PUBLIC') {
<span i18n>Public</span>
} @else if (element.type === 'MCP') {
- <span>MCP</span>
+ <span>Model Context Protocol (MCP)</span>
}
</td>
</ng-container>
@@ -112,10 +112,11 @@
}
<button mat-menu-item (click)="onDeleteAccess(element.id)">
<span class="align-items-center d-flex">
- <ion-icon class="mr-2" name="remove-circle-outline" />
@if (isReceivedAccess()) {
- <span i18n>Remove</span>
+ <ion-icon class="mr-2" name="trash-outline" />
+ <span i18n>Delete</span>
} @else {
+ <ion-icon class="mr-2" name="remove-circle-outline" />
<span i18n>Revoke</span>
}
</span>
diff --git a/apps/client/src/app/components/access-table/access-table.component.ts b/apps/client/src/app/components/access-table/access-table.component.ts
index 6b839e56ea..c73d088f81 100644
--- a/apps/client/src/app/components/access-table/access-table.component.ts
+++ b/apps/client/src/app/components/access-table/access-table.component.ts
@@ -31,7 +31,8 @@ import {
createOutline,
ellipsisHorizontal,
linkOutline,
- removeCircleOutline
+ removeCircleOutline,
+ trashOutline
} from 'ionicons/icons';
import ms from 'ms';
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
@@ -107,7 +108,8 @@ export class GfAccessTableComponent {
createOutline,
ellipsisHorizontal,
linkOutline,
- removeCircleOutline
+ removeCircleOutline,
+ trashOutline
});
this.hasPermissionToEnableMcp = hasPermission(