diff --git a/webapp/src/app/modules/compare-authors/compare-authors.component.html b/webapp/src/app/modules/compare-authors/compare-authors.component.html
index b14155e1..acc2e968 100644
--- a/webapp/src/app/modules/compare-authors/compare-authors.component.html
+++ b/webapp/src/app/modules/compare-authors/compare-authors.component.html
@@ -32,7 +32,19 @@
Betrachtete Personen:
@@ -159,7 +171,19 @@
Kennzahl |
@for (author of summary(); track author.authorId) {
- {{ author.name }}
+
+
+ {{ author.name }}
+ open_in_new
+
+
|
}
diff --git a/webapp/src/app/modules/compare-authors/compare-authors.component.scss b/webapp/src/app/modules/compare-authors/compare-authors.component.scss
index 64595afd..150ec838 100644
--- a/webapp/src/app/modules/compare-authors/compare-authors.component.scss
+++ b/webapp/src/app/modules/compare-authors/compare-authors.component.scss
@@ -60,6 +60,28 @@ app-chip mat-icon {
vertical-align: text-bottom;
}
+.chip-link {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ margin: -4px -12px;
+ padding: 4px 12px;
+ color: inherit;
+ text-decoration: none;
+ cursor: pointer;
+
+ mat-icon {
+ font-size: 14px;
+ width: 14px;
+ height: 14px;
+ opacity: 0.7;
+ }
+
+ &:hover mat-icon {
+ opacity: 1;
+ }
+}
+
/* ---- cards ---- */
.card {
background: var(--sg-card-bg);
diff --git a/webapp/src/app/modules/compare-authors/compare-authors.component.ts b/webapp/src/app/modules/compare-authors/compare-authors.component.ts
index cafdc91a..bcd14ca5 100644
--- a/webapp/src/app/modules/compare-authors/compare-authors.component.ts
+++ b/webapp/src/app/modules/compare-authors/compare-authors.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit, computed, inject, signal } from '@angular/core';
import { DecimalPipe, NgTemplateOutlet } from '@angular/common';
-import { ActivatedRoute } from '@angular/router';
+import { ActivatedRoute, RouterLink } from '@angular/router';
import { MatIconModule } from '@angular/material/icon';
import { EChartsOption } from 'echarts';
import { NgxEchartsDirective } from 'ngx-echarts';
@@ -123,6 +123,7 @@ interface SegmentDef {
imports: [
DecimalPipe,
NgTemplateOutlet,
+ RouterLink,
MatIconModule,
NgxEchartsDirective,
AuthorResearchProfileComponent,
@@ -474,6 +475,11 @@ export class CompareAuthorsComponent implements OnInit {
);
}
+ authorProfileId(authorId: string): string {
+ const parts = authorId.split('/');
+ return parts[parts.length - 1];
+ }
+
// colours the author names on the chart axes like the legend chips
private authorAxisLabel(profiles: AuthorTopicProfile[]) {
const rich: Record = {};