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