Browse Source

Feature/add horizontal lines to separate delete actions in menus (#3805)

* Add horizontal lines to separate delete action

* Update changelog
pull/3815/head^2
Thomas Kaul 4 months ago
committed by GitHub
parent
commit
e301dc5612
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 1
      apps/client/src/app/components/access-table/access-table.component.html
  3. 1
      apps/client/src/app/components/accounts-table/accounts-table.component.html
  4. 1
      apps/client/src/app/components/admin-jobs/admin-jobs.html
  5. 2
      apps/client/src/app/components/admin-market-data/admin-market-data.html
  6. 1
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
  7. 1
      apps/client/src/app/components/admin-overview/admin-overview.html
  8. 1
      apps/client/src/app/components/admin-platform/admin-platform.component.html
  9. 1
      apps/client/src/app/components/admin-tag/admin-tag.component.html
  10. 1
      apps/client/src/app/components/admin-users/admin-users.html
  11. 2
      libs/ui/src/lib/activities-table/activities-table.component.html

1
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Improved the usability of various action menus by introducing horizontal lines to separate the delete action
- Considered the user’s language in the link of the access table to share the portfolio - Considered the user’s language in the link of the access table to share the portfolio
- Improved the language localization for German (`de`) - Improved the language localization for German (`de`)

1
apps/client/src/app/components/access-table/access-table.component.html

@ -69,6 +69,7 @@
<button mat-menu-item (click)="onCopyToClipboard(element.id)"> <button mat-menu-item (click)="onCopyToClipboard(element.id)">
<ng-container i18n>Copy link to clipboard</ng-container> <ng-container i18n>Copy link to clipboard</ng-container>
</button> </button>
<hr class="my-0" />
} }
<button mat-menu-item (click)="onDeleteAccess(element.id)"> <button mat-menu-item (click)="onDeleteAccess(element.id)">
<ng-container i18n>Revoke</ng-container> <ng-container i18n>Revoke</ng-container>

1
apps/client/src/app/components/accounts-table/accounts-table.component.html

@ -278,6 +278,7 @@
<span i18n>Edit</span> <span i18n>Edit</span>
</span> </span>
</button> </button>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
[disabled]="element.transactionCount > 0" [disabled]="element.transactionCount > 0"

1
apps/client/src/app/components/admin-jobs/admin-jobs.html

@ -175,6 +175,7 @@
<button mat-menu-item (click)="onExecuteJob(element.id)"> <button mat-menu-item (click)="onExecuteJob(element.id)">
<ng-container i18n>Execute Job</ng-container> <ng-container i18n>Execute Job</ng-container>
</button> </button>
<hr class="m-0" />
<button mat-menu-item (click)="onDeleteJob(element.id)"> <button mat-menu-item (click)="onDeleteJob(element.id)">
<ng-container i18n>Delete Job</ng-container> <ng-container i18n>Delete Job</ng-container>
</button> </button>

2
apps/client/src/app/components/admin-market-data/admin-market-data.html

@ -197,6 +197,7 @@
<button mat-menu-item (click)="onGatherProfileData()"> <button mat-menu-item (click)="onGatherProfileData()">
<ng-container i18n>Gather Profile Data</ng-container> <ng-container i18n>Gather Profile Data</ng-container>
</button> </button>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
[disabled]="!selection.hasValue()" [disabled]="!selection.hasValue()"
@ -230,6 +231,7 @@
<span i18n>Edit</span> <span i18n>Edit</span>
</span> </span>
</a> </a>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
[disabled]=" [disabled]="

1
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html

@ -44,6 +44,7 @@
> >
<ng-container i18n>Gather Profile Data</ng-container> <ng-container i18n>Gather Profile Data</ng-container>
</button> </button>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
type="button" type="button"

1
apps/client/src/app/components/admin-overview/admin-overview.html

@ -79,6 +79,7 @@
</span> </span>
</a> </a>
@if (customCurrencies.includes(exchangeRate.label2)) { @if (customCurrencies.includes(exchangeRate.label2)) {
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
(click)="onDeleteCurrency(exchangeRate.label2)" (click)="onDeleteCurrency(exchangeRate.label2)"

1
apps/client/src/app/components/admin-platform/admin-platform.component.html

@ -92,6 +92,7 @@
<span i18n>Edit</span> <span i18n>Edit</span>
</span> </span>
</button> </button>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
[disabled]="element.accountCount > 0" [disabled]="element.accountCount > 0"

1
apps/client/src/app/components/admin-tag/admin-tag.component.html

@ -71,6 +71,7 @@
<span i18n>Edit</span> <span i18n>Edit</span>
</span> </span>
</button> </button>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
[disabled]="element.activityCount > 0" [disabled]="element.activityCount > 0"

1
apps/client/src/app/components/admin-users/admin-users.html

@ -218,6 +218,7 @@
<span i18n>Impersonate User</span> <span i18n>Impersonate User</span>
</span> </span>
</button> </button>
<hr class="m-0" />
} }
<button <button
mat-menu-item mat-menu-item

2
libs/ui/src/lib/activities-table/activities-table.component.html

@ -55,6 +55,7 @@
</span> </span>
</button> </button>
} }
<hr class="m-0" />
<button <button
class="align-items-center d-flex" class="align-items-center d-flex"
mat-menu-item mat-menu-item
@ -445,6 +446,7 @@
<span i18n>Export Draft as ICS</span> <span i18n>Export Draft as ICS</span>
</span> </span>
</button> </button>
<hr class="m-0" />
<button <button
mat-menu-item mat-menu-item
[disabled]="!hasPermissionToDeleteActivity" [disabled]="!hasPermissionToDeleteActivity"

Loading…
Cancel
Save