added h_index to displayed data
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
2026-06-11 19:21:30 +02:00
parent f288fb7306
commit 4e1ea6d04c
3 changed files with 9 additions and 4 deletions
@@ -34,6 +34,9 @@
Publikationen: {{ person.works_count }} · Zitationen:
{{ person.cited_by_count }}
</p>
<p [skText]="loading" class="stats">
h_index: {{person.summary_stats?.h_index }}
</p>
</div>
</a>
@@ -21,6 +21,11 @@
}
@if (citedByCount() !== null) {
{{ citedByCount() }} Zitationen
}
</span>
<span>
@if (h_index() !== null) {
h_index: {{ h_index() }}
}
</span>
}
@@ -23,10 +23,6 @@ import { PersonsService, WorksService } from '../../api';
import { LoadingComponent } from '../../shared/ui/loading/loading.component';
import { PersonBioResolved } from '../../resolvers/person-bio.resolver';
const PERSON_INCLUDE_TAGS =
'topics_full,topic_share,summary_stats,ids,last_known_institutions,' +
'sources,counts_by_year,works_api_url,dates,cited_by_count_boost';
@Component({
selector: 'app-person',
imports: [
@@ -143,6 +139,7 @@ export class PersonComponent {
);
readonly worksCount = computed(() => this.person()?.works_count ?? null);
readonly citedByCount = computed(() => this.person()?.cited_by_count ?? null);
readonly h_index = computed(() => this.person()?.summary_stats?.h_index ?? null);
readonly orcid = computed(() => {
const rawOrcid = this.getId('orcid');
if (!rawOrcid) {