feat(patents): show OpenAlex topic labels for patent IPC/CPC codes
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good

Enriches patents with matched OpenAlex topic names from
patents_openalex_keywords, shown alongside classifications on the
patent detail page. Also fixes lookup() using a broken GET on doc ids
containing "/" (400 from the gateway) by switching to a _search with
an ids query.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-11 11:39:45 +02:00
co-authored by Claude Sonnet 5
parent f5bf3ecbe4
commit 2427f4baa0
11 changed files with 255 additions and 4 deletions
@@ -120,6 +120,20 @@
</section>
}
@if (patent.openalex_topics?.length) {
<section class="card">
<div class="section-title">
<mat-icon>topic</mat-icon>
<h2>OpenAlex Themen</h2>
</div>
<div class="tags">
@for (topic of patent.openalex_topics; track topic) {
<span>{{ topic }}</span>
}
</div>
</section>
}
@if (patent.ipc_descriptions?.length) {
<section class="card classification-card-section classification-card-section--ipc">
<div class="section-title">