Browse Source

Task/improve access table (#7718)

* Improve icons and labels of access table

* Update changelog
pull/7722/head
Thomas Kaul 3 days ago
committed by GitHub
parent
commit
3109666972
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 7
      apps/client/src/app/components/access-table/access-table.component.html
  3. 6
      apps/client/src/app/components/access-table/access-table.component.ts

1
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

7
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>

6
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(

Loading…
Cancel
Save