-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1210 from aneoconsulting/chore/external-services-…
…ux-improvements chore: external services ux improvements
- Loading branch information
Showing
24 changed files
with
346 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
src/app/components/navigation/add-external-service-dialog.component.html
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
src/app/components/navigation/add-external-service-dialog.component.spec.ts
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
src/app/components/navigation/add-external-service-dialog.component.ts
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/app/components/navigation/edit-external-service-dialog.component.html
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
src/app/components/navigation/edit-external-service-dialog.component.spec.ts
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
src/app/components/navigation/edit-external-service-dialog.component.ts
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
src/app/components/navigation/external-services.component.html
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/app/components/navigation/external-services/external-services.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<button mat-button class="external-services" [matMenuTriggerFor]="external_services" matTooltip="Access to external services"> | ||
<mat-icon matListItemIcon aria-hidden="true" [fontIcon]="getIcon('arrow-down')"/> | ||
<span i18n="Button to view external services"> | ||
External Services | ||
</span> | ||
</button> | ||
<mat-menu #external_services="matMenu"> | ||
@for (service of externalServices; track service.url) { | ||
<a mat-menu-item [href]="service.url" target="_blank" rel="noopener noreferrer"> | ||
@if (service.icon) { | ||
<mat-icon matListItemIcon aria-hidden="true" [fontIcon]="getIcon(service.icon)"/> | ||
} | ||
<span>{{ service.name }}</span> | ||
</a> | ||
} | ||
@if (externalServices.length) { | ||
<mat-divider/> | ||
} | ||
<button mat-menu-item (click)="manageExternalServices()"> | ||
<mat-icon matListItemIcon aria-hidden="true" [fontIcon]="getIcon('tune')"/> | ||
<span i18n="Button">Manage services</span> | ||
</button> | ||
</mat-menu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
d3eef69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JUnit
Files coverage (100%)