Merge branch 'top10-personen-subtitles' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
spsaefan
2026-08-25 18:43:50 +02:00
3 changed files with 22 additions and 1 deletions
@@ -519,6 +519,9 @@
<mat-icon>{{ dataset.icon }}</mat-icon
>{{ dataset.title }}
</h3>
<p class="top-authors-chart-subtitle">
{{ dataset.subtitle }}
</p>
@for (
entry of dataset.entries;
track entry.id || entry.name;
@@ -381,11 +381,18 @@
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0 0 1rem;
margin: 0;
color: var(--sg-text);
}
}
.top-authors-chart-subtitle {
margin: 0.35rem 0 1rem;
color: var(--sg-text-muted);
font-size: 13px;
line-height: 1.45;
}
.author-bar-row {
display: flex;
align-items: center;
@@ -71,6 +71,7 @@ type DashboardStatisticKey =
| 'dfg_projects';
type TopAuthorDataset = {
title: string;
subtitle: string;
icon: string;
entries: TopAuthor[];
stripAuthorTitle?: boolean;
@@ -281,27 +282,37 @@ export class DashboardComponent implements OnInit, AfterViewInit {
return [
{
title: 'Publikationen',
subtitle:
'Top 10 Personen mit Publikationen der ausgewählten Institution. Die Zahl zeigt die Anzahl der Publikationen der jeweiligen Person.',
icon: MENU_BOOK_ICON,
entries: this.topAuthors?.works ?? [],
},
{
title: 'EU-Projekte',
subtitle:
'Top 10 Personen, die an EU-Projekten der ausgewählten Institution beteiligt sind. Die Zahl zeigt, an wie vielen EU-Projekten die jeweilige Person beteiligt ist.',
icon: PUBLIC_ICON,
entries: this.topAuthors?.eu_projects ?? [],
},
{
title: 'Patente',
subtitle:
'Top 10 Personen mit Zuordnung zu Patenten der ausgewählten Institution. Die Zahl zeigt, wie vielen Patenten die jeweilige Person zugeordnet wurde.',
icon: DESCRIPTION_ICON,
entries: this.topAuthors?.patents ?? [],
},
{
title: 'DFG Projekte',
subtitle:
'Top 10 Personen, die an DFG-Projekten der ausgewählten Institution beteiligt sind. Die Zahl zeigt, an wie vielen DFG-Projekten die jeweilige Person beteiligt ist.',
icon: ACCOUNT_TREE_ICON,
entries: this.topAuthors?.projects ?? [],
stripAuthorTitle: true,
},
{
title: 'News',
subtitle:
'Top 10 Personen der ausgewählten Institution, die in Nachrichten genannt werden. Die Zahl zeigt, in wie vielen Nachrichten die jeweilige Person vorkommt.',
icon: ARTICLE_ICON,
entries: this.topAuthors?.news ?? [],
},