Feature/standardize layout #322
@@ -32,7 +32,8 @@
|
||||
"www.uni-due.de",
|
||||
"uni-due.de",
|
||||
"www.esaga.uni-due.de",
|
||||
"esaga.uni-due.de"
|
||||
"esaga.uni-due.de",
|
||||
"bibliography.uni-due.de"
|
||||
],
|
||||
"crawl": {
|
||||
"generated_entities_file": "entities.json",
|
||||
|
||||
@@ -4,6 +4,7 @@ import { personListResolver } from './resolvers/person-list.resolver';
|
||||
import { founderStatisticsResolver } from './resolvers/founder-statistics.resolver';
|
||||
import { founderCandidatesResolver } from './resolvers/founder-candidates.resolver';
|
||||
import { multiplierResearcherPageResolver } from './resolvers/multiplier-researcher-page.resolver';
|
||||
import { multiplicatorResearchersResolver } from './resolvers/multiplicator-researchers.resolver';
|
||||
import { personBioResolver } from './resolvers/person-bio.resolver';
|
||||
import { personPatentsResolver } from './resolvers/person-patents.resolver';
|
||||
import { personResolver } from './resolvers/person.resolver';
|
||||
@@ -139,6 +140,25 @@ export const routes: Routes = [
|
||||
(mod) => mod.CompareAuthorsComponent,
|
||||
),
|
||||
},
|
||||
{
|
||||
path: 'multipliers',
|
||||
canActivate: [
|
||||
roleGuard([
|
||||
UserRole.User,
|
||||
UserRole.Manager,
|
||||
UserRole.Admin,
|
||||
UserRole.SuperAdmin,
|
||||
]),
|
||||
],
|
||||
loadComponent: () =>
|
||||
import(
|
||||
'./modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component'
|
||||
).then((mod) => mod.MultipliersDashboardComponent),
|
||||
resolve: {
|
||||
researchers: multiplicatorResearchersResolver,
|
||||
},
|
||||
runGuardsAndResolvers: 'paramsOrQueryParamsChange',
|
||||
},
|
||||
{
|
||||
path: 'founders',
|
||||
canActivate: [
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
<app-page-container
|
||||
title="Mein Konto"
|
||||
[subtitle]="accountProfile().organization_name">
|
||||
<div class="content">
|
||||
<div class="account-profile-information">
|
||||
<div class="personal-information">
|
||||
@@ -77,3 +80,4 @@
|
||||
</div>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.content {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.account-profile-information {
|
||||
|
||||
@@ -8,6 +8,7 @@ import {
|
||||
} from '@angular/core';
|
||||
import { AccountProfile, UserRole } from '../../api';
|
||||
import { RolePipe } from '../../shared/pipes/role.pipe';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
import { MatChipsModule } from '@angular/material/chips';
|
||||
import { MatTabsModule } from '@angular/material/tabs';
|
||||
import { MatDividerModule } from '@angular/material/divider';
|
||||
@@ -41,6 +42,7 @@ interface ChangePasswordForm {
|
||||
selector: 'app-account',
|
||||
imports: [
|
||||
RolePipe,
|
||||
PageContainerComponent,
|
||||
MatChipsModule,
|
||||
MatTabsModule,
|
||||
MatDividerModule,
|
||||
|
||||
@@ -1,16 +1,11 @@
|
||||
<section class="accounts-page">
|
||||
<header class="page-header">
|
||||
<div>
|
||||
<h1>Accounts</h1>
|
||||
<p>
|
||||
{{
|
||||
isReadOnly
|
||||
? 'Personen der eigenen Organisation ansehen.'
|
||||
: 'Account-Zugänge verwalten, Rollen setzen und Impersonation starten.'
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
<app-page-header
|
||||
title="Accounts"
|
||||
[subtitle]="
|
||||
isReadOnly
|
||||
? 'Personen der eigenen Organisation ansehen.'
|
||||
: 'Account-Zugänge verwalten, Rollen setzen und Impersonation starten.'
|
||||
" />
|
||||
|
||||
<section class="account-toolbar">
|
||||
<app-query-param-input
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.page-header,
|
||||
.filters,
|
||||
.table-header,
|
||||
.pagination,
|
||||
@@ -14,11 +13,6 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.account-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -38,18 +32,12 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
.page-header p {
|
||||
color: var(--sg-text-muted);
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.filters {
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
@@ -170,11 +158,6 @@ tr.deactivated:not(.deleted) {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.account-toolbar {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -52,6 +52,7 @@ import {
|
||||
PERSON_OFF_ICON,
|
||||
SWITCH_ACCOUNT_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageHeaderComponent } from '../../shared/ui/page-header/page-header.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-accounts',
|
||||
@@ -70,6 +71,7 @@ import {
|
||||
DataTableComponent,
|
||||
QueryParamPaginatorComponent,
|
||||
QueryParamInputComponent,
|
||||
PageHeaderComponent,
|
||||
QueryParamSelectorComponent,
|
||||
MatCardModule,
|
||||
StatusPipe,
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
<app-page-container
|
||||
eyebrow="Meine Sammlung"
|
||||
title="Bookmarks"
|
||||
subtitle="Gespeicherte Personen für den schnellen Zugriff.">
|
||||
<div pageActions class="bookmark-count">
|
||||
<mat-icon>{{ BOOKMARKS_ICON }}</mat-icon>
|
||||
<strong>{{ persons().length }}</strong>
|
||||
<span>Personen</span>
|
||||
</div>
|
||||
<main class="bookmarks-page">
|
||||
<header class="page-header">
|
||||
<div>
|
||||
<p class="eyebrow">Meine Sammlung</p>
|
||||
<h1>Bookmarks</h1>
|
||||
<p>Gespeicherte Personen für den schnellen Zugriff.</p>
|
||||
</div>
|
||||
<div class="bookmark-count">
|
||||
<mat-icon>{{ BOOKMARKS_ICON }}</mat-icon>
|
||||
<strong>{{ persons().length }}</strong>
|
||||
<span>Personen</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@if (loading()) {
|
||||
<app-loading
|
||||
@@ -38,3 +35,4 @@
|
||||
</section>
|
||||
}
|
||||
</main>
|
||||
</app-page-container>
|
||||
|
||||
@@ -3,34 +3,7 @@
|
||||
}
|
||||
|
||||
.bookmarks-page {
|
||||
padding: 32px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
margin-bottom: 30px;
|
||||
|
||||
h1 {
|
||||
margin: 2px 0 6px;
|
||||
font-size: 2rem;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
color: var(--sg-primary);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bookmark-count {
|
||||
@@ -86,14 +59,3 @@
|
||||
margin: 16px 0 6px;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.bookmarks-page {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import { BookmarkService } from '../../shared/services/bookmark.service';
|
||||
import { PersonCardComponent } from '../person-card/person-card.component';
|
||||
import { LoadingComponent } from '../../shared/ui/loading/loading.component';
|
||||
import { BOOKMARKS_ICON, BOOKMARK_BORDER_ICON } from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
const PERSON_INCLUDE_TAGS =
|
||||
'display_name,works_count,cited_by_count,summary_stats,ids,' +
|
||||
@@ -18,7 +19,13 @@ const PERSON_INCLUDE_TAGS =
|
||||
@Component({
|
||||
selector: 'app-bookmarks',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatIconModule, PersonCardComponent, LoadingComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatIconModule,
|
||||
PersonCardComponent,
|
||||
LoadingComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './bookmarks.component.html',
|
||||
styleUrl: './bookmarks.component.scss',
|
||||
})
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<app-page-container title="Autor:innen-Vergleich">
|
||||
<div class="compare-layout">
|
||||
<header class="compare-header">
|
||||
<h1>Autoren-Vergleich</h1>
|
||||
|
||||
<div class="compare-meta">
|
||||
@if (keywords().length > 0) {
|
||||
<div class="meta-row">
|
||||
@@ -151,6 +150,7 @@
|
||||
[loading]="orientationProfilesLoading()" />
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #statsTable let-rows="rows">
|
||||
<div class="table-scroll">
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
.compare-layout {
|
||||
padding: 28px 32px 42px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
max-width: 1280px;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -14,12 +13,6 @@
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
}
|
||||
|
||||
.compare-meta {
|
||||
|
||||
@@ -27,6 +27,7 @@ import {
|
||||
} from '../../shared/ui/topic-treemap/topic-treemap.component';
|
||||
import { ChipComponent } from '../../shared/ui/chip/chip.component';
|
||||
import { TopicChipComponent } from '../../shared/ui/topic-chip/topic-chip.component';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
import { ChartThemeService } from '../../shared/services/chart-theme.service';
|
||||
import { topicHierarchyColor } from '../../resolvers/utils/topic-colors';
|
||||
import {
|
||||
@@ -132,6 +133,7 @@ interface SegmentDef {
|
||||
TopicTreemapComponent,
|
||||
ChipComponent,
|
||||
TopicChipComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './compare-authors.component.html',
|
||||
styleUrl: './compare-authors.component.scss',
|
||||
|
||||
@@ -1,91 +1,94 @@
|
||||
<div class="dashboard-wrapper">
|
||||
<app-dashboard-filter
|
||||
[periodMode]="dashboard.periodMode"
|
||||
[minYear]="dashboard.minYear"
|
||||
[maxYear]="dashboard.maxYear"
|
||||
[(startYear)]="dashboard.fromYear"
|
||||
[(endYear)]="dashboard.toYear"
|
||||
[institutions]="dashboard.institutions"
|
||||
[institutionsLoading]="dashboard.institutionsLoading"
|
||||
[selectedInstitutionId]="dashboard.selectedInstitutionId"
|
||||
(periodModeSelected)="setDashboardPeriodMode($event)"
|
||||
(periodRangeChanged)="onDashboardPeriodRangeChange()"
|
||||
(institutionSelected)="onDashboardInstitutionChange($event)" />
|
||||
<app-page-container>
|
||||
<div class="dashboard-wrapper">
|
||||
<app-dashboard-filter
|
||||
[periodMode]="dashboard.periodMode"
|
||||
[minYear]="dashboard.minYear"
|
||||
[maxYear]="dashboard.maxYear"
|
||||
[(startYear)]="dashboard.fromYear"
|
||||
[(endYear)]="dashboard.toYear"
|
||||
[institutions]="dashboard.institutions"
|
||||
[institutionsLoading]="dashboard.institutionsLoading"
|
||||
[selectedInstitutionId]="dashboard.selectedInstitutionId"
|
||||
(periodModeSelected)="setDashboardPeriodMode($event)"
|
||||
(periodRangeChanged)="onDashboardPeriodRangeChange()"
|
||||
(institutionSelected)="onDashboardInstitutionChange($event)" />
|
||||
|
||||
<app-dashboard-statistics-grid
|
||||
[statistics]="dashboard.statistics"
|
||||
[loading]="dashboard.statisticLoading"
|
||||
[institutions]="dashboard.institutions"
|
||||
[selectedInstitutionId]="dashboard.selectedInstitutionId"
|
||||
[periodMode]="dashboard.periodMode"
|
||||
[fromYear]="dashboard.fromYear"
|
||||
[toYear]="dashboard.toYear" />
|
||||
|
||||
@if (dashboard.statisticsError) {
|
||||
<p class="statistics-error">Die Kennzahlen konnten nicht geladen werden.</p>
|
||||
}
|
||||
|
||||
<app-dashboard-institution-tabs
|
||||
[institutions]="dashboard.institutions"
|
||||
[selectedInstitutionId]="selectedAnalyticalInstitutionId"
|
||||
[error]="dashboard.institutionsError"
|
||||
(institutionSelected)="onAnalyticalInstitutionChange($event)" />
|
||||
|
||||
<app-dashboard-project-status
|
||||
[active]="!!selectedAnalyticalInstitutionId"
|
||||
[euStatuses]="dashboard.euProjectStatuses"
|
||||
[bundStatuses]="dashboard.bmbfProjectStatuses"
|
||||
[dfgStatuses]="dashboard.dfgProjectStatuses"
|
||||
[euLoading]="dashboard.euProjectStatusesLoading"
|
||||
[bundLoading]="dashboard.bmbfProjectStatusesLoading"
|
||||
[dfgLoading]="dashboard.dfgProjectStatusesLoading"
|
||||
[euError]="dashboard.euProjectStatusesError"
|
||||
[bundError]="dashboard.bmbfProjectStatusesError"
|
||||
[dfgError]="dashboard.dfgProjectStatusesError" />
|
||||
|
||||
@if (selectedAnalyticalInstitutionId) {
|
||||
|
||||
<app-dashboard-field-treemap
|
||||
[treemap]="dashboard.topicTreemap"
|
||||
[loading]="dashboard.topicTreemapLoading"
|
||||
[error]="dashboard.topicTreemapError"
|
||||
[(selectedNodeId)]="selectedTopicTreemapNode"
|
||||
<app-dashboard-statistics-grid
|
||||
[statistics]="dashboard.statistics"
|
||||
[loading]="dashboard.statisticLoading"
|
||||
[institutions]="dashboard.institutions"
|
||||
[selectedInstitutionId]="dashboard.selectedInstitutionId"
|
||||
[periodMode]="dashboard.periodMode"
|
||||
[fromYear]="dashboard.fromYear"
|
||||
[toYear]="dashboard.toYear"
|
||||
[institutionId]="selectedAnalyticalInstitutionId"
|
||||
(selectedNodeIdChange)="onTopicTreemapNodeChange()" />
|
||||
[toYear]="dashboard.toYear" />
|
||||
|
||||
<app-project-topics
|
||||
source="dfg"
|
||||
[projectTopics]="dashboard.dfgProjectTopics"
|
||||
[treemap]="dashboard.dfgTopicTreemap"
|
||||
[loading]="dashboard.dfgTopicsLoading"
|
||||
[error]="dashboard.dfgTopicsError"
|
||||
[(selectedNodeId)]="selectedDfgTopicTreemapNode"
|
||||
(selectedNodeIdChange)="onDfgTopicTreemapNodeChange()" />
|
||||
@if (dashboard.statisticsError) {
|
||||
<p class="statistics-error">
|
||||
Die Kennzahlen konnten nicht geladen werden.
|
||||
</p>
|
||||
}
|
||||
|
||||
<app-project-topics
|
||||
source="eu"
|
||||
[projectTopics]="dashboard.euProjectTopics"
|
||||
[treemap]="dashboard.euTopicTreemap"
|
||||
[loading]="dashboard.euTopicsLoading"
|
||||
[error]="dashboard.euTopicsError"
|
||||
[(selectedNodeId)]="selectedEuTopicTreemapNode"
|
||||
(selectedNodeIdChange)="onEuTopicTreemapNodeChange()" />
|
||||
<app-dashboard-institution-tabs
|
||||
[institutions]="dashboard.institutions"
|
||||
[selectedInstitutionId]="selectedAnalyticalInstitutionId"
|
||||
[error]="dashboard.institutionsError"
|
||||
(institutionSelected)="onAnalyticalInstitutionChange($event)" />
|
||||
|
||||
<app-project-topics
|
||||
source="bund"
|
||||
[projectTopics]="dashboard.bundProjectTopics"
|
||||
[treemap]="dashboard.bundTopicTreemap"
|
||||
[loading]="dashboard.bundTopicsLoading"
|
||||
[error]="dashboard.bundTopicsError"
|
||||
[(selectedNodeId)]="selectedBundTopicTreemapNode"
|
||||
(selectedNodeIdChange)="onBundTopicTreemapNodeChange()" />
|
||||
<app-dashboard-project-status
|
||||
[active]="!!selectedAnalyticalInstitutionId"
|
||||
[euStatuses]="dashboard.euProjectStatuses"
|
||||
[bundStatuses]="dashboard.bmbfProjectStatuses"
|
||||
[dfgStatuses]="dashboard.dfgProjectStatuses"
|
||||
[euLoading]="dashboard.euProjectStatusesLoading"
|
||||
[bundLoading]="dashboard.bmbfProjectStatusesLoading"
|
||||
[dfgLoading]="dashboard.dfgProjectStatusesLoading"
|
||||
[euError]="dashboard.euProjectStatusesError"
|
||||
[bundError]="dashboard.bmbfProjectStatusesError"
|
||||
[dfgError]="dashboard.dfgProjectStatusesError" />
|
||||
|
||||
<app-dashboard-top-authors
|
||||
[statistics]="dashboard.topAuthors"
|
||||
[loading]="dashboard.topAuthorsLoading"
|
||||
[error]="dashboard.topAuthorsError" />
|
||||
}
|
||||
</div>
|
||||
@if (selectedAnalyticalInstitutionId) {
|
||||
<app-dashboard-field-treemap
|
||||
[treemap]="dashboard.topicTreemap"
|
||||
[loading]="dashboard.topicTreemapLoading"
|
||||
[error]="dashboard.topicTreemapError"
|
||||
[(selectedNodeId)]="selectedTopicTreemapNode"
|
||||
[periodMode]="dashboard.periodMode"
|
||||
[fromYear]="dashboard.fromYear"
|
||||
[toYear]="dashboard.toYear"
|
||||
[institutionId]="selectedAnalyticalInstitutionId"
|
||||
(selectedNodeIdChange)="onTopicTreemapNodeChange()" />
|
||||
|
||||
<app-project-topics
|
||||
source="dfg"
|
||||
[projectTopics]="dashboard.dfgProjectTopics"
|
||||
[treemap]="dashboard.dfgTopicTreemap"
|
||||
[loading]="dashboard.dfgTopicsLoading"
|
||||
[error]="dashboard.dfgTopicsError"
|
||||
[(selectedNodeId)]="selectedDfgTopicTreemapNode"
|
||||
(selectedNodeIdChange)="onDfgTopicTreemapNodeChange()" />
|
||||
|
||||
<app-project-topics
|
||||
source="eu"
|
||||
[projectTopics]="dashboard.euProjectTopics"
|
||||
[treemap]="dashboard.euTopicTreemap"
|
||||
[loading]="dashboard.euTopicsLoading"
|
||||
[error]="dashboard.euTopicsError"
|
||||
[(selectedNodeId)]="selectedEuTopicTreemapNode"
|
||||
(selectedNodeIdChange)="onEuTopicTreemapNodeChange()" />
|
||||
|
||||
<app-project-topics
|
||||
source="bund"
|
||||
[projectTopics]="dashboard.bundProjectTopics"
|
||||
[treemap]="dashboard.bundTopicTreemap"
|
||||
[loading]="dashboard.bundTopicsLoading"
|
||||
[error]="dashboard.bundTopicsError"
|
||||
[(selectedNodeId)]="selectedBundTopicTreemapNode"
|
||||
(selectedNodeIdChange)="onBundTopicTreemapNodeChange()" />
|
||||
|
||||
<app-dashboard-top-authors
|
||||
[statistics]="dashboard.topAuthors"
|
||||
[loading]="dashboard.topAuthorsLoading"
|
||||
[error]="dashboard.topAuthorsError" />
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
.dashboard-wrapper {
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
color: var(--sg-text);
|
||||
|
||||
.statistics-error {
|
||||
|
||||
@@ -10,10 +10,12 @@ import { DashboardFieldTreemapComponent } from './components/dashboard-field-tre
|
||||
import { DashboardInstitutionTabsComponent } from './components/dashboard-institution-tabs/dashboard-institution-tabs.component';
|
||||
import { DashboardFacade } from './services/dashboard.facade';
|
||||
import { DashboardPeriodMode } from './dashboard.models';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'dashboard',
|
||||
imports: [
|
||||
PageContainerComponent,
|
||||
DashboardFilterComponent,
|
||||
DashboardStatisticsGridComponent,
|
||||
DashboardTopAuthorsComponent,
|
||||
|
||||
+299
-330
@@ -1,49 +1,66 @@
|
||||
<div class="founder-dashboard">
|
||||
<header class="hero">
|
||||
<p class="eyebrow">Gründungspotenzial · {{ universityName() }}</p>
|
||||
</header>
|
||||
@if (hasData()) {
|
||||
<header class="hero">
|
||||
<h1>Welche Forschenden könnten künftig gründen?</h1>
|
||||
<p class="lede">
|
||||
Dieses Dashboard zeigt das Gründungspotenzial der Forschenden der
|
||||
<strong>{{ universityName() }}</strong
|
||||
>. Ein Modell bewertet jede Person gegen rund 9.000
|
||||
Wissenschaftler:innen aus acht Universitäten. Der Score allein ist noch
|
||||
keine Shortlist – viele Top-Scores sind fehlerhafte Datensätze. Deshalb
|
||||
zeigt die Seite zuerst das Screening, danach die Personen, die es
|
||||
bestehen.
|
||||
<app-page-container
|
||||
title="Gründungspotenzial von {{ universityName() }}"
|
||||
[subtitle]="
|
||||
'Gründungspotenzial der Forschenden der ' +
|
||||
universityName() +
|
||||
'. Das Modell vergleicht Profile mit rund 9.000 Forschenden aus acht Universitäten; ein hoher Score ist keine Shortlist, daher wird die Datenqualität zusätzlich geprüft.'
|
||||
">
|
||||
<div class="founder-dashboard">
|
||||
<app-methodology-note>
|
||||
<p>
|
||||
<strong>Datenbasis:</strong> Publikationen, Patente, Förderungen und
|
||||
Industriekooperationen werden für Forschende der Universität bis zum
|
||||
jeweiligen Datenstichtag zusammengeführt. Ein vortrainiertes,
|
||||
symmetrisch aufgebautes Modell schätzt die Ähnlichkeit zu Profilen von
|
||||
Personen, die gegründet haben.
|
||||
</p>
|
||||
</header>
|
||||
<ul>
|
||||
<li>
|
||||
Der Hauptwert ist ein
|
||||
<strong
|
||||
>Perzentil gegenüber einer festen Referenzkohorte von rund 9.000
|
||||
Forschenden aus acht anderen Universitäten</strong
|
||||
>
|
||||
– keine individuelle Gründungswahrscheinlichkeit.
|
||||
</li>
|
||||
<li>
|
||||
„Innerhalb 1 / 3 / 5 Jahre“ kommt aus drei eigenen Horizont-Modellen.
|
||||
Bewertbar sind Profile ab mindestens vier Publikationen. Die
|
||||
Kandidatenliste blendet standardmäßig Profile mit weniger als sieben
|
||||
Publikationen, unplausibel langen Karrieren (über 40 Jahre) und
|
||||
wahrscheinlichen Profilzusammenführungen aus.
|
||||
</li>
|
||||
</ul>
|
||||
</app-methodology-note>
|
||||
@if (hasData()) {
|
||||
<div class="kpis">
|
||||
<mat-card appearance="outlined" class="kpi">
|
||||
<mat-card-content>
|
||||
<div class="kpi__key">Forschende im Index</div>
|
||||
<div class="kpi__value">{{ fmtInt(kpis().total) }}</div>
|
||||
<div class="kpi__sub">gesamte Kohorte</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
<mat-card appearance="outlined" class="kpi">
|
||||
<mat-card-content>
|
||||
<div class="kpi__key">Bestehen Datenqualität</div>
|
||||
<div class="kpi__value">{{ fmtInt(kpis().passed) }}</div>
|
||||
<div class="kpi__sub">{{ kpis().share }} % der Kohorte</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
<mat-card appearance="outlined" class="kpi kpi--hero">
|
||||
<mat-card-content>
|
||||
<div class="kpi__key">Auf der Shortlist</div>
|
||||
<div class="kpi__value">{{ fmtInt(kpis().shortlisted) }}</div>
|
||||
<div class="kpi__sub">
|
||||
Score ≥ {{ fmt1(threshold())
|
||||
}}{{ screened() ? ', gescreent' : ', ungescreent' }}
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</div>
|
||||
|
||||
<div class="kpis">
|
||||
<mat-card appearance="outlined" class="kpi">
|
||||
<mat-card-content>
|
||||
<div class="kpi__key">Forschende im Index</div>
|
||||
<div class="kpi__value">{{ fmtInt(kpis().total) }}</div>
|
||||
<div class="kpi__sub">gesamte Kohorte</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
<mat-card appearance="outlined" class="kpi">
|
||||
<mat-card-content>
|
||||
<div class="kpi__key">Bestehen Datenqualität</div>
|
||||
<div class="kpi__value">{{ fmtInt(kpis().passed) }}</div>
|
||||
<div class="kpi__sub">{{ kpis().share }} % der Kohorte</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
<mat-card appearance="outlined" class="kpi kpi--hero">
|
||||
<mat-card-content>
|
||||
<div class="kpi__key">Auf der Shortlist</div>
|
||||
<div class="kpi__value">{{ fmtInt(kpis().shortlisted) }}</div>
|
||||
<div class="kpi__sub">
|
||||
Score ≥ {{ fmt1(threshold())
|
||||
}}{{ screened() ? ', gescreent' : ', ungescreent' }}
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<!-- <section>
|
||||
<h2>1 · Warum die Shortlist klein ist</h2>
|
||||
<p class="note">
|
||||
Jeder Balken zeigt, wie viele Personen nach einer Screening-Regel übrig
|
||||
@@ -67,282 +84,250 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
</section> -->
|
||||
<section>
|
||||
<h2>1 · Woher die Kandidat:innen kommen</h2>
|
||||
<p class="note">
|
||||
Beide Panels nutzen die Shortlist am aktuellen Schwellenwert.
|
||||
</p>
|
||||
<div class="charts">
|
||||
<mat-card appearance="outlined" class="chart-card">
|
||||
<mat-card-content>
|
||||
<div class="chart__ttl">Karrierestufe</div>
|
||||
<div class="chart__body">
|
||||
@for (s of stageRows(); track s.career_bucket) {
|
||||
<div class="chart__row">
|
||||
<span class="chart__label">{{ s.career_bucket }}</span>
|
||||
<span
|
||||
class="chart__track"
|
||||
[title]="
|
||||
(s.shortlist_plain ?? 0) +
|
||||
' von ' +
|
||||
fmtInt(s.screened) +
|
||||
' gescreenten Forschenden'
|
||||
">
|
||||
<mat-progress-bar
|
||||
mode="determinate"
|
||||
[value]="
|
||||
((s.shortlist_plain ?? 0) / stageMax()) * 100
|
||||
" />
|
||||
</span>
|
||||
<span class="chart__num"
|
||||
>{{ s.shortlist_plain ?? 0 }}
|
||||
<small>/ {{ fmtInt(s.screened) }}</small></span
|
||||
>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="chart__axis">
|
||||
Balken sind Kandidatenzahlen; die graue Zahl ist der gescreente
|
||||
Pool der Stufe.
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<section>
|
||||
<h2>2 · Die Shortlist</h2>
|
||||
<p class="note">
|
||||
Verschiebe den Schwellenwert, um Listenlänge gegen Sicherheit abzuwägen.
|
||||
Aktiviere das Screening für eine handlungsfähige Liste; deaktiviere es,
|
||||
um zu sehen, was der rohe Modell-Score hervorgebracht hätte – orange
|
||||
Zeilen sind Datensätze, die eine Datenqualitätsregel verletzt haben.
|
||||
Klicke auf eine Person, um ihre Karte zu öffnen.
|
||||
</p>
|
||||
<mat-card appearance="outlined" class="chart-card">
|
||||
<mat-card-content>
|
||||
<div class="chart__ttl">
|
||||
Forschungsfeld, vs. Anteil an der Kohorte
|
||||
</div>
|
||||
<div class="chart__body">
|
||||
@for (a of areaRows(); track a.code) {
|
||||
<div class="chart__row">
|
||||
<span class="chart__label">{{ a.label ?? a.code }}</span>
|
||||
<span
|
||||
class="chart__track"
|
||||
[title]="
|
||||
(a.shortlist_count ?? 0) +
|
||||
' Kandidat:innen; dieses Feld ist ' +
|
||||
fmt1((a.cohort_share ?? 0) * 100) +
|
||||
' % der gescreenten Kohorte'
|
||||
">
|
||||
<mat-progress-bar
|
||||
mode="determinate"
|
||||
[value]="
|
||||
((a.shortlist_count ?? 0) / areaMax()) * 100
|
||||
" />
|
||||
</span>
|
||||
<span class="chart__num"
|
||||
>{{ a.shortlist_count ?? 0 }}
|
||||
<small
|
||||
>· {{ fmt1((a.cohort_share ?? 0) * 100) }} % der
|
||||
Kohorte</small
|
||||
></span
|
||||
>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="chart__axis">
|
||||
Balken sind Kandidatenzahlen. Die graue Zahl ist der Anteil des
|
||||
Feldes an der gescreenten Kohorte – ein Feld deutlich über
|
||||
seinem Anteil überproduziert.
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<h2>2 · Die Shortlist</h2>
|
||||
<p class="note">
|
||||
Verschiebe den Schwellenwert, um Listenlänge gegen Sicherheit
|
||||
abzuwägen. Aktiviere das Screening für eine handlungsfähige Liste;
|
||||
deaktiviere es, um zu sehen, was der rohe Modell-Score hervorgebracht
|
||||
hätte – orange Zeilen sind Datensätze, die eine Datenqualitätsregel
|
||||
verletzt haben. Klicke auf eine Person, um ihre Karte zu öffnen.
|
||||
</p>
|
||||
|
||||
<div class="controls">
|
||||
<span class="controls__range">Minimaler Score</span>
|
||||
<mat-slider
|
||||
class="controls__slider"
|
||||
[min]="50"
|
||||
[max]="100"
|
||||
[step]="1"
|
||||
[discrete]="true"
|
||||
[displayWith]="formatThreshold">
|
||||
<input
|
||||
matSliderThumb
|
||||
[value]="thresholdDraft()"
|
||||
(valueChange)="onSliderInput($event)"
|
||||
(dragEnd)="onSliderCommit($event.value)"
|
||||
(keyup)="onSliderCommit()"
|
||||
aria-label="Minimaler Score" />
|
||||
</mat-slider>
|
||||
<span class="controls__value">{{ thresholdDraft() }}</span>
|
||||
<mat-slide-toggle
|
||||
[checked]="screened()"
|
||||
(change)="onScreenedChange($event.checked)">
|
||||
Fehlerhafte Datensätze aussortieren
|
||||
</mat-slide-toggle>
|
||||
<span class="controls__count">
|
||||
{{ fmtInt(total()) }} {{ total() === 1 ? 'Person' : 'Personen' }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<span class="controls__range">Minimaler Score</span>
|
||||
<mat-slider
|
||||
class="controls__slider"
|
||||
[min]="50"
|
||||
[max]="100"
|
||||
[step]="1"
|
||||
[discrete]="true"
|
||||
[displayWith]="formatThreshold">
|
||||
<input
|
||||
matSliderThumb
|
||||
[value]="thresholdDraft()"
|
||||
(valueChange)="onSliderInput($event)"
|
||||
(dragEnd)="onSliderCommit($event.value)"
|
||||
(keyup)="onSliderCommit()"
|
||||
aria-label="Minimaler Score" />
|
||||
</mat-slider>
|
||||
<span class="controls__value">{{ thresholdDraft() }}</span>
|
||||
<mat-slide-toggle
|
||||
[checked]="screened()"
|
||||
(change)="onScreenedChange($event.checked)">
|
||||
Fehlerhafte Datensätze aussortieren
|
||||
</mat-slide-toggle>
|
||||
<span class="controls__count">
|
||||
{{ fmtInt(total()) }} {{ total() === 1 ? 'Person' : 'Personen' }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<mat-card appearance="outlined" class="list-card">
|
||||
<mat-card appearance="outlined" class="list-card">
|
||||
<mat-card-content>
|
||||
@if (rows().length) {
|
||||
<app-data-table
|
||||
[columns]="columns()"
|
||||
[data]="rows()"
|
||||
[selectedRow]="selectedRow()"
|
||||
(rowClick)="selectCandidate($event.candidate.author_id)" />
|
||||
} @else {
|
||||
<div class="list__empty">
|
||||
Niemand erreicht diesen Schwellenwert, sobald fehlerhafte
|
||||
Datensätze aussortiert sind. Senke den Schwellenwert für eine
|
||||
handlungsfähige Liste.
|
||||
</div>
|
||||
}
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<app-query-param-paginator
|
||||
[total]="total()"
|
||||
[pageSizeOptions]="[10, 25, 50]" />
|
||||
|
||||
@if (selectedRow(); as row) {
|
||||
<mat-card appearance="outlined" class="card">
|
||||
<mat-card-content>
|
||||
<div class="card__head">
|
||||
<div>
|
||||
<h3>{{ row.name }}</h3>
|
||||
<div class="card__meta">
|
||||
{{ row.candidate.career_bucket ?? '–' }}
|
||||
@if (row.areaLabel) {
|
||||
· {{ row.areaLabel }}
|
||||
}
|
||||
· {{ fmtInt(row.candidate.active_years) }} aktive Jahre
|
||||
@if (!row.candidate.screen.passed && row.flagLabel) {
|
||||
·
|
||||
<span class="card__flag"
|
||||
>auffällig: {{ row.flagLabel }}</span
|
||||
>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card__grid card__grid--founder-only">
|
||||
<div class="panel">
|
||||
<div class="panel__ttl">Gründungspotenzial</div>
|
||||
<p class="panel__cap">
|
||||
Perzentil gegenüber der Modell-Referenzkohorte; keine
|
||||
individuelle Wahrscheinlichkeit.
|
||||
</p>
|
||||
<app-score-bar
|
||||
label="Score"
|
||||
[value]="row.score ?? 0"
|
||||
[display]="fmt1(row.score)" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 1 Jahr"
|
||||
[value]="row.within[0] ?? 0"
|
||||
[display]="fmt1(row.within[0])" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 3 Jahre"
|
||||
[value]="row.within[1] ?? 0"
|
||||
[display]="fmt1(row.within[1])" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 5 Jahre"
|
||||
[value]="row.within[2] ?? 0"
|
||||
[display]="fmt1(row.within[2])" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="facts">
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Publikationen
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.publications)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Patente
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.patents)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Industrie-Publikationen
|
||||
<b>{{
|
||||
fmtInt(
|
||||
row.candidate.founder_features?.industry_collab_papers
|
||||
)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Förderungen
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.grants)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>aktive Jahre
|
||||
<b>{{ fmtInt(row.candidate.active_years) }}</b></app-chip
|
||||
>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
}
|
||||
</section>
|
||||
} @else {
|
||||
<mat-card appearance="outlined" class="empty-state">
|
||||
<mat-card-content>
|
||||
@if (rows().length) {
|
||||
<app-data-table
|
||||
[columns]="columns()"
|
||||
[data]="rows()"
|
||||
[selectedRow]="selectedRow()"
|
||||
(rowClick)="selectCandidate($event.candidate.author_id)" />
|
||||
} @else {
|
||||
<div class="list__empty">
|
||||
Niemand erreicht diesen Schwellenwert, sobald fehlerhafte
|
||||
Datensätze aussortiert sind. Senke den Schwellenwert für eine
|
||||
handlungsfähige Liste.
|
||||
</div>
|
||||
}
|
||||
<mat-icon class="empty-state__icon">{{ FOUNDER_ICON }}</mat-icon>
|
||||
<h2>Noch kein Gründungspotenzial berechnet</h2>
|
||||
<p>
|
||||
Für die <strong>{{ universityName() }}</strong> wurde das
|
||||
Gründungspotenzial noch nicht berechnet. Sobald die Auswertung
|
||||
vorliegt, erscheinen hier die Kandidat:innen und ihre
|
||||
Gründungspotenzial-Scores.
|
||||
</p>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<app-query-param-paginator
|
||||
[total]="total()"
|
||||
[pageSizeOptions]="[10, 25, 50]" />
|
||||
|
||||
@if (selectedRow(); as row) {
|
||||
<mat-card appearance="outlined" class="card">
|
||||
<mat-card-content>
|
||||
<div class="card__head">
|
||||
<div>
|
||||
<h3>{{ row.name }}</h3>
|
||||
<div class="card__meta">
|
||||
{{ row.candidate.career_bucket ?? '–' }}
|
||||
@if (row.areaLabel) {
|
||||
· {{ row.areaLabel }}
|
||||
}
|
||||
· {{ fmtInt(row.candidate.active_years) }} aktive Jahre
|
||||
@if (!row.candidate.screen.passed && row.flagLabel) {
|
||||
·
|
||||
<span class="card__flag"
|
||||
>auffällig: {{ row.flagLabel }}</span
|
||||
>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
mat-stroked-button
|
||||
color="primary"
|
||||
(click)="openNetwork(row.candidate.author_id)">
|
||||
<mat-icon>{{ NETWORK_ICON }}</mat-icon>
|
||||
Netzwerk öffnen
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="card__grid">
|
||||
<div class="panel">
|
||||
<div class="panel__ttl">Gründungspotenzial</div>
|
||||
<p class="panel__cap">
|
||||
Rang gegen ~9.000 Wissenschaftler:innen an anderen
|
||||
Universitäten.
|
||||
</p>
|
||||
<app-score-bar
|
||||
label="Score"
|
||||
[value]="row.score ?? 0"
|
||||
[display]="fmt1(row.score)" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 1 Jahr"
|
||||
[value]="row.within[0] ?? 0"
|
||||
[display]="fmt1(row.within[0])" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 3 Jahre"
|
||||
[value]="row.within[1] ?? 0"
|
||||
[display]="fmt1(row.within[1])" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 5 Jahre"
|
||||
[value]="row.within[2] ?? 0"
|
||||
[display]="fmt1(row.within[2])" />
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
<div class="panel__ttl">Multiplikator-Rollen</div>
|
||||
<p class="panel__cap">
|
||||
Rang gegen Peers dieser Universität auf derselben
|
||||
Karrierestufe.
|
||||
</p>
|
||||
@for (s of subScores(); track s.key) {
|
||||
<app-score-bar
|
||||
variant="success"
|
||||
[label]="s.label"
|
||||
[hint]="s.hint"
|
||||
[value]="s.value * 100"
|
||||
[display]="fmtSubScore(s.value)" />
|
||||
}
|
||||
<div class="facts">
|
||||
@if (row.candidate.tags?.length) {
|
||||
@for (tag of row.candidate.tags ?? []; track tag) {
|
||||
<app-chip
|
||||
color="info"
|
||||
[matTooltip]="tagDescription(tag)"
|
||||
matTooltipPosition="above">
|
||||
{{ tagLabel(tag) }}
|
||||
</app-chip>
|
||||
}
|
||||
} @else {
|
||||
<span class="fact">kein Multiplikator-Badge</span>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="facts">
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Publikationen
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.publications)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Patente
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.patents)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Industrie-Publikationen
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.industry_collab_papers)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Förderungen
|
||||
<b>{{
|
||||
fmtInt(row.candidate.founder_features?.grants)
|
||||
}}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>aktive Jahre
|
||||
<b>{{ fmtInt(row.candidate.active_years) }}</b></app-chip
|
||||
>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
}
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>3 · Woher die Kandidat:innen kommen</h2>
|
||||
<p class="note">
|
||||
Beide Panels nutzen die Shortlist am aktuellen Schwellenwert.
|
||||
</p>
|
||||
<div class="charts">
|
||||
<mat-card appearance="outlined" class="chart-card">
|
||||
<mat-card-content>
|
||||
<div class="chart__ttl">Karrierestufe</div>
|
||||
<div class="chart__body">
|
||||
@for (s of stageRows(); track s.career_bucket) {
|
||||
<div class="chart__row">
|
||||
<span class="chart__label">{{ s.career_bucket }}</span>
|
||||
<span
|
||||
class="chart__track"
|
||||
[title]="
|
||||
(s.shortlist_plain ?? 0) +
|
||||
' von ' +
|
||||
fmtInt(s.screened) +
|
||||
' gescreenten Forschenden'
|
||||
">
|
||||
<mat-progress-bar
|
||||
mode="determinate"
|
||||
[value]="((s.shortlist_plain ?? 0) / stageMax()) * 100" />
|
||||
</span>
|
||||
<span class="chart__num"
|
||||
>{{ s.shortlist_plain ?? 0 }}
|
||||
<small>/ {{ fmtInt(s.screened) }}</small></span
|
||||
>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="chart__axis">
|
||||
Balken sind Kandidatenzahlen; die graue Zahl ist der gescreente
|
||||
Pool der Stufe.
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<mat-card appearance="outlined" class="chart-card">
|
||||
<mat-card-content>
|
||||
<div class="chart__ttl">
|
||||
Forschungsfeld, vs. Anteil an der Kohorte
|
||||
</div>
|
||||
<div class="chart__body">
|
||||
@for (a of areaRows(); track a.code) {
|
||||
<div class="chart__row">
|
||||
<span class="chart__label">{{ a.label ?? a.code }}</span>
|
||||
<span
|
||||
class="chart__track"
|
||||
[title]="
|
||||
(a.shortlist_count ?? 0) +
|
||||
' Kandidat:innen; dieses Feld ist ' +
|
||||
fmt1((a.cohort_share ?? 0) * 100) +
|
||||
' % der gescreenten Kohorte'
|
||||
">
|
||||
<mat-progress-bar
|
||||
mode="determinate"
|
||||
[value]="((a.shortlist_count ?? 0) / areaMax()) * 100" />
|
||||
</span>
|
||||
<span class="chart__num"
|
||||
>{{ a.shortlist_count ?? 0 }}
|
||||
<small
|
||||
>· {{ fmt1((a.cohort_share ?? 0) * 100) }} % der
|
||||
Kohorte</small
|
||||
></span
|
||||
>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="chart__axis">
|
||||
Balken sind Kandidatenzahlen. Die graue Zahl ist der Anteil des
|
||||
Feldes an der gescreenten Kohorte – ein Feld deutlich über seinem
|
||||
Anteil überproduziert.
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</div>
|
||||
</section>
|
||||
} @else {
|
||||
<mat-card appearance="outlined" class="empty-state">
|
||||
<mat-card-content>
|
||||
<mat-icon class="empty-state__icon">{{ FOUNDER_ICON }}</mat-icon>
|
||||
<h2>Noch kein Gründungspotenzial berechnet</h2>
|
||||
<p>
|
||||
Für die <strong>{{ universityName() }}</strong> wurde das
|
||||
Gründungspotenzial noch nicht berechnet. Sobald die Auswertung
|
||||
vorliegt, erscheinen hier die Kandidat:innen, ihre Scores und ihre
|
||||
Multiplikator-Netzwerke.
|
||||
</p>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #nameTemplate let-row>
|
||||
<span class="list__name">
|
||||
@@ -394,19 +379,3 @@
|
||||
}
|
||||
</span>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #actionsTemplate let-row>
|
||||
<span class="list__actions">
|
||||
@if (!row.candidate.screen.passed && row.flagLabel) {
|
||||
<span class="warn-pill">{{ row.flagLabel }}</span>
|
||||
}
|
||||
<button
|
||||
mat-icon-button
|
||||
type="button"
|
||||
[attr.aria-label]="'Netzwerk von ' + row.name + ' öffnen'"
|
||||
matTooltip="Netzwerk öffnen"
|
||||
(click)="openNetwork(row.candidate.author_id); $event.stopPropagation()">
|
||||
<mat-icon>{{ NETWORK_ICON }}</mat-icon>
|
||||
</button>
|
||||
</span>
|
||||
</ng-template>
|
||||
|
||||
+10
-38
@@ -1,39 +1,6 @@
|
||||
.founder-dashboard {
|
||||
max-width: 1080px;
|
||||
margin: 0 auto;
|
||||
padding: 24px 8px 64px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
margin-bottom: 8px;
|
||||
|
||||
.eyebrow {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
color: var(--sg-text-soft);
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
line-height: 1.15;
|
||||
margin: 0 0 12px;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
.lede {
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 15.5px;
|
||||
margin: 0;
|
||||
max-width: 66ch;
|
||||
|
||||
strong {
|
||||
color: var(--sg-text);
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
section {
|
||||
@@ -42,7 +9,7 @@ section {
|
||||
|
||||
.empty-state {
|
||||
margin-top: 28px;
|
||||
max-width: 72ch;
|
||||
width: 100%;
|
||||
background: var(--sg-surface-muted);
|
||||
|
||||
.mat-mdc-card-content {
|
||||
@@ -77,9 +44,10 @@ section {
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
margin: 0 0 4px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
@@ -432,6 +400,10 @@ h2 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 18px;
|
||||
|
||||
&--founder-only {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.panel {
|
||||
|
||||
+11
-38
@@ -11,13 +11,11 @@ import {
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { toSignal } from '@angular/core/rxjs-interop';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||
import { MatSliderModule } from '@angular/material/slider';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
|
||||
import {
|
||||
CareerStageStatistics,
|
||||
@@ -32,9 +30,6 @@ import {
|
||||
clamp,
|
||||
fmt1,
|
||||
fmtInt,
|
||||
fmtSubScore,
|
||||
tagDescription,
|
||||
tagLabel,
|
||||
} from '../founder-potential.utils';
|
||||
import { ScoreBarComponent } from '../../../shared/ui/score-bar/score-bar.component';
|
||||
import { QueryParamPaginatorComponent } from '../../../shared/ui/query-param-paginator/query-param-paginator.component';
|
||||
@@ -43,11 +38,12 @@ import {
|
||||
DataTableComponent,
|
||||
GenericColumn,
|
||||
} from '../../../shared/ui/data-table/data-table.component';
|
||||
import { FOUNDER_ICON, NETWORK_ICON } from '../../../shared/ui/icons';
|
||||
import { MethodologyNoteComponent } from '../../../shared/ui/methodology-note/methodology-note.component';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
import { FOUNDER_ICON } from '../../../shared/ui/icons';
|
||||
import { CredentialService } from '../../../shared/services/credential.service';
|
||||
|
||||
const FALLBACK_UNIVERSITY = 'Universität Duisburg-Essen';
|
||||
const SUB_SCORE_KEYS = ['bridger', 'mentor', 'amplifier'] as const;
|
||||
|
||||
/**
|
||||
* A shortlist row: the generated candidate plus only the values that the
|
||||
@@ -68,23 +64,22 @@ interface FounderRow {
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatButtonModule,
|
||||
MatCardModule,
|
||||
MatIconModule,
|
||||
MatProgressBarModule,
|
||||
MatSlideToggleModule,
|
||||
MatSliderModule,
|
||||
MatTooltipModule,
|
||||
ScoreBarComponent,
|
||||
QueryParamPaginatorComponent,
|
||||
ChipComponent,
|
||||
DataTableComponent,
|
||||
MethodologyNoteComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './founder-dashboard.component.html',
|
||||
styleUrl: './founder-dashboard.component.scss',
|
||||
})
|
||||
export class FounderDashboardComponent {
|
||||
readonly NETWORK_ICON = NETWORK_ICON;
|
||||
readonly FOUNDER_ICON = FOUNDER_ICON;
|
||||
|
||||
readonly statistics = input.required<FounderStatistics>();
|
||||
@@ -108,8 +103,12 @@ export class FounderDashboardComponent {
|
||||
initialValue: this.route.snapshot.queryParamMap,
|
||||
});
|
||||
|
||||
readonly threshold = computed(() => toNumber(this.queryParams().get('threshold')) ?? 90);
|
||||
readonly screened = computed(() => (this.queryParams().get('screened') ?? 'true') === 'true');
|
||||
readonly threshold = computed(
|
||||
() => toNumber(this.queryParams().get('threshold')) ?? 90,
|
||||
);
|
||||
readonly screened = computed(
|
||||
() => this.queryParams().get('screened') === 'true',
|
||||
);
|
||||
|
||||
/** Live value while dragging the slider; committed to the URL on release. */
|
||||
readonly thresholdDraft = signal<number>(90);
|
||||
@@ -159,8 +158,6 @@ export class FounderDashboardComponent {
|
||||
viewChild.required<TemplateRef<FounderRow>>('withinTemplate');
|
||||
private readonly evidenceTemplate =
|
||||
viewChild.required<TemplateRef<FounderRow>>('evidenceTemplate');
|
||||
private readonly actionsTemplate =
|
||||
viewChild.required<TemplateRef<FounderRow>>('actionsTemplate');
|
||||
|
||||
readonly columns = computed<GenericColumn<FounderRow>[]>(() => [
|
||||
{
|
||||
@@ -187,12 +184,6 @@ export class FounderDashboardComponent {
|
||||
type: 'display',
|
||||
cellTemplate: this.evidenceTemplate(),
|
||||
},
|
||||
{
|
||||
id: 'actions',
|
||||
header: '',
|
||||
type: 'display',
|
||||
cellTemplate: this.actionsTemplate(),
|
||||
},
|
||||
]);
|
||||
|
||||
readonly total = computed(() => this.candidates().total ?? 0);
|
||||
@@ -212,25 +203,10 @@ export class FounderDashboardComponent {
|
||||
return rows[0] ?? null;
|
||||
});
|
||||
|
||||
/** The three multiplier roles of the selected person, with their tooltips. */
|
||||
readonly subScores = computed(() => {
|
||||
const peerRanks = this.selectedRow()?.candidate.multiplier_peer_ranks;
|
||||
return SUB_SCORE_KEYS.map((key) => ({
|
||||
key,
|
||||
label: tagLabel(key),
|
||||
hint: tagDescription(key),
|
||||
value: peerRanks?.[key] ?? 0,
|
||||
}));
|
||||
});
|
||||
|
||||
selectCandidate(id: string): void {
|
||||
this.selectedId.set(id);
|
||||
}
|
||||
|
||||
openNetwork(id: string): void {
|
||||
void this.router.navigate(['/founders', id]);
|
||||
}
|
||||
|
||||
// -- Controls -----------------------------------------------------------
|
||||
|
||||
/** Discrete label inside the Material slider thumb. */
|
||||
@@ -283,9 +259,6 @@ export class FounderDashboardComponent {
|
||||
|
||||
readonly fmtInt = fmtInt;
|
||||
readonly fmt1 = fmt1;
|
||||
readonly fmtSubScore = fmtSubScore;
|
||||
readonly tagLabel = tagLabel;
|
||||
readonly tagDescription = tagDescription;
|
||||
|
||||
/** Clamp a percentile into the 0-100 band for bar widths. */
|
||||
readonly clamp0 = (value: number | null) =>
|
||||
|
||||
@@ -1,34 +1,30 @@
|
||||
import { ResearcherMetrics } from '../../api';
|
||||
import {
|
||||
MULTIPLIER_TAG_DESCRIPTIONS,
|
||||
MULTIPLIER_TAG_LABELS,
|
||||
multiplierTagDescription,
|
||||
multiplierTagLabel,
|
||||
} from '../../shared/ui/multiplier-role-scores/multiplier-role-labels';
|
||||
|
||||
/**
|
||||
* Multiplier archetype labels. These stay in English on purpose: Bridger,
|
||||
* Mentor and Amplifier are the model's own role names and are not translated.
|
||||
*/
|
||||
export const TAG_LABELS: Record<string, string> = {
|
||||
bridger: 'Bridger',
|
||||
mentor: 'Mentor',
|
||||
amplifier: 'Amplifier',
|
||||
...MULTIPLIER_TAG_LABELS,
|
||||
};
|
||||
|
||||
/** What each multiplier archetype means, shown as a tooltip. */
|
||||
export const TAG_DESCRIPTIONS: Record<string, string> = {
|
||||
bridger:
|
||||
'Bridger: verbindet Personengruppen, die sonst nicht zusammenarbeiten würden. ' +
|
||||
'Hohe Brokerage zwischen ansonsten getrennten Koautor:innen-Netzen.',
|
||||
mentor:
|
||||
'Mentor: führt Nachwuchsforschende als Erstautor:innen in gemeinsame ' +
|
||||
'Publikationen und fördert deren weitere Laufbahn.',
|
||||
amplifier:
|
||||
'Amplifier: trägt Wissen nach außen – über Patente, ' +
|
||||
'Industriekollaborationen, Medienresonanz und EU-Projekte.',
|
||||
...MULTIPLIER_TAG_DESCRIPTIONS,
|
||||
};
|
||||
|
||||
export function tagLabel(tag: string): string {
|
||||
return TAG_LABELS[tag] ?? tag;
|
||||
return multiplierTagLabel(tag);
|
||||
}
|
||||
|
||||
export function tagDescription(tag: string): string {
|
||||
return TAG_DESCRIPTIONS[tag] ?? TAG_LABELS[tag] ?? tag;
|
||||
return multiplierTagDescription(tag);
|
||||
}
|
||||
|
||||
/** German labels for the data-quality screen reasons. */
|
||||
|
||||
+253
@@ -0,0 +1,253 @@
|
||||
<app-page-container
|
||||
title="Multiplikatoren von {{ universityName() }}"
|
||||
[subtitle]="
|
||||
'Entdecke Forschende, die Forschungsgruppen verbinden, Nachwuchs fördern oder Wissen in Wirtschaft und Öffentlichkeit tragen. Die Rollen-Scores vergleichen Forschende derselben Karrierestufe an der ' +
|
||||
universityName() +
|
||||
'.'
|
||||
">
|
||||
<div class="multipliers-dashboard">
|
||||
<app-methodology-note>
|
||||
<p>
|
||||
<strong>Datenbasis:</strong> Die UDE-Kohorte umfasst die Universität und
|
||||
acht zugehörige Einrichtungen. Forschende werden anhand jüngerer
|
||||
OpenAlex-Affiliationen ausgewählt; ihre Publikationen und
|
||||
Koautorenschaften werden anschließend institutionsübergreifend
|
||||
ausgewertet. Die Rollen-Scores vergleichen nur Personen derselben
|
||||
Karrierestufe.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Bridger:</strong> Netzwerkvermittlung, Verbindungen zwischen
|
||||
Fachgebieten und Institutionen.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Mentor:</strong> gemeinsame Publikationen mit Nachwuchs sowie
|
||||
Hinweise auf Betreuung und deren berufliche Entwicklung.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Amplifier:</strong> Industriekooperationen, verknüpfte
|
||||
Patente, EU-Projekte und relevante Medienerwähnungen.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Rohmetriken werden zunächst innerhalb der vier Karrierestufen
|
||||
<strong>Early, Emerging, Established, Senior</strong> in Peer-Ränge
|
||||
umgerechnet. Die drei Rollen-Scores sind gewichtete Mittel dieser Ränge:
|
||||
Bridger (35 % Betweenness, 25 % Brokerage, 20 %
|
||||
Feldbreite, 20 % institutionsübergreifende Zusammenarbeit), Mentor
|
||||
(35 % Nachwuchs, 25 % Mentoring-Rate, 25 % typische
|
||||
Autor:innenrollen, 15 % Nachwuchsentwicklung) und Amplifier
|
||||
(50 % Industrie, 25 % Patente, 15 % EU-Projekte,
|
||||
10 % Medien). Ab 85 % und mindestens zwei aktiven Jahren wird
|
||||
ein Badge vergeben. Ein Score beschreibt ein relatives Signal, keinen
|
||||
kausalen Nachweis.
|
||||
</p>
|
||||
<p>
|
||||
Die aktuelle Multiplikator-Auswertung ist für die definierte UDE-Kohorte
|
||||
berechnet. Für andere Universitäten erscheinen Daten erst, wenn deren
|
||||
Kohorte ebenfalls durch die Pipeline verarbeitet wurde.
|
||||
</p>
|
||||
</app-methodology-note>
|
||||
|
||||
<section class="filters-section" aria-label="Multiplikatoren filtern">
|
||||
<mat-card appearance="outlined" class="filters-card">
|
||||
<mat-card-content>
|
||||
<div class="filters-grid">
|
||||
<mat-form-field appearance="outline" class="name-filter">
|
||||
<mat-label>Name suchen</mat-label>
|
||||
<input
|
||||
matInput
|
||||
[value]="nameDraft()"
|
||||
(input)="onNameInput($event)"
|
||||
(keyup.enter)="onFilterCommit()"
|
||||
placeholder="Name oder Namensanfang" />
|
||||
<mat-icon matSuffix>{{ SEARCH_ICON }}</mat-icon>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-label>Rollen-Badge</mat-label>
|
||||
<mat-select
|
||||
multiple
|
||||
[value]="selectedTags()"
|
||||
(selectionChange)="onTagsChange($event.value)">
|
||||
@for (role of roleOptions; track role.value) {
|
||||
<mat-option [value]="role.value">{{ role.label }}</mat-option>
|
||||
}
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-label>Karrierestufe</mat-label>
|
||||
<mat-select
|
||||
multiple
|
||||
[value]="selectedCareerBuckets()"
|
||||
(selectionChange)="onCareerBucketsChange($event.value)">
|
||||
@for (bucket of careerOptions; track bucket) {
|
||||
<mat-option [value]="bucket">{{ bucket }}</mat-option>
|
||||
}
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-label>Rolle für Mindest-Rang</mat-label>
|
||||
<mat-select
|
||||
[value]="selectedPeerRankField()"
|
||||
(selectionChange)="onPeerRankFieldChange($event.value)">
|
||||
@for (field of peerRankFields; track field.value) {
|
||||
<mat-option [value]="field.value">{{
|
||||
field.label
|
||||
}}</mat-option>
|
||||
}
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
<div class="rank-filter">
|
||||
<label for="min-rank"
|
||||
>Mindest-Rang: {{ minPeerRankDraft() }} %</label
|
||||
>
|
||||
<mat-slider
|
||||
id="min-rank"
|
||||
[min]="0"
|
||||
[max]="100"
|
||||
[step]="5"
|
||||
[discrete]="true"
|
||||
[displayWith]="formatPercent">
|
||||
<input
|
||||
matSliderThumb
|
||||
[value]="minPeerRankDraft()"
|
||||
(valueChange)="onMinRankInput($event)"
|
||||
(dragEnd)="onFilterCommit()"
|
||||
(keyup.enter)="onFilterCommit()"
|
||||
aria-label="Mindest-Rang" />
|
||||
</mat-slider>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="filter-actions">
|
||||
<span class="result-count">
|
||||
{{ fmtInt(pageTotal()) }}
|
||||
{{ pageTotal() === 1 ? 'Forschende:r' : 'Forschende' }}
|
||||
</span>
|
||||
<button mat-button type="button" (click)="clearFilters()">
|
||||
Filter zurücksetzen
|
||||
</button>
|
||||
<button
|
||||
mat-flat-button
|
||||
color="primary"
|
||||
type="button"
|
||||
(click)="onFilterCommit()">
|
||||
<mat-icon>{{ SEARCH_ICON }}</mat-icon>
|
||||
Anwenden
|
||||
</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</section>
|
||||
|
||||
<section class="table-section">
|
||||
<div class="section-heading">
|
||||
<div>
|
||||
<h2>Multiplikator:innen in der Kohorte</h2>
|
||||
<p class="note">
|
||||
Nach dem stärksten Rollen-Rang sortiert. Öffne das Netzwerk, um
|
||||
Kooperationen und die zugrunde liegenden Metriken anzusehen.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<mat-card appearance="outlined" class="table-card">
|
||||
<mat-card-content>
|
||||
@if (rows().length > 0) {
|
||||
<app-data-table
|
||||
[columns]="columns()"
|
||||
[data]="rows()"
|
||||
[stickyHeader]="false"
|
||||
queryParamSortKey="sortBy"
|
||||
queryParamSortDirectionKey="sortOrder" />
|
||||
} @else if (
|
||||
pageTotal() === 0 &&
|
||||
selectedTags().length === 0 &&
|
||||
selectedCareerBuckets().length === 0 &&
|
||||
!nameDraft() &&
|
||||
appliedMinPeerRank() === 0
|
||||
) {
|
||||
<div class="empty-state">
|
||||
<mat-icon>hub</mat-icon>
|
||||
<h3>Noch keine Multiplikator-Daten</h3>
|
||||
<p>
|
||||
Für die <strong>{{ universityName() }}</strong> wurden noch
|
||||
keine Multiplikator-Scores berechnet.
|
||||
</p>
|
||||
</div>
|
||||
} @else {
|
||||
<div class="empty-state empty-state--filtered">
|
||||
<h3>Keine passenden Forschenden gefunden</h3>
|
||||
<p>
|
||||
Ändere oder entferne einen Filter, um weitere Ergebnisse zu
|
||||
sehen.
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<app-query-param-paginator
|
||||
[total]="pageTotal()"
|
||||
[pageSizeOptions]="[10, 25, 50, 100]" />
|
||||
</section>
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #nameTemplate let-row>
|
||||
<div class="person-cell">
|
||||
<span class="person-cell__name">{{ row.name }}</span>
|
||||
<span class="person-cell__meta">
|
||||
{{ fmtInt(row.nWorks) }} Publikationen ·
|
||||
{{ fmtInt(row.activeYears) }} aktive Jahre
|
||||
@if (row.researcher.suspicious_profile) {
|
||||
· <span class="warning">Profil mit möglicher Zusammenführung</span>
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #rolesTemplate let-row>
|
||||
<app-multiplier-role-scores
|
||||
presentation="compact"
|
||||
[scores]="row.researcher.multiplier_peer_ranks" />
|
||||
</ng-template>
|
||||
|
||||
<ng-template #tagsTemplate let-row>
|
||||
@if (row.tags.length) {
|
||||
<div class="tags-cell">
|
||||
@for (tag of row.tags; track tag) {
|
||||
<app-chip
|
||||
color="info"
|
||||
[matTooltip]="tagDescription(tag)"
|
||||
matTooltipPosition="above">
|
||||
{{ tagLabel(tag) }}
|
||||
</app-chip>
|
||||
}
|
||||
</div>
|
||||
} @else {
|
||||
<span class="muted">–</span>
|
||||
}
|
||||
</ng-template>
|
||||
|
||||
<ng-template #maxTemplate let-row>
|
||||
<span class="max-score">
|
||||
<mat-progress-bar mode="determinate" [value]="row.max * 100" />
|
||||
<strong>{{ fmtSubScore(row.max) }}</strong>
|
||||
</span>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #actionTemplate let-row>
|
||||
<button
|
||||
mat-icon-button
|
||||
type="button"
|
||||
[attr.aria-label]="'Netzwerk von ' + row.name + ' öffnen'"
|
||||
matTooltip="Multiplikator-Netzwerk öffnen"
|
||||
(click)="openNetwork(row); $event.stopPropagation()">
|
||||
<mat-icon>{{ NETWORK_ICON }}</mat-icon>
|
||||
</button>
|
||||
</ng-template>
|
||||
+203
@@ -0,0 +1,203 @@
|
||||
.multipliers-dashboard {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.filters-section,
|
||||
.table-section {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.filters-card,
|
||||
.table-card {
|
||||
background: var(--sg-surface-muted);
|
||||
}
|
||||
|
||||
.filters-card .mat-mdc-card-content {
|
||||
padding: 16px 18px;
|
||||
}
|
||||
|
||||
.filters-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(150px, 1fr)) minmax(190px, 1.1fr);
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.name-filter {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.rank-filter {
|
||||
min-width: 0;
|
||||
padding: 0 8px;
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
mat-slider {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.filter-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
|
||||
.result-count {
|
||||
margin-right: auto;
|
||||
color: var(--sg-text-soft);
|
||||
font-size: 12.5px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
mat-icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
|
||||
h2 {
|
||||
margin: 0 0 4px;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
|
||||
.note {
|
||||
margin: 0;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
.table-card {
|
||||
overflow: hidden;
|
||||
|
||||
.mat-mdc-card-content {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.person-cell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
min-width: 160px;
|
||||
|
||||
&__name {
|
||||
color: var(--sg-text);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
&__meta {
|
||||
color: var(--sg-text-soft);
|
||||
font-size: 11.5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.warning {
|
||||
color: var(--sg-warning);
|
||||
}
|
||||
|
||||
.tags-cell {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: var(--sg-text-soft);
|
||||
}
|
||||
|
||||
.max-score {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 105px;
|
||||
color: var(--sg-text);
|
||||
font-size: 12px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
|
||||
.mat-mdc-progress-bar {
|
||||
--mat-progress-bar-track-height: 7px;
|
||||
--mat-progress-bar-active-indicator-height: 7px;
|
||||
--mat-progress-bar-track-color: var(--sg-surface-soft);
|
||||
--mat-progress-bar-active-indicator-color: var(--sg-success);
|
||||
width: 62px;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
display: flex;
|
||||
min-height: 190px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 28px;
|
||||
text-align: center;
|
||||
|
||||
mat-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
color: var(--sg-text-soft);
|
||||
font-size: 34px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 10px 0 5px;
|
||||
color: var(--sg-text);
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
p {
|
||||
max-width: 60ch;
|
||||
margin: 0;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
&--filtered {
|
||||
min-height: 130px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.filters-grid {
|
||||
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.filters-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.filter-actions {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
}
|
||||
+268
@@ -0,0 +1,268 @@
|
||||
import {
|
||||
Component,
|
||||
computed,
|
||||
effect,
|
||||
inject,
|
||||
input,
|
||||
signal,
|
||||
TemplateRef,
|
||||
viewChild,
|
||||
} from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
||||
import { toSignal } from '@angular/core/rxjs-interop';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatSliderModule } from '@angular/material/slider';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
|
||||
import {
|
||||
CareerBucket,
|
||||
MultiplierTag,
|
||||
PeerRankField,
|
||||
ResearcherSortBy,
|
||||
ResearcherSummary,
|
||||
ResearcherSummaryPage,
|
||||
} from '../../../api';
|
||||
import { fmtInt, fmtSubScore, tagDescription, tagLabel } from '../founder-potential.utils';
|
||||
import { ChipComponent } from '../../../shared/ui/chip/chip.component';
|
||||
import {
|
||||
DataTableComponent,
|
||||
GenericColumn,
|
||||
} from '../../../shared/ui/data-table/data-table.component';
|
||||
import { MethodologyNoteComponent } from '../../../shared/ui/methodology-note/methodology-note.component';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
import { MultiplierRoleScoresComponent } from '../../../shared/ui/multiplier-role-scores/multiplier-role-scores.component';
|
||||
import { QueryParamPaginatorComponent } from '../../../shared/ui/query-param-paginator/query-param-paginator.component';
|
||||
import { CredentialService } from '../../../shared/services/credential.service';
|
||||
import { NETWORK_ICON, SEARCH_ICON } from '../../../shared/ui/icons';
|
||||
|
||||
const FALLBACK_UNIVERSITY = 'Universität Duisburg-Essen';
|
||||
|
||||
interface MultiplierRow {
|
||||
researcher: ResearcherSummary;
|
||||
name: string;
|
||||
careerBucket: string;
|
||||
activeYears: number;
|
||||
nWorks: number;
|
||||
tags: string[];
|
||||
max: number;
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'app-multipliers-dashboard',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterModule,
|
||||
MatButtonModule,
|
||||
MatCardModule,
|
||||
MatFormFieldModule,
|
||||
MatIconModule,
|
||||
MatInputModule,
|
||||
MatProgressBarModule,
|
||||
MatSelectModule,
|
||||
MatSliderModule,
|
||||
MatTooltipModule,
|
||||
ChipComponent,
|
||||
DataTableComponent,
|
||||
MethodologyNoteComponent,
|
||||
PageContainerComponent,
|
||||
MultiplierRoleScoresComponent,
|
||||
QueryParamPaginatorComponent,
|
||||
],
|
||||
templateUrl: './multipliers-dashboard.component.html',
|
||||
styleUrl: './multipliers-dashboard.component.scss',
|
||||
})
|
||||
export class MultipliersDashboardComponent {
|
||||
readonly NETWORK_ICON = NETWORK_ICON;
|
||||
readonly SEARCH_ICON = SEARCH_ICON;
|
||||
|
||||
readonly researchers = input.required<ResearcherSummaryPage>();
|
||||
|
||||
private readonly router = inject(Router);
|
||||
private readonly route = inject(ActivatedRoute);
|
||||
private readonly credentials = inject(CredentialService, { optional: true });
|
||||
|
||||
private readonly queryParams = toSignal(this.route.queryParamMap, {
|
||||
initialValue: this.route.snapshot.queryParamMap,
|
||||
});
|
||||
|
||||
readonly universityName = computed(
|
||||
() => this.credentials?.organizationName() || FALLBACK_UNIVERSITY,
|
||||
);
|
||||
readonly pageTotal = computed(() => this.researchers().total ?? 0);
|
||||
readonly nameDraft = signal('');
|
||||
readonly minPeerRankDraft = signal(0);
|
||||
|
||||
readonly selectedTags = computed(() => this.queryParams().getAll('tag'));
|
||||
readonly selectedCareerBuckets = computed(() =>
|
||||
this.queryParams().getAll('careerBucket'),
|
||||
);
|
||||
readonly selectedPeerRankField = computed(
|
||||
() => this.queryParams().get('peerRankField') ?? PeerRankField.Max,
|
||||
);
|
||||
readonly appliedMinPeerRank = computed(
|
||||
() => Math.round((toNumber(this.queryParams().get('minPeerRank')) ?? 0) * 100),
|
||||
);
|
||||
|
||||
readonly roleOptions = [
|
||||
{ value: MultiplierTag.Bridger, label: tagLabel(MultiplierTag.Bridger) },
|
||||
{ value: MultiplierTag.Mentor, label: tagLabel(MultiplierTag.Mentor) },
|
||||
{ value: MultiplierTag.Amplifier, label: tagLabel(MultiplierTag.Amplifier) },
|
||||
];
|
||||
readonly careerOptions = Object.values(CareerBucket);
|
||||
readonly peerRankFields = [
|
||||
{ value: PeerRankField.Max, label: 'Stärkste Rolle' },
|
||||
{ value: PeerRankField.Bridger, label: tagLabel(MultiplierTag.Bridger) },
|
||||
{ value: PeerRankField.Mentor, label: tagLabel(MultiplierTag.Mentor) },
|
||||
{ value: PeerRankField.Amplifier, label: tagLabel(MultiplierTag.Amplifier) },
|
||||
];
|
||||
|
||||
constructor() {
|
||||
effect(() => {
|
||||
this.nameDraft.set(this.queryParams().get('name') ?? '');
|
||||
this.minPeerRankDraft.set(this.appliedMinPeerRank());
|
||||
}, { allowSignalWrites: true });
|
||||
}
|
||||
|
||||
private readonly nameTemplate =
|
||||
viewChild.required<TemplateRef<MultiplierRow>>('nameTemplate');
|
||||
private readonly rolesTemplate =
|
||||
viewChild.required<TemplateRef<MultiplierRow>>('rolesTemplate');
|
||||
private readonly tagsTemplate =
|
||||
viewChild.required<TemplateRef<MultiplierRow>>('tagsTemplate');
|
||||
private readonly maxTemplate =
|
||||
viewChild.required<TemplateRef<MultiplierRow>>('maxTemplate');
|
||||
private readonly actionTemplate =
|
||||
viewChild.required<TemplateRef<MultiplierRow>>('actionTemplate');
|
||||
|
||||
readonly rows = computed<MultiplierRow[]>(() =>
|
||||
(this.researchers().elements ?? []).map((researcher) => ({
|
||||
researcher,
|
||||
name: researcher.display_name ?? researcher.author_id,
|
||||
careerBucket: researcher.career_bucket ?? '–',
|
||||
activeYears: researcher.active_years ?? 0,
|
||||
nWorks: researcher.n_works ?? 0,
|
||||
tags: researcher.tags ?? [],
|
||||
max: researcher.max_multiplier_peer_rank ?? 0,
|
||||
})),
|
||||
);
|
||||
|
||||
readonly columns = computed<GenericColumn<MultiplierRow>[]>(() => [
|
||||
{
|
||||
id: 'name',
|
||||
header: 'Forschende:r',
|
||||
type: 'display',
|
||||
cellTemplate: this.nameTemplate(),
|
||||
},
|
||||
{
|
||||
id: 'roles',
|
||||
header: 'Multiplikator-Rollen',
|
||||
type: 'display',
|
||||
cellTemplate: this.rolesTemplate(),
|
||||
},
|
||||
{
|
||||
id: 'tags',
|
||||
header: 'Badges',
|
||||
type: 'display',
|
||||
cellTemplate: this.tagsTemplate(),
|
||||
},
|
||||
{
|
||||
id: ResearcherSortBy.Max,
|
||||
header: 'Stärkster Rang',
|
||||
type: 'accessor',
|
||||
accessorKey: 'max',
|
||||
cellTemplate: this.maxTemplate(),
|
||||
},
|
||||
{
|
||||
id: 'network',
|
||||
header: '',
|
||||
type: 'display',
|
||||
cellTemplate: this.actionTemplate(),
|
||||
},
|
||||
]);
|
||||
|
||||
readonly formatPercent = (value: number): string => `${value}%`;
|
||||
readonly fmtInt = fmtInt;
|
||||
readonly fmtSubScore = fmtSubScore;
|
||||
readonly tagLabel = tagLabel;
|
||||
readonly tagDescription = tagDescription;
|
||||
|
||||
onNameInput(event: Event): void {
|
||||
this.nameDraft.set((event.target as HTMLInputElement).value);
|
||||
}
|
||||
|
||||
onMinRankInput(value: number): void {
|
||||
this.minPeerRankDraft.set(value);
|
||||
}
|
||||
|
||||
onFilterCommit(): void {
|
||||
const rank = this.minPeerRankDraft();
|
||||
void this.router.navigate([], {
|
||||
relativeTo: this.route,
|
||||
queryParams: {
|
||||
name: this.nameDraft().trim() || null,
|
||||
minPeerRank: rank > 0 ? rank / 100 : null,
|
||||
peerRankField: this.selectedPeerRankField() || PeerRankField.Max,
|
||||
page: 0,
|
||||
},
|
||||
queryParamsHandling: 'merge',
|
||||
});
|
||||
}
|
||||
|
||||
onTagsChange(values: string[]): void {
|
||||
void this.router.navigate([], {
|
||||
relativeTo: this.route,
|
||||
queryParams: { tag: values.length ? values : null, page: 0 },
|
||||
queryParamsHandling: 'merge',
|
||||
});
|
||||
}
|
||||
|
||||
onCareerBucketsChange(values: string[]): void {
|
||||
void this.router.navigate([], {
|
||||
relativeTo: this.route,
|
||||
queryParams: { careerBucket: values.length ? values : null, page: 0 },
|
||||
queryParamsHandling: 'merge',
|
||||
});
|
||||
}
|
||||
|
||||
onPeerRankFieldChange(value: string): void {
|
||||
void this.router.navigate([], {
|
||||
relativeTo: this.route,
|
||||
queryParams: { peerRankField: value, page: 0 },
|
||||
queryParamsHandling: 'merge',
|
||||
});
|
||||
}
|
||||
|
||||
openNetwork(row: MultiplierRow): void {
|
||||
void this.router.navigate(['/founders', row.researcher.author_id]);
|
||||
}
|
||||
|
||||
clearFilters(): void {
|
||||
void this.router.navigate([], {
|
||||
relativeTo: this.route,
|
||||
queryParams: {
|
||||
tag: null,
|
||||
careerBucket: null,
|
||||
name: null,
|
||||
minPeerRank: null,
|
||||
peerRankField: PeerRankField.Max,
|
||||
suspiciousProfile: null,
|
||||
page: 0,
|
||||
},
|
||||
queryParamsHandling: 'merge',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function toNumber(value: string | null): number | null {
|
||||
if (value === null || value === '') return null;
|
||||
const parsed = Number(value);
|
||||
return Number.isFinite(parsed) && parsed >= 0 && parsed <= 1 ? parsed : null;
|
||||
}
|
||||
+90
-149
@@ -1,25 +1,28 @@
|
||||
<app-page-container
|
||||
[eyebrow]="unavailable() ? null : 'Smart-Guide · Multiplikatoren · ' + universityName()"
|
||||
[title]="unavailable()?.title ?? name()"
|
||||
[subtitle]="unavailable()?.body ?? null">
|
||||
<a pageActions mat-button class="back-link" routerLink="/multipliers">
|
||||
<mat-icon>{{ ARROW_BACK_ICON }}</mat-icon>
|
||||
Zurück zu den Multiplikatoren
|
||||
</a>
|
||||
|
||||
<div class="researcher-network">
|
||||
@if (unavailable(); as empty) {
|
||||
<mat-card appearance="outlined" class="unavailable">
|
||||
<mat-card-content>
|
||||
<mat-icon class="unavailable__icon">{{ PERSON_OFF_ICON }}</mat-icon>
|
||||
<h1>{{ empty.title }}</h1>
|
||||
<p class="unavailable__body">{{ empty.body }}</p>
|
||||
@if (empty.hint) {
|
||||
<p class="unavailable__hint">{{ empty.hint }}</p>
|
||||
}
|
||||
<a mat-stroked-button color="primary" routerLink="/founders">
|
||||
<button mat-stroked-button color="primary" (click)="backToMultipliers()">
|
||||
<mat-icon>{{ ARROW_BACK_ICON }}</mat-icon>
|
||||
Zurück zum Gründungspotenzial
|
||||
</a>
|
||||
Zur Multiplikatoren-Übersicht
|
||||
</button>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
} @else {
|
||||
<header class="page">
|
||||
<p class="eyebrow">
|
||||
Smart-Guide · Multiplikator-Detektion · {{ universityName() }}
|
||||
</p>
|
||||
<h1>{{ name() }}</h1>
|
||||
<section class="researcher-meta">
|
||||
<div class="meta-line">
|
||||
@if (careerBucket()) {
|
||||
<app-career-stage-chip
|
||||
@@ -27,15 +30,15 @@
|
||||
[activeYears]="activeYears()"
|
||||
size="md" />
|
||||
}
|
||||
<span
|
||||
>{{ fmtInt(nWorks()) }} Publikationen ·
|
||||
{{ fmtInt(activeYears()) }} aktive Jahre</span
|
||||
>
|
||||
<span>
|
||||
{{ fmtInt(nWorks()) }} Publikationen ·
|
||||
{{ fmtInt(activeYears()) }} aktive Jahre
|
||||
</span>
|
||||
@if (suspicious()) {
|
||||
<span class="suspicious"
|
||||
><mat-icon>{{ WARNING_ICON }}</mat-icon> Zusammengeführtes
|
||||
Profil</span
|
||||
>
|
||||
<span class="suspicious">
|
||||
<mat-icon>{{ WARNING_ICON }}</mat-icon>
|
||||
Zusammengeführtes Profil · Daten vorsichtig interpretieren
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
@if (tags().length) {
|
||||
@@ -50,7 +53,25 @@
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</header>
|
||||
</section>
|
||||
|
||||
<app-methodology-note>
|
||||
<p>
|
||||
Für das Diagramm werden Koautor:innen-Paare aus Publikationen zu einem
|
||||
gewichteten Netzwerk verbunden. Arbeiten mit mehr als 50 Autor:innen
|
||||
werden nur aus dem Graphen ausgeschlossen (sie zählen weiterhin für
|
||||
Publikations- und Karrierewerte); ältere Kanten werden mit 0,8 pro Jahr
|
||||
abgewichtet. Gezeigt werden bis zu 42 starke Koautor:innen, wobei
|
||||
Nachwuchs-Koautor:innen bevorzugt aufgenommen werden.
|
||||
</p>
|
||||
<p>
|
||||
Die drei Rollen-Scores sind gewichtete Mittel von Metrik-Perzentilen
|
||||
gegenüber Forschenden derselben Karrierestufe an der
|
||||
<strong>{{ universityName() }}</strong>. Ein Score von 85 % ist
|
||||
damit ein relativer Peer-Rang, kein kausaler Nachweis. Die Badges
|
||||
markieren Rollen-Scores ab 85 %.
|
||||
</p>
|
||||
</app-methodology-note>
|
||||
|
||||
<div class="legend">
|
||||
@for (entry of roleLegend(); track entry.role) {
|
||||
@@ -62,13 +83,14 @@
|
||||
{{ entry.label }}
|
||||
</span>
|
||||
}
|
||||
<span class="legend__item"
|
||||
><span class="legend__edge"></span>Kollaboration (Breite = Stärke)</span
|
||||
>
|
||||
<span class="legend__item"
|
||||
><span class="legend__edge legend__edge--dashed"></span>überwiegend
|
||||
institutionsübergreifend</span
|
||||
>
|
||||
<span class="legend__item">
|
||||
<span class="legend__edge"></span>
|
||||
Kollaboration (Breite = Stärke)
|
||||
</span>
|
||||
<span class="legend__item">
|
||||
<span class="legend__edge legend__edge--dashed"></span>
|
||||
überwiegend institutionsübergreifend
|
||||
</span>
|
||||
<span class="legend__item">Knotengröße = aktive Jahre</span>
|
||||
</div>
|
||||
|
||||
@@ -88,143 +110,62 @@
|
||||
<div class="netbox__empty">Kein Netzwerk verfügbar.</div>
|
||||
}
|
||||
<div class="netfoot">
|
||||
{{ fmtInt(netMeta().shown) }} der
|
||||
{{ fmtInt(netMeta().shown) }} von
|
||||
{{ fmtInt(netMeta().totalCoauthors) }} Koautor:innen dargestellt ·
|
||||
{{ fmtInt(netMeta().cohortCoauthors) }} aus der UDE-Kohorte ·
|
||||
{{ fmtInt(netMeta().mentees) }} Mentees
|
||||
{{ fmtInt(netMeta().cohortCoauthors) }} aus der
|
||||
Universitätskohorte · {{ fmtInt(netMeta().mentees) }} Mentees
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<mat-card appearance="outlined" class="detail-card">
|
||||
<mat-card-content>
|
||||
<div class="panel">
|
||||
<div>
|
||||
<h3>Multiplikator-Scores</h3>
|
||||
<p class="cap">
|
||||
Rang gegen Peers dieser Universität, gleiche Karrierestufe.
|
||||
Schwelle: 85.
|
||||
</p>
|
||||
@for (s of subScores(); track s.key) {
|
||||
<app-score-bar
|
||||
variant="success"
|
||||
[label]="s.label"
|
||||
[hint]="s.hint"
|
||||
[value]="s.value * 100"
|
||||
[display]="fmtSubScore(s.value)"
|
||||
[threshold]="tagThreshold" />
|
||||
}
|
||||
</div>
|
||||
<section class="panel">
|
||||
<h2>Multiplikator-Rollen</h2>
|
||||
<p class="cap">
|
||||
Peer-Rang innerhalb derselben Karrierestufe. Die gestrichelte
|
||||
Markierung zeigt die Badge-Schwelle von 85 %.
|
||||
</p>
|
||||
<app-multiplier-role-scores
|
||||
presentation="detailed"
|
||||
[scores]="researcher()?.multiplier_peer_ranks"
|
||||
[showThreshold]="true" />
|
||||
</section>
|
||||
|
||||
<div>
|
||||
<h3>Gründungspotenzial</h3>
|
||||
<p class="cap">
|
||||
Rang gegen ~9.000 Wissenschaftler:innen an anderen
|
||||
Universitäten.
|
||||
</p>
|
||||
<app-score-bar
|
||||
label="Score"
|
||||
[value]="founder().score ?? 0"
|
||||
[display]="fmt1(founder().score)" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 1 Jahr"
|
||||
[value]="founder().within1 ?? 0"
|
||||
[display]="fmt1(founder().within1)" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 3 Jahre"
|
||||
[value]="founder().within3 ?? 0"
|
||||
[display]="fmt1(founder().within3)" />
|
||||
<app-score-bar
|
||||
label="Innerhalb 5 Jahre"
|
||||
[value]="founder().within5 ?? 0"
|
||||
[display]="fmt1(founder().within5)" />
|
||||
@if (
|
||||
founder().timingApplicable && founder().yearsToFounding !== null
|
||||
) {
|
||||
<p class="timing-note">
|
||||
@if ((founder().yearsToFounding ?? 0) <= 0) {
|
||||
Das Aktivitätsmuster wirkt bereits gründungsbereit.
|
||||
} @else {
|
||||
Voraussichtlich in
|
||||
{{ fmt1(founder().yearsToFounding) }} Jahren gründungsreif.
|
||||
}
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="facts">
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Publikationen <b>{{ fmtInt(facts().pubs) }}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Patente <b>{{ fmtInt(facts().patents) }}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Industrie-Publikationen
|
||||
<b>{{ fmtInt(facts().industry) }}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>Förderungen <b>{{ fmtInt(facts().grants) }}</b></app-chip
|
||||
>
|
||||
<app-chip variant="outlined" color="secondary"
|
||||
>aktive Jahre <b>{{ fmtInt(facts().activeYears) }}</b></app-chip
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="metrics">
|
||||
<h3>Metriken im Detail</h3>
|
||||
<p class="cap">
|
||||
Jeder Rohwert steht neben seinem Peer-Rang (0–1), damit
|
||||
nachvollziehbar bleibt, warum eine Person so eingestuft wurde.
|
||||
</p>
|
||||
<div class="scroller">
|
||||
<table mat-table [dataSource]="metricRows()" class="mx">
|
||||
<ng-container matColumnDef="metric">
|
||||
<th mat-header-cell *matHeaderCellDef>Metrik</th>
|
||||
<td mat-cell *matCellDef="let row">{{ row.label }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="value">
|
||||
<th mat-header-cell *matHeaderCellDef class="num">Wert</th>
|
||||
<td mat-cell *matCellDef="let row" class="num">
|
||||
{{ fmtMetricValue(row.metric.raw) }}
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="rank">
|
||||
<th mat-header-cell *matHeaderCellDef class="num">
|
||||
Peer-Rang
|
||||
</th>
|
||||
<td
|
||||
mat-cell
|
||||
*matCellDef="let row"
|
||||
class="num"
|
||||
[class.hot]="(row.metric.peer_rank ?? 0) >= 0.9">
|
||||
{{ fmtPeerRank(row.metric.peer_rank) }}
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<tr
|
||||
mat-header-row
|
||||
*matHeaderRowDef="displayedMetricColumns"></tr>
|
||||
<tr
|
||||
mat-row
|
||||
*matRowDef="let row; columns: displayedMetricColumns"></tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="metrics">
|
||||
<h2>Metriken im Detail</h2>
|
||||
<p class="cap">
|
||||
Rohwerte und zugehörige Peer-Ränge zeigen, welche Netzwerk- und
|
||||
Kooperationssignale in die Rollen-Scores einfließen.
|
||||
</p>
|
||||
<app-data-table
|
||||
[columns]="metricColumns()"
|
||||
[data]="metricRows()"
|
||||
[stickyHeader]="false" />
|
||||
</section>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</div>
|
||||
|
||||
<footer class="page">
|
||||
Konfiguration
|
||||
Netzwerk-Konfiguration
|
||||
<span class="mono">{{ network()?.config_hash ?? '–' }}</span> · berechnet
|
||||
am
|
||||
<span class="mono">{{
|
||||
network()?.computed_at | date: 'dd.MM.yyyy HH:mm'
|
||||
}}</span>
|
||||
<span class="mono">{{ network()?.computed_at | date: 'dd.MM.yyyy HH:mm' }}</span>
|
||||
</footer>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #metricTemplate let-row>
|
||||
{{ row.label }}
|
||||
</ng-template>
|
||||
|
||||
<ng-template #metricValueTemplate let-row>
|
||||
<span class="num">{{ fmtMetricValue(row.metric.raw) }}</span>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #metricRankTemplate let-row>
|
||||
<span class="num" [class.hot]="(row.metric.peer_rank ?? 0) >= 0.9">
|
||||
{{ fmtPeerRank(row.metric.peer_rank) }}
|
||||
</span>
|
||||
</ng-template>
|
||||
|
||||
+26
-93
@@ -1,7 +1,6 @@
|
||||
.researcher-network {
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
padding: 24px 8px 64px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
@@ -21,26 +20,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.page {
|
||||
max-width: 72ch;
|
||||
|
||||
.eyebrow {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
color: var(--sg-text-soft);
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
line-height: 1.15;
|
||||
margin: 0 0 12px;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
}
|
||||
|
||||
.meta-line {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -159,15 +138,14 @@
|
||||
.panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 22px;
|
||||
gap: 12px;
|
||||
|
||||
h3 {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--sg-text-soft);
|
||||
margin: 0 0 8px;
|
||||
font-weight: 600;
|
||||
h2 {
|
||||
margin: 0;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,71 +156,33 @@
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.timing-note {
|
||||
font-size: 12.5px;
|
||||
color: var(--sg-success);
|
||||
margin: 2px 0 0;
|
||||
}
|
||||
|
||||
.facts {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
|
||||
b {
|
||||
color: var(--sg-text);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
}
|
||||
|
||||
.metrics {
|
||||
min-width: 0;
|
||||
}
|
||||
margin-top: 24px;
|
||||
|
||||
.scroller {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
table.mx {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
font-size: 12px;
|
||||
|
||||
.mat-mdc-header-cell {
|
||||
padding: 0 7px;
|
||||
height: 20px;
|
||||
color: var(--sg-text-soft);
|
||||
font-weight: 600;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.mat-mdc-cell {
|
||||
color: var(--sg-text-muted);
|
||||
vertical-align: middle;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.mat-mdc-row {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.num {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
h2 {
|
||||
margin: 0 0 6px;
|
||||
color: var(--sg-text);
|
||||
white-space: nowrap;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
}
|
||||
|
||||
&.hot {
|
||||
font-weight: 700;
|
||||
color: var(--sg-success);
|
||||
}
|
||||
.num {
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: var(--sg-text);
|
||||
white-space: nowrap;
|
||||
|
||||
&.hot {
|
||||
font-weight: 700;
|
||||
color: var(--sg-success);
|
||||
}
|
||||
}
|
||||
|
||||
.unavailable {
|
||||
margin-top: 32px;
|
||||
max-width: 68ch;
|
||||
width: 100%;
|
||||
background: var(--sg-surface-muted);
|
||||
|
||||
.mat-mdc-card-content {
|
||||
@@ -257,13 +197,6 @@ table.mx {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
line-height: 1.2;
|
||||
margin: 0 0 10px;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
&__body {
|
||||
font-size: 15px;
|
||||
line-height: 1.55;
|
||||
|
||||
+66
-99
@@ -1,44 +1,37 @@
|
||||
import { Component, computed, inject, input } from '@angular/core';
|
||||
import { Component, computed, inject, input, TemplateRef, viewChild } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NavigationEnd, Router, RouterModule } from '@angular/router';
|
||||
import { Router, RouterModule } from '@angular/router';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { pipe } from 'rxjs';
|
||||
|
||||
import { MetricValue, ResearcherMetrics } from '../../../api';
|
||||
import {
|
||||
METRIC_DEFS,
|
||||
fmt1,
|
||||
fmtInt,
|
||||
fmtMetricValue,
|
||||
fmtPeerRank,
|
||||
fmtSubScore,
|
||||
tagDescription,
|
||||
tagLabel,
|
||||
} from '../founder-potential.utils';
|
||||
import { MetricValue, ResearcherMetrics } from '../../../api';
|
||||
import { ResearcherPageState } from '../../../resolvers/multiplier-researcher-page.resolver';
|
||||
import {
|
||||
MULTIPLIER_ROLE_LABELS,
|
||||
multiplierRoleColor,
|
||||
MultiplierNetworkGraphComponent,
|
||||
} from '../../../shared/ui/multiplier-network-graph/multiplier-network-graph.component';
|
||||
import { ScoreBarComponent } from '../../../shared/ui/score-bar/score-bar.component';
|
||||
import { DataTableComponent, GenericColumn } from '../../../shared/ui/data-table/data-table.component';
|
||||
import { CareerStageChipComponent } from '../../../shared/ui/career-stage-chip/career-stage-chip.component';
|
||||
import { ChipComponent } from '../../../shared/ui/chip/chip.component';
|
||||
import { MethodologyNoteComponent } from '../../../shared/ui/methodology-note/methodology-note.component';
|
||||
import { MultiplierRoleScoresComponent } from '../../../shared/ui/multiplier-role-scores/multiplier-role-scores.component';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
import { ChartThemeService } from '../../../shared/services/chart-theme.service';
|
||||
import { CredentialService } from '../../../shared/services/credential.service';
|
||||
import {
|
||||
ARROW_BACK_ICON,
|
||||
PERSON_OFF_ICON,
|
||||
WARNING_ICON,
|
||||
} from '../../../shared/ui/icons';
|
||||
import { filter } from 'rxjs/operators';
|
||||
const TAG_THRESHOLD = 0.85;
|
||||
import { ARROW_BACK_ICON, PERSON_OFF_ICON, WARNING_ICON } from '../../../shared/ui/icons';
|
||||
|
||||
const ROLE_ORDER = ['ego', 'cohort', 'mentee', 'industry', 'external'];
|
||||
const SUB_SCORE_KEYS = ['bridger', 'mentor', 'amplifier'] as const;
|
||||
const FALLBACK_UNIVERSITY = 'Universität Duisburg-Essen';
|
||||
|
||||
interface UnavailableView {
|
||||
@@ -47,7 +40,6 @@ interface UnavailableView {
|
||||
hint: string | null;
|
||||
}
|
||||
|
||||
/** A metric definition paired with the API's own raw/peer-rank block. */
|
||||
interface MetricRow {
|
||||
key: keyof ResearcherMetrics;
|
||||
label: string;
|
||||
@@ -63,33 +55,23 @@ interface MetricRow {
|
||||
MatButtonModule,
|
||||
MatCardModule,
|
||||
MatIconModule,
|
||||
MatTableModule,
|
||||
MatTooltipModule,
|
||||
DataTableComponent,
|
||||
MultiplierNetworkGraphComponent,
|
||||
ScoreBarComponent,
|
||||
CareerStageChipComponent,
|
||||
ChipComponent,
|
||||
MethodologyNoteComponent,
|
||||
MultiplierRoleScoresComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './researcher-network.component.html',
|
||||
styleUrl: './researcher-network.component.scss',
|
||||
})
|
||||
export class ResearcherNetworkComponent {
|
||||
constructor() {
|
||||
this.router.events
|
||||
.pipe(filter((event: any) => event instanceof NavigationEnd))
|
||||
.subscribe(() => {
|
||||
document.body.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth',
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
readonly ARROW_BACK_ICON = ARROW_BACK_ICON;
|
||||
readonly WARNING_ICON = WARNING_ICON;
|
||||
readonly PERSON_OFF_ICON = PERSON_OFF_ICON;
|
||||
|
||||
/** Resolved detail + network, or the backend's explanation why they are missing. */
|
||||
readonly page = input.required<ResearcherPageState>();
|
||||
|
||||
private readonly router = inject(Router);
|
||||
@@ -114,26 +96,25 @@ export class ResearcherNetworkComponent {
|
||||
|
||||
const university = this.universityName();
|
||||
const who = page.displayName ?? 'diese Person';
|
||||
|
||||
if (page.reason === 'OTHER_INSTITUTION') {
|
||||
return {
|
||||
title: 'Kein Gründungspotenzial für diese Universität',
|
||||
body: `Für ${who} wurde kein Gründungspotenzial für die ${university} berechnet.`,
|
||||
title: 'Keine Multiplikator-Daten für diese Universität',
|
||||
body: `Für ${who} wurde an der ${university} keine Multiplikator-Auswertung erstellt.`,
|
||||
hint: page.authorInstitution
|
||||
? `Die Person ist aktuell der Einrichtung „${page.authorInstitution}“ zugeordnet, nicht der ${university}.`
|
||||
? `Die Person ist aktuell der Einrichtung „${page.authorInstitution}“ zugeordnet.`
|
||||
: `Die Person ist keiner Einrichtung der ${university} zugeordnet.`,
|
||||
};
|
||||
}
|
||||
if (page.reason === 'NOT_INDEXED') {
|
||||
return {
|
||||
title: 'Noch keine berechneten Daten',
|
||||
body: `Für ${who} wurde noch kein Gründungspotenzial berechnet.`,
|
||||
title: 'Noch keine Multiplikator-Daten',
|
||||
body: `Für ${who} wurden noch keine Multiplikator-Scores berechnet.`,
|
||||
hint: `Die Person gehört zur ${university}, ist aber noch nicht in der Auswertung enthalten.`,
|
||||
};
|
||||
}
|
||||
return {
|
||||
title: 'Keine Daten zu dieser Person',
|
||||
body: 'Zu dieser Person liegen keine berechneten Daten vor.',
|
||||
title: 'Keine Multiplikator-Daten zu dieser Person',
|
||||
body: 'Zu dieser Person liegen keine berechneten Multiplikator-Daten vor.',
|
||||
hint: null,
|
||||
};
|
||||
});
|
||||
@@ -145,70 +126,59 @@ export class ResearcherNetworkComponent {
|
||||
this.researcher()?.author_id ??
|
||||
'Unbekannt',
|
||||
);
|
||||
|
||||
readonly careerBucket = computed(
|
||||
() => this.researcher()?.career_bucket ?? null,
|
||||
);
|
||||
readonly careerBucket = computed(() => this.researcher()?.career_bucket ?? null);
|
||||
readonly activeYears = computed(() => this.researcher()?.active_years ?? 0);
|
||||
readonly nWorks = computed(() => this.researcher()?.n_works ?? 0);
|
||||
readonly suspicious = computed(
|
||||
() => this.researcher()?.suspicious_profile ?? false,
|
||||
);
|
||||
|
||||
readonly suspicious = computed(() => this.researcher()?.suspicious_profile ?? false);
|
||||
readonly tags = computed(() => this.researcher()?.tags ?? []);
|
||||
|
||||
readonly subScores = computed(() => {
|
||||
const pr = this.researcher()?.multiplier_peer_ranks;
|
||||
return SUB_SCORE_KEYS.map((key) => ({
|
||||
key,
|
||||
label: tagLabel(key),
|
||||
hint: tagDescription(key),
|
||||
value: pr?.[key] ?? 0,
|
||||
}));
|
||||
});
|
||||
|
||||
readonly founder = computed(() => {
|
||||
const fp = this.researcher()?.founder_potential;
|
||||
return {
|
||||
score: fp?.external_percentile ?? null,
|
||||
within1: fp?.external_percentile_within_1y ?? null,
|
||||
within3: fp?.external_percentile_within_3y ?? null,
|
||||
within5: fp?.external_percentile_within_5y ?? null,
|
||||
yearsToFounding: fp?.timing?.years_to_founding ?? null,
|
||||
timingApplicable: fp?.timing_applicable ?? false,
|
||||
};
|
||||
});
|
||||
|
||||
readonly facts = computed(() => {
|
||||
const ff = this.researcher()?.founder_features;
|
||||
return {
|
||||
pubs: ff?.publications ?? 0,
|
||||
patents: ff?.patents ?? 0,
|
||||
industry: ff?.industry_collab_papers ?? 0,
|
||||
grants: ff?.grants ?? 0,
|
||||
activeYears: this.activeYears(),
|
||||
};
|
||||
});
|
||||
readonly tagLabel = tagLabel;
|
||||
readonly tagDescription = tagDescription;
|
||||
|
||||
readonly netMeta = computed(() => {
|
||||
const n = this.network();
|
||||
const network = this.network();
|
||||
return {
|
||||
totalCoauthors: n?.total_coauthors ?? 0,
|
||||
cohortCoauthors: n?.cohort_coauthors ?? 0,
|
||||
mentees: n?.mentee_count ?? 0,
|
||||
shown: n?.shown ?? 0,
|
||||
totalCoauthors: network?.total_coauthors ?? 0,
|
||||
cohortCoauthors: network?.cohort_coauthors ?? 0,
|
||||
mentees: network?.mentee_count ?? 0,
|
||||
shown: network?.shown ?? 0,
|
||||
};
|
||||
});
|
||||
|
||||
private readonly metricTemplate =
|
||||
viewChild.required<TemplateRef<MetricRow>>('metricTemplate');
|
||||
private readonly metricValueTemplate =
|
||||
viewChild.required<TemplateRef<MetricRow>>('metricValueTemplate');
|
||||
private readonly metricRankTemplate =
|
||||
viewChild.required<TemplateRef<MetricRow>>('metricRankTemplate');
|
||||
|
||||
readonly metricRows = computed<MetricRow[]>(() =>
|
||||
METRIC_DEFS.map((def) => ({
|
||||
key: def.key,
|
||||
label: def.label,
|
||||
metric: this.researcher()?.metrics?.[def.key] ?? {},
|
||||
METRIC_DEFS.map((definition) => ({
|
||||
key: definition.key,
|
||||
label: definition.label,
|
||||
metric: this.researcher()?.metrics?.[definition.key] ?? {},
|
||||
})),
|
||||
);
|
||||
|
||||
readonly displayedMetricColumns = ['metric', 'value', 'rank'];
|
||||
readonly metricColumns = computed<GenericColumn<MetricRow>[]>(() => [
|
||||
{
|
||||
id: 'metric',
|
||||
header: 'Metrik',
|
||||
type: 'display',
|
||||
cellTemplate: this.metricTemplate(),
|
||||
},
|
||||
{
|
||||
id: 'value',
|
||||
header: 'Wert',
|
||||
type: 'display',
|
||||
cellTemplate: this.metricValueTemplate(),
|
||||
},
|
||||
{
|
||||
id: 'rank',
|
||||
header: 'Peer-Rang',
|
||||
type: 'display',
|
||||
cellTemplate: this.metricRankTemplate(),
|
||||
},
|
||||
]);
|
||||
|
||||
readonly roleLegend = computed(() =>
|
||||
ROLE_ORDER.map((role) => ({
|
||||
@@ -219,17 +189,14 @@ export class ResearcherNetworkComponent {
|
||||
);
|
||||
|
||||
onNodeClick(event: { id: string }): void {
|
||||
if (event?.id) {
|
||||
void this.router.navigate(['/person', event.id]);
|
||||
}
|
||||
if (event?.id) void this.router.navigate(['/person', event.id]);
|
||||
}
|
||||
|
||||
backToMultipliers(): void {
|
||||
void this.router.navigate(['/multipliers']);
|
||||
}
|
||||
|
||||
readonly fmtInt = fmtInt;
|
||||
readonly fmt1 = fmt1;
|
||||
readonly fmtSubScore = fmtSubScore;
|
||||
readonly fmtPeerRank = fmtPeerRank;
|
||||
readonly fmtMetricValue = fmtMetricValue;
|
||||
readonly tagLabel = tagLabel;
|
||||
readonly tagDescription = tagDescription;
|
||||
readonly tagThreshold = TAG_THRESHOLD * 100;
|
||||
readonly fmtPeerRank = fmtPeerRank;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
<app-page-container
|
||||
[title]="suggestionsOnly() ? 'Hierarchie-Vorschläge' : 'Organisationsstruktur'"
|
||||
subtitle="Erkunde Organisationshierarchien und ihre zugehörigen Daten.">
|
||||
<div class="content">
|
||||
@if (suggestionsOnly()) {
|
||||
<h6>Hierarchie-Vorschläge</h6>
|
||||
} @else {
|
||||
<h6>Organizationsstruktur</h6>
|
||||
}
|
||||
@if (!hierarchyData()) {
|
||||
<div class="error">
|
||||
<span>Keine Hierarchie-Daten verfügbar.</span>
|
||||
@@ -63,3 +61,4 @@
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
mat-expansion-panel {
|
||||
|
||||
@@ -18,6 +18,7 @@ import { HierarchyResponse } from '../../api/model/hierarchyResponse';
|
||||
import { CredentialService } from '../../shared/services/credential.service';
|
||||
import { HierarchySuggestionsComponent } from './hierarchy-suggestions/hierarchy-suggestions.component';
|
||||
import { HierarchySuggestion } from '../../api/model/hierarchySuggestion';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
const ORGANIZATION_URL_PARAM = 'orgUrl';
|
||||
const ORGANIZATION_NAME_PARAM = 'orgName';
|
||||
const ORGMINER_EXPANDED_PARAM = 'orgExpanded';
|
||||
@@ -38,6 +39,7 @@ const CLASSIFIED_PAGES_PANEL_PARAM = 'classifiedPagesExpanded';
|
||||
MatExpansionModule,
|
||||
MatIconModule,
|
||||
HierarchySuggestionsComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './hierarchy.component.html',
|
||||
styleUrl: './hierarchy.component.scss',
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="content">
|
||||
<div>
|
||||
<h6>Projekte</h6>
|
||||
<p>Übersicht der Projekte, die von der Institution durchgeführt werden.</p>
|
||||
</div>
|
||||
<app-page-header
|
||||
[level]="2"
|
||||
title="Projekte"
|
||||
subtitle="Übersicht der Projekte, die von der Institution durchgeführt werden." />
|
||||
|
||||
<mat-accordion multi>
|
||||
<mat-expansion-panel class="mat-elevation-z1">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
mat-expansion-panel {
|
||||
|
||||
@@ -33,6 +33,7 @@ import {
|
||||
LinkTabNavBarItem,
|
||||
} from '../../shared/ui/link-tab-nav-bar/link-tab-nav-bar.component';
|
||||
import { OPEN_IN_NEW_ICON } from '../../shared/ui/icons';
|
||||
import { PageHeaderComponent } from '../../shared/ui/page-header/page-header.component';
|
||||
|
||||
type BundProjectRow = {
|
||||
id: string;
|
||||
@@ -62,6 +63,7 @@ type EuProjectRow = {
|
||||
MatInputModule,
|
||||
DatePipe,
|
||||
CurrencyPipe,
|
||||
PageHeaderComponent,
|
||||
MatIconModule,
|
||||
MatButtonModule,
|
||||
InstitutionProjectsFundingGraphComponent,
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
<div class="content">
|
||||
<div>
|
||||
<h6>Publikationen</h6>
|
||||
<p>Übersicht der wissenschaftlichen Veröffentlichungen.</p>
|
||||
</div>
|
||||
<app-page-header
|
||||
[level]="2"
|
||||
title="Publikationen"
|
||||
subtitle="Übersicht der wissenschaftlichen Veröffentlichungen." />
|
||||
@if (canViewClassificationChart()) {
|
||||
<mat-accordion multi>
|
||||
<mat-expansion-panel class="mat-elevation-z1">
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
mat-expansion-panel {
|
||||
|
||||
@@ -12,6 +12,7 @@ import { PrimaryCategoryYearAggregationChartComponent } from '../../shared/ui/pr
|
||||
import { MatExpansionModule } from '@angular/material/expansion';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { PageHeaderComponent } from '../../shared/ui/page-header/page-header.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-institution-publications',
|
||||
@@ -22,6 +23,7 @@ import { ActivatedRoute } from '@angular/router';
|
||||
PrimaryCategoryYearAggregationChartComponent,
|
||||
MatExpansionModule,
|
||||
CommonModule,
|
||||
PageHeaderComponent,
|
||||
],
|
||||
templateUrl: './institution-publications.component.html',
|
||||
styleUrl: './institution-publications.component.scss',
|
||||
|
||||
+5
-4
@@ -99,11 +99,12 @@
|
||||
}
|
||||
|
||||
.institution-name {
|
||||
font-size: 1.6rem;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text-primary);
|
||||
margin: 0;
|
||||
line-height: 1.25;
|
||||
color: var(--sg-text-primary);
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.type-badge {
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<div class="institution-container">
|
||||
<app-institution-overview [institution]="institution()" />
|
||||
<app-link-tab-nav-bar [links]="_links()" [tabPanel]="tabPanel" />
|
||||
</div>
|
||||
<mat-tab-nav-panel #tabPanel>
|
||||
<router-outlet />
|
||||
</mat-tab-nav-panel>
|
||||
<app-page-container>
|
||||
<div class="institution-container">
|
||||
<app-institution-overview [institution]="institution()" />
|
||||
<app-link-tab-nav-bar [links]="_links()" [tabPanel]="tabPanel" />
|
||||
</div>
|
||||
<mat-tab-nav-panel #tabPanel>
|
||||
<router-outlet />
|
||||
</mat-tab-nav-panel>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.institution-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin: 1rem;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
PROJECT_ICON,
|
||||
PUBLICATION_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-institution',
|
||||
@@ -20,6 +21,7 @@ import {
|
||||
LinkTabNavBarComponent,
|
||||
MatTabsModule,
|
||||
RouterModule,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './institution.component.html',
|
||||
styleUrl: './institution.component.scss',
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
<div class="content">
|
||||
<h1>Passende Institutionen finden</h1>
|
||||
|
||||
<mat-divider />
|
||||
|
||||
<app-page-container
|
||||
title="Passende Institutionen finden"
|
||||
subtitle="Suche nach Hochschulen, Forschungszentren und weiteren Einrichtungen.">
|
||||
<app-card-search
|
||||
[page]="page()"
|
||||
[cardMinWidth]="300"
|
||||
[cardMinWidth]="550"
|
||||
[cardTmp]="cardTmp"
|
||||
[observers]="observers"
|
||||
[cardMinWidth]="550"
|
||||
searchLabel="Suche nach Namen"
|
||||
[sortingOptions]="sortingOptions"
|
||||
[sortingDirectionOptions]="sortingDirectionOptions" />
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #cardTmp let-institution>
|
||||
<app-institution-card [institution]="institution" />
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatDividerModule } from '@angular/material/divider';
|
||||
|
||||
import { SelectorOption } from '../../shared/ui/query-param-selector/query-param-selector.component';
|
||||
import {
|
||||
@@ -14,6 +13,7 @@ import {
|
||||
import { FilterObserver } from '../../shared/ui/selected-filters/selected-filters.component';
|
||||
import { AppInstitutionCardComponent } from '../../shared/ui/app-institution-card/app-institution-card.component';
|
||||
import { SEARCH_ICON } from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-institutions',
|
||||
@@ -21,10 +21,10 @@ import { SEARCH_ICON } from '../../shared/ui/icons';
|
||||
MatButtonModule,
|
||||
MatCardModule,
|
||||
MatIconModule,
|
||||
MatDividerModule,
|
||||
RouterModule,
|
||||
CardSearchComponent,
|
||||
AppInstitutionCardComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './institutions.component.html',
|
||||
styleUrl: './institutions.component.scss',
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
<section class="jobs-page">
|
||||
<header class="page-header">
|
||||
<div>
|
||||
<h1>Jobs</h1>
|
||||
<p>
|
||||
Background-Jobs zur Aufbereitung und Indizierung der Daten manuell
|
||||
ausführen oder per Cron-Zeitplan automatisieren.
|
||||
</p>
|
||||
</div>
|
||||
<app-page-header
|
||||
title="Jobs"
|
||||
subtitle="Background-Jobs zur Aufbereitung und Indizierung der Daten manuell ausführen oder per Cron-Zeitplan automatisieren.">
|
||||
<button
|
||||
pageActions
|
||||
mat-flat-button
|
||||
color="primary"
|
||||
type="button"
|
||||
@@ -16,7 +12,7 @@
|
||||
<mat-icon>{{ ADD_ICON }}</mat-icon>
|
||||
Neuer Job
|
||||
</button>
|
||||
</header>
|
||||
</app-page-header>
|
||||
|
||||
<div class="health-cards">
|
||||
<mat-card appearance="outlined" class="health-card">
|
||||
|
||||
@@ -5,34 +5,11 @@
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.new-job-button {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
h1,
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
.page-header h1 {
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.page-header p {
|
||||
color: var(--sg-text-muted);
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
mat-card,
|
||||
mat-paginator {
|
||||
background-color: var(--sg-background);
|
||||
@@ -308,11 +285,6 @@ mat-paginator {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.health-cards {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@@ -68,6 +68,7 @@ import {
|
||||
REFRESH_ICON,
|
||||
STOP_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageHeaderComponent } from '../../shared/ui/page-header/page-header.component';
|
||||
|
||||
const MAX_IDLE_POLL_WAIT_MS = 60000;
|
||||
|
||||
@@ -83,6 +84,7 @@ const MAX_IDLE_POLL_WAIT_MS = 60000;
|
||||
MatSnackBarModule,
|
||||
MatTooltipModule,
|
||||
DataTableComponent,
|
||||
PageHeaderComponent,
|
||||
],
|
||||
templateUrl: './jobs.component.html',
|
||||
styleUrl: './jobs.component.scss',
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
<app-page-container
|
||||
title="Keywords extrahieren"
|
||||
subtitle="Extrahiere relevante Begriffe aus einer URL, einem Text oder einer Datei und nutze sie für die Suche.">
|
||||
<div class="content">
|
||||
<!-- Tabs and Extract Button -->
|
||||
<mat-tab-group
|
||||
@@ -449,3 +452,4 @@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</app-page-container>
|
||||
|
||||
@@ -14,7 +14,7 @@ $touch-target: 44px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: clamp(0.5rem, 1.5vw, 0.75rem);
|
||||
padding: clamp(0.5rem, 2vw, 1rem);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
@@ -448,7 +448,7 @@ mat-button-toggle-group {
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-top: 1rem;
|
||||
padding: 0 1rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.search-actions {
|
||||
|
||||
@@ -54,6 +54,7 @@ import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { A11yModule } from '@angular/cdk/a11y';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
import { SearchResultsPayload } from './search-results/search-results-state.service';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
import {
|
||||
ACCOUNT_TREE_ICON,
|
||||
CANCEL_ICON,
|
||||
@@ -94,6 +95,7 @@ type KeywordPatentLevel = 'broad' | 'coarse' | 'fine' | 'custom';
|
||||
MatSlideToggleModule,
|
||||
MatSliderModule,
|
||||
FileUploadComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './keywords-search.component.html',
|
||||
styleUrl: './keywords-search.component.scss',
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
.person-projects {
|
||||
padding: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.description-container {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="search-results-page">
|
||||
<div class="search-results-header">
|
||||
<button mat-stroked-button color="primary" (click)="goBackToSearch()">
|
||||
<app-page-container
|
||||
title="Suchergebnisse"
|
||||
subtitle="Ergebnisse für die ausgewählten Keywords und Themen.">
|
||||
<button pageActions mat-stroked-button color="primary" (click)="goBackToSearch()">
|
||||
<mat-icon>{{ ARROW_BACK_ICON }}</mat-icon>
|
||||
Keywords anpassen
|
||||
</button>
|
||||
</div>
|
||||
</button>
|
||||
@if (state.hasValidSearch()) {
|
||||
<mat-card class="summary-card">
|
||||
<mat-card-content>
|
||||
@@ -78,4 +78,4 @@
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
+1
-21
@@ -11,27 +11,7 @@ $touch-target: 44px;
|
||||
.search-results-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: clamp(1.2rem, 2vw, 1.6rem);
|
||||
font-weight: 650;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.2rem 0 0;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
|
||||
@@ -32,6 +32,7 @@ import {
|
||||
LinkTabNavBarComponent,
|
||||
LinkTabNavBarItem,
|
||||
} from '../../../shared/ui/link-tab-nav-bar/link-tab-nav-bar.component';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
@Component({
|
||||
selector: 'app-keywords-search-results',
|
||||
standalone: true,
|
||||
@@ -45,6 +46,7 @@ import {
|
||||
LinkTabNavBarComponent,
|
||||
MatSlideToggleModule,
|
||||
MatTooltipModule,
|
||||
PageContainerComponent,
|
||||
],
|
||||
providers: [SearchResultsStateService],
|
||||
templateUrl: './search-results.component.html',
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
<div class="detail-page">
|
||||
<button
|
||||
type="button"
|
||||
@@ -33,7 +34,7 @@
|
||||
<span>{{ formatDate(article.date) }}</span>
|
||||
}
|
||||
</div>
|
||||
<p class="article-heading">{{ article.maintitle || 'Kein Titel' }}</p>
|
||||
<h1 class="article-heading">{{ article.maintitle || 'Kein Titel' }}</h1>
|
||||
|
||||
@if (article.relevant === true) {
|
||||
<span class="relevance-badge is-relevant">
|
||||
@@ -259,3 +260,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
.detail-page {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 28px 32px 64px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
@@ -82,9 +81,10 @@ main {
|
||||
|
||||
.article-heading {
|
||||
margin: 0;
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.relevance-badge {
|
||||
|
||||
@@ -35,6 +35,7 @@ import {
|
||||
SEARCH_OFF_ICON,
|
||||
TOPIC_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
interface MentionedPerson {
|
||||
name: string;
|
||||
@@ -73,6 +74,7 @@ interface NewsArticleDetail {
|
||||
RouterLink,
|
||||
LoadingComponent,
|
||||
HighlightedTextComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './news-detail.component.html',
|
||||
styleUrl: './news-detail.component.scss',
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
<div class="page">
|
||||
<div class="page-header">
|
||||
<h1>Nachrichten</h1>
|
||||
<p>Aktuelle Nachrichten aus Campus-Aktuell.</p>
|
||||
</div>
|
||||
|
||||
<app-page-container
|
||||
title="Nachrichten"
|
||||
subtitle="Aktuelle Nachrichten aus Campus-Aktuell.">
|
||||
<ng-template #snippetTpl let-article>
|
||||
@if (article.snippet) {
|
||||
<span class="snippet" [innerHTML]="article.snippet"></span>
|
||||
@@ -66,4 +63,4 @@
|
||||
[noResultsTmp]="noResultsTmp"
|
||||
[cardMinWidth]="380"
|
||||
searchLabel="Nachrichten durchsuchen" />
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,26 +1,3 @@
|
||||
.page {
|
||||
padding: 28px 32px 42px;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
padding: 0 1rem;
|
||||
margin-bottom: 10px;
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 4px 0 0;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.snippet {
|
||||
display: -webkit-box;
|
||||
@@ -75,9 +52,3 @@ $card-min-width: 380px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.page {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ import {
|
||||
import { FilterCardComponent } from '../../shared/ui/filter-card/filter-card.component';
|
||||
import { YearRangeSliderComponent } from '../../shared/ui/year-range-slider/year-range-slider.component';
|
||||
import { CHECK_CIRCLE_ICON, SORT_ICON } from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
interface NewsArticle extends NewsArticleBase {
|
||||
author?: string | null;
|
||||
@@ -52,6 +53,7 @@ type SortOrder = 'desc' | 'asc';
|
||||
FilterCardComponent,
|
||||
QueryParamSelectorComponent,
|
||||
YearRangeSliderComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './news.component.html',
|
||||
styleUrl: './news.component.scss',
|
||||
|
||||
@@ -1,21 +1,17 @@
|
||||
<section class="organizations-page">
|
||||
<header class="page-header">
|
||||
<h1>Organisationen</h1>
|
||||
<div class="page-header-meta">
|
||||
<p>
|
||||
Organisationen verwalten, OpenAlex-Institutionen zuordnen und Status
|
||||
festlegen
|
||||
</p>
|
||||
<button
|
||||
mat-flat-button
|
||||
color="primary"
|
||||
type="button"
|
||||
(click)="startCreate()">
|
||||
<mat-icon>{{ ADD_BUSINESS_ICON }}</mat-icon>
|
||||
Neue Organisation
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<app-page-header
|
||||
title="Organisationen"
|
||||
subtitle="Organisationen verwalten, OpenAlex-Institutionen zuordnen und Status festlegen.">
|
||||
<button
|
||||
pageActions
|
||||
mat-flat-button
|
||||
color="primary"
|
||||
type="button"
|
||||
(click)="startCreate()">
|
||||
<mat-icon>{{ ADD_BUSINESS_ICON }}</mat-icon>
|
||||
Neue Organisation
|
||||
</button>
|
||||
</app-page-header>
|
||||
|
||||
<mat-card appearance="outlined">
|
||||
<mat-card-content>
|
||||
|
||||
@@ -5,34 +5,10 @@
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.page-header-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
h1,
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
.page-header p,
|
||||
.table-header span {
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
.page-header p {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -55,10 +31,6 @@ p {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.page-header-meta {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
mat-card,
|
||||
|
||||
@@ -35,6 +35,7 @@ import {
|
||||
DELETE_ICON,
|
||||
EDIT_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageHeaderComponent } from '../../shared/ui/page-header/page-header.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-organizations',
|
||||
@@ -48,6 +49,7 @@ import {
|
||||
MatCardModule,
|
||||
StatusPipe,
|
||||
QueryParamPaginatorComponent,
|
||||
PageHeaderComponent,
|
||||
],
|
||||
templateUrl: './organizations.component.html',
|
||||
styleUrl: './organizations.component.scss',
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
<div class="detail-page">
|
||||
<button
|
||||
type="button"
|
||||
@@ -376,3 +377,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
}
|
||||
|
||||
.detail-page {
|
||||
max-width: 1500px;
|
||||
margin: 0 auto;
|
||||
padding: 26px 32px 56px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
@@ -62,10 +61,12 @@
|
||||
|
||||
h1 {
|
||||
max-width: 920px;
|
||||
margin: 20px 0 13px;
|
||||
font-size: clamp(27px, 3vw, 42px);
|
||||
line-height: 1.13;
|
||||
margin: 12px 0;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.meta-line {
|
||||
@@ -179,7 +180,9 @@ aside {
|
||||
|
||||
.section-title h2 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ import {
|
||||
isLongDescription,
|
||||
patentExternalLinks,
|
||||
} from './patent-detail.utils';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-patent-detail',
|
||||
@@ -51,6 +52,7 @@ import {
|
||||
RouterLink,
|
||||
TopicChipComponent,
|
||||
LoadingComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './patent-detail.component.html',
|
||||
styleUrl: './patent-detail.component.scss',
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
<div class="content">
|
||||
<h1>Patente</h1>
|
||||
|
||||
<mat-divider />
|
||||
<app-page-container
|
||||
[title]="showDetail && selectedPatent ? (selectedPatent.title ?? selectedPatent.patent_id) : 'Patente'"
|
||||
[subtitle]="showDetail ? null : 'Suche Patente aus EPO und USPTO und filtere nach Zeitraum, Themen und Klassifikationen.'">
|
||||
@if (showDetail && selectedPatent) {
|
||||
<button
|
||||
pageActions
|
||||
mat-stroked-button
|
||||
color="primary"
|
||||
type="button"
|
||||
(click)="closeDetail()">
|
||||
← Zurück zu den Patenten
|
||||
</button>
|
||||
}
|
||||
|
||||
@if (error) {
|
||||
<p class="state-message error">Fehler beim Laden der Patente.</p>
|
||||
} @else if (showDetail && selectedPatent) {
|
||||
<div class="detail-view">
|
||||
<button type="button" class="back-btn" (click)="closeDetail()">
|
||||
← Zurück zu den Patenten
|
||||
</button>
|
||||
|
||||
<h2>{{ selectedPatent.title ?? selectedPatent.patent_id }}</h2>
|
||||
|
||||
<div class="patent-meta__list">
|
||||
@for (row of getPatentMetadataRows(selectedPatent); track row.label) {
|
||||
<div class="patent-meta__row">
|
||||
@@ -332,4 +335,4 @@
|
||||
</mat-card>
|
||||
</ng-template>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,20 +1,4 @@
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
padding: 1rem 0 0;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
.search-and-filter {
|
||||
padding: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
@@ -25,7 +9,7 @@ h1 {
|
||||
align-items: stretch;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
padding: 0 1rem 1rem;
|
||||
padding: 0 0 12px;
|
||||
}
|
||||
|
||||
.patent-year-filter {
|
||||
@@ -45,7 +29,7 @@ h1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 24px 1rem;
|
||||
padding: 16px 0;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 14px;
|
||||
|
||||
@@ -56,9 +40,9 @@ h1 {
|
||||
|
||||
.cards {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
padding: 0 1rem;
|
||||
gap: 16px;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
|
||||
@@ -23,6 +23,7 @@ import {
|
||||
} from '../../shared/ui/card-search/card-search.component';
|
||||
import { FilterCardComponent } from '../../shared/ui/filter-card/filter-card.component';
|
||||
import { HELP_ICON, PATENT_ICON } from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
type PatentSource = 'EPO' | 'USPTO';
|
||||
|
||||
@@ -55,6 +56,7 @@ const MIN_YEAR = 1978;
|
||||
YearRangeSliderComponent,
|
||||
CardSearchComponent,
|
||||
FilterCardComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './patents.component.html',
|
||||
styleUrl: './patents.component.scss',
|
||||
|
||||
+3
-4
@@ -18,13 +18,12 @@
|
||||
</section>
|
||||
} @else if (data) {
|
||||
<section class="company-connections">
|
||||
<header class="page-header">
|
||||
<h2>Mögliche Verbindungen zu Unternehmen</h2>
|
||||
<p>
|
||||
<app-page-header [level]="2" title="Mögliche Verbindungen zu Unternehmen">
|
||||
<p pageMeta class="page-meta">
|
||||
{{ getResultCountLabel() }} für
|
||||
<strong>{{ data.display_name }}</strong>
|
||||
</p>
|
||||
</header>
|
||||
</app-page-header>
|
||||
|
||||
@if (data.common_name_warning) {
|
||||
<div class="warning-box">
|
||||
|
||||
+5
-15
@@ -25,21 +25,11 @@ $text-muted: var(--sg-text-muted);
|
||||
padding: 20px 28px 32px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
h2 {
|
||||
margin: 0 0 6px;
|
||||
color: $text-main;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: $text-muted;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.page-meta {
|
||||
margin: 6px 0 0;
|
||||
color: $text-muted;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.state {
|
||||
|
||||
+2
@@ -35,6 +35,7 @@ import {
|
||||
NO_ACCOUNTS_ICON,
|
||||
OPEN_IN_NEW_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageHeaderComponent } from '../../shared/ui/page-header/page-header.component';
|
||||
|
||||
interface RoleLegendItem {
|
||||
role: string;
|
||||
@@ -60,6 +61,7 @@ interface GraphSymbols {
|
||||
MatTooltip,
|
||||
RouterModule,
|
||||
LoadingComponent,
|
||||
PageHeaderComponent,
|
||||
],
|
||||
templateUrl: './person-company-connections.component.html',
|
||||
styleUrl: './person-company-connections.component.scss',
|
||||
|
||||
@@ -1,32 +1,25 @@
|
||||
<section class="person-list-page">
|
||||
<app-page-container
|
||||
title="Passende Personen finden"
|
||||
subtitle="Durchsuche OpenAlex-Autorinnen und -Autoren nach Namen, Themen oder Kennungen.">
|
||||
@if (searchValue()) {
|
||||
<div pageActions class="selection-summary">
|
||||
<div>
|
||||
<strong>Aktive Suche</strong>
|
||||
<span [skText]="loading">„{{ searchValue() }}“</span>
|
||||
</div>
|
||||
<button
|
||||
mat-icon-button
|
||||
(click)="clearSearch()"
|
||||
matTooltip="Suche zurücksetzen"
|
||||
aria-label="Suche zurücksetzen">
|
||||
<mat-icon>{{ CLOSE_ICON }}</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
}
|
||||
<section class="person-list-page">
|
||||
<div class="layout-container">
|
||||
<!-- Left Column: Results Panel -->
|
||||
<main class="results-column">
|
||||
<header class="page-header">
|
||||
<div>
|
||||
<h1>Passende Personen finden</h1>
|
||||
<p>
|
||||
Durchsuchen Sie OpenAlex-Autorinnen und -Autoren nach Namen, Themen
|
||||
oder Kennungen.
|
||||
</p>
|
||||
</div>
|
||||
@if (searchValue()) {
|
||||
<div class="selection-summary">
|
||||
<div>
|
||||
<strong>Aktive Suche</strong>
|
||||
<span [skText]="loading">„{{ searchValue() }}“</span>
|
||||
</div>
|
||||
<button
|
||||
mat-icon-button
|
||||
(click)="clearSearch()"
|
||||
matTooltip="Suche zurücksetzen"
|
||||
aria-label="Suche zurücksetzen">
|
||||
<mat-icon>{{ CLOSE_ICON }}</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
}
|
||||
</header>
|
||||
|
||||
<!-- Active Filter Chips Row -->
|
||||
@if (activeFilters.length) {
|
||||
<div class="active-filters-row">
|
||||
@@ -403,3 +396,4 @@
|
||||
</aside>
|
||||
</div>
|
||||
</section>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
.person-list-page {
|
||||
padding: 24px;
|
||||
background: var(--sg-background);
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.layout-container {
|
||||
@@ -9,19 +8,16 @@
|
||||
grid-template-columns: 1fr 360px;
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Shared flex layouts
|
||||
.page-header,
|
||||
.sidebar-header,
|
||||
.toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-header,
|
||||
.toolbar {
|
||||
justify-content: space-between;
|
||||
}
|
||||
@@ -71,23 +67,6 @@
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
gap: 16px;
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 4px 0 0;
|
||||
color: var(--sg-text-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.selection-summary {
|
||||
gap: 12px;
|
||||
padding: 8px 12px;
|
||||
@@ -482,15 +461,6 @@ mat-paginator {
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.person-list-page {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
|
||||
@@ -47,6 +47,7 @@ import { BookmarkService } from '../../shared/services/bookmark.service';
|
||||
|
||||
import { ComponentTooltipDirective } from '../../directives/component-tooltip.directive';
|
||||
import { AppTopicTooltipComponent } from '../../shared/ui/app-topic-tooltip/app-topic-tooltip.component';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
import {
|
||||
CLOSE_ICON,
|
||||
FILTER_ICON,
|
||||
@@ -79,6 +80,7 @@ type InstitutionYearFilterMode = 'in' | 'from' | 'between';
|
||||
CountryFlagComponent,
|
||||
SkTextDirective,
|
||||
ComponentTooltipDirective,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './person-list.component.html',
|
||||
styleUrl: './person-list.component.scss',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 2rem;
|
||||
padding: 0;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
.patents-container {
|
||||
padding: 16px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
@if (!isPersonLoading()) {
|
||||
<section class="person-hero">
|
||||
<div class="profile-card">
|
||||
@@ -179,3 +180,4 @@
|
||||
<router-outlet></router-outlet>
|
||||
</div>
|
||||
</mat-tab-nav-panel>
|
||||
</app-page-container>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
'interesting bio';
|
||||
align-items: start;
|
||||
gap: 24px 40px;
|
||||
padding: 28px 32px 24px;
|
||||
padding: 20px 24px;
|
||||
border-bottom: 1px solid var(--sg-border);
|
||||
background: var(--sg-background);
|
||||
}
|
||||
@@ -65,9 +65,10 @@
|
||||
|
||||
.name-line h1 {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
line-height: 1.15;
|
||||
font-weight: 700;
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.profile-bookmark-button {
|
||||
@@ -279,7 +280,7 @@
|
||||
}
|
||||
|
||||
.person-tabs {
|
||||
padding: 0 32px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.person-panel {
|
||||
@@ -312,7 +313,7 @@
|
||||
}
|
||||
|
||||
.person-tabs {
|
||||
padding: 0 16px;
|
||||
padding: 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
@@ -359,7 +360,7 @@
|
||||
}
|
||||
|
||||
.description-container {
|
||||
margin: 3rem 3rem 2rem 3rem;
|
||||
margin: 16px 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
@@ -376,5 +377,5 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 1rem 4rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@ import {
|
||||
TRENDING_UP_ICON,
|
||||
VERIFIED_ICON,
|
||||
} from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-person',
|
||||
@@ -87,6 +88,7 @@ import {
|
||||
LinkTabNavBarComponent,
|
||||
AppInstitutionChipComponent,
|
||||
ComponentTooltipDirective,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './person.component.html',
|
||||
styleUrl: './person.component.scss',
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
<div class="detail-page">
|
||||
<div class="page-header">
|
||||
<div class="breadcrumb">
|
||||
@@ -414,3 +415,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
.detail-page {
|
||||
padding: 28px 32px 42px;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
@@ -129,10 +128,11 @@
|
||||
|
||||
h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 26px;
|
||||
line-height: 1.3;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.project-reference {
|
||||
@@ -241,8 +241,9 @@ h1 {
|
||||
|
||||
.section-header h2 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ import {
|
||||
PAID_ICON,
|
||||
PERSONS_ICON,
|
||||
} from '../../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
|
||||
export interface InstitutionEntry {
|
||||
label: string;
|
||||
@@ -36,6 +37,7 @@ export interface InstitutionEntry {
|
||||
MatCardModule,
|
||||
MatIconModule,
|
||||
ProjectOaTopicsComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './bund-details.component.html',
|
||||
styleUrl: './bund-details.component.scss',
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
<div class="detail-page">
|
||||
<div class="page-header">
|
||||
<div class="breadcrumb">
|
||||
@@ -401,3 +402,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
.detail-page {
|
||||
padding: 28px 32px 42px;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
@@ -93,10 +92,11 @@
|
||||
|
||||
h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 26px;
|
||||
line-height: 1.3;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.project-identifier {
|
||||
@@ -217,8 +217,9 @@ h1 {
|
||||
|
||||
.section-header h2 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ import {
|
||||
PUBLIC_ICON,
|
||||
PUBLICATION_ICON,
|
||||
} from '../../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dfg-details',
|
||||
@@ -42,6 +43,7 @@ import {
|
||||
MatIconModule,
|
||||
ProjectOaTopicsComponent,
|
||||
DfgClassificationComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './dfg-details.component.html',
|
||||
styleUrl: './dfg-details.component.scss',
|
||||
|
||||
+3
-2
@@ -104,7 +104,8 @@
|
||||
|
||||
.section-header h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
<div class="detail-page">
|
||||
<div class="page-header">
|
||||
<div class="breadcrumb">
|
||||
@@ -531,3 +532,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
.detail-page {
|
||||
padding: 28px 32px 42px;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
.page-header {
|
||||
display: flex;
|
||||
@@ -60,10 +59,11 @@
|
||||
}
|
||||
h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 26px;
|
||||
line-height: 1.3;
|
||||
font-weight: 700;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
.project-framework {
|
||||
margin: 0 0 16px;
|
||||
@@ -192,8 +192,9 @@ h1 {
|
||||
}
|
||||
.section-header h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
.count-badge {
|
||||
|
||||
@@ -41,6 +41,7 @@ import {
|
||||
TAG_ICON,
|
||||
TOPIC_ICON,
|
||||
} from '../../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component';
|
||||
|
||||
export type TabType =
|
||||
| 'overview'
|
||||
@@ -67,6 +68,7 @@ export type TabType =
|
||||
PatentsCardsComponent,
|
||||
DeliverablesCardsComponent,
|
||||
CurrencyPipe,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './eu-details.component.html',
|
||||
styleUrl: './eu-details.component.scss',
|
||||
|
||||
+3
-2
@@ -16,9 +16,10 @@
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -15,9 +15,10 @@
|
||||
|
||||
.section-header h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
// IPRs
|
||||
.iprs-list {
|
||||
|
||||
+3
-2
@@ -22,9 +22,10 @@
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<div class="content">
|
||||
<h1>Passende Projekte finden</h1>
|
||||
|
||||
<mat-divider />
|
||||
<app-page-container
|
||||
title="Passende Projekte finden"
|
||||
subtitle="Durchsuche geförderte Projekte aus DFG-, EU- und Bundesdatenquellen.">
|
||||
<app-card-search
|
||||
[page]="page()"
|
||||
[cardTmp]="cardTmp"
|
||||
@@ -11,7 +10,7 @@
|
||||
[sortingDirectionOptions]="sortingDirectionOptions"
|
||||
[observers]="observers"
|
||||
searchLabel="Suche nach Namen" />
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #cardTmp let-element>
|
||||
<app-project-card [project]="element" />
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.additional-filters {
|
||||
display: flex;
|
||||
padding: 0 1rem;
|
||||
padding: 0;
|
||||
|
||||
app-filter-card {
|
||||
min-height: 90px;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { Component, computed, input, signal } from '@angular/core';
|
||||
import { FundingProjectPage, ProjectType } from '../../api';
|
||||
import { MatDividerModule } from '@angular/material/divider';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
||||
@@ -16,11 +15,11 @@ import {
|
||||
import { FilterObserver } from '../../shared/ui/selected-filters/selected-filters.component';
|
||||
import { FilterCardComponent } from '../../shared/ui/filter-card/filter-card.component';
|
||||
import { SEARCH_ICON } from '../../shared/ui/icons';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-projects',
|
||||
imports: [
|
||||
MatDividerModule,
|
||||
MatIconModule,
|
||||
MatCardModule,
|
||||
RouterModule,
|
||||
@@ -29,6 +28,7 @@ import { SEARCH_ICON } from '../../shared/ui/icons';
|
||||
CardSearchComponent,
|
||||
AppProjectCardComponent,
|
||||
FilterCardComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './projects.component.html',
|
||||
styleUrl: './projects.component.scss',
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-page-container>
|
||||
<div class="detail-page">
|
||||
<button
|
||||
type="button"
|
||||
@@ -540,3 +541,4 @@
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
}
|
||||
|
||||
.detail-page {
|
||||
max-width: 1500px;
|
||||
margin: 0 auto;
|
||||
padding: 26px 32px 56px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
@@ -62,10 +61,12 @@
|
||||
|
||||
h1 {
|
||||
max-width: 920px;
|
||||
margin: 20px 0 13px;
|
||||
font-size: clamp(27px, 3vw, 42px);
|
||||
line-height: 1.13;
|
||||
margin: 12px 0;
|
||||
color: var(--sg-text);
|
||||
font-size: var(--sg-page-title-size, clamp(23px, 2vw, 28px));
|
||||
font-weight: var(--sg-page-title-weight, 700);
|
||||
letter-spacing: var(--sg-page-title-letter-spacing, -0.02em);
|
||||
line-height: var(--sg-page-title-line-height, 1.18);
|
||||
}
|
||||
|
||||
.author-line {
|
||||
@@ -269,7 +270,9 @@ aside {
|
||||
|
||||
.section-title h2 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px));
|
||||
font-weight: var(--sg-section-title-weight, 700);
|
||||
line-height: var(--sg-section-title-line-height, 1.3);
|
||||
color: var(--sg-text);
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ import { WorkTypePipe } from '../../shared/pipes/work-type.pipe';
|
||||
import { LanguageCodePipe } from '../../shared/pipes/language-code.pipe';
|
||||
import { WorkPrimaryCategoryPipe } from '../../shared/pipes/work-primary-category.pipe';
|
||||
import { ResearchProfileComponent } from './research-profile/research-profile.component';
|
||||
import { PageContainerComponent } from '../../shared/ui/page-container/page-container.component';
|
||||
import {
|
||||
ARROW_BACK_ICON,
|
||||
CHEVRON_LEFT_ICON,
|
||||
@@ -75,6 +76,7 @@ interface InstitutionDetail {
|
||||
ResearchProfileComponent,
|
||||
CountryFlagComponent,
|
||||
LoadingComponent,
|
||||
PageContainerComponent,
|
||||
],
|
||||
templateUrl: './publication-detail.component.html',
|
||||
styleUrl: './publication-detail.component.scss',
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
<div class="content">
|
||||
<h1>Passende Publikationen finden</h1>
|
||||
|
||||
<mat-divider />
|
||||
|
||||
<app-page-container
|
||||
title="Passende Publikationen finden"
|
||||
subtitle="Durchsuche wissenschaftliche Publikationen nach Titel, Autor:innen, Themen oder Institutionen.">
|
||||
<app-card-search
|
||||
[page]="page()"
|
||||
[cardMinWidth]="500"
|
||||
@@ -13,7 +11,7 @@
|
||||
searchQueryParamKey="title"
|
||||
[sortingDirectionOptions]="sortingDirectionOptions"
|
||||
sortingDirectionQueryParamKey="sort_direction" />
|
||||
</div>
|
||||
</app-page-container>
|
||||
|
||||
<ng-template #cardTmp let-work>
|
||||
<app-publication-card
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.additional-filters {
|
||||
margin: 0rem 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user