Skip to content

Fix: unify hpscreg field name#425

Merged
rugeli merged 3 commits intomainfrom
fix/unify-hpscreg-field-name
Feb 17, 2026
Merged

Fix: unify hpscreg field name#425
rugeli merged 3 commits intomainfrom
fix/unify-hpscreg-field-name

Conversation

@rugeli
Copy link
Collaborator

@rugeli rugeli commented Feb 17, 2026

Problem

What is the problem this work solves, including
closes #423

Solution

unified the hPSCreg certificate field name across the codebase to avoid data not fetched issue

  • renamed eu_hpsc_reg to hpscreg_certificate_link in markdown files, graphql queries, data converters and types
  • renamed hPSCreg_certificate_link to lowercase hpscreg_certificate_link in config

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Steps to Verify:

@netlify
Copy link

netlify bot commented Feb 17, 2026

Deploy Preview for cell-catalog ready!

Name Link
🔨 Latest commit eb3d843
🔍 Latest deploy log https://app.netlify.com/projects/cell-catalog/deploys/6994c4e4fc97500009d00303
😎 Deploy Preview https://deploy-preview-425--cell-catalog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes issue #423 by unifying inconsistent field names for hPSCreg certificate data across the codebase. Previously, the same data was referenced using two different field names: eu_hpsc_reg in markdown files and GraphQL queries, and hPSCreg_certificate_link in the config file. This inconsistency caused data fetching issues.

Changes:

  • Unified all field references to use the consistent lowercase naming convention: hpscreg_certificate_link
  • Updated configuration files, TypeScript type definitions, GraphQL queries, data converters, and all 64+ markdown data files
  • Maintains backward compatibility by only changing internal field references

Reviewed changes

Copilot reviewed 66 out of 66 changed files in this pull request and generated no comments.

Show a summary per file
File Description
static/admin/config.yml Changed field name from hPSCreg_certificate_link to hpscreg_certificate_link in admin config (2 locations)
src/templates/cell-line.tsx Updated GraphQL query to use hpscreg_certificate_link instead of eu_hpsc_reg
src/component-queries/types.ts Updated type definitions for both NormalCellLineFrontmatter and DiseaseCellLineFrontmatter interfaces
src/components/SubPage/convert-data.ts Updated data converters to reference hpscreg_certificate_link in both normal and disease cell line unpacking functions
src/component-queries/convert-data.ts Updated converter functions to use the unified field name
64 cell line markdown files Changed field name from eu_hpsc_reg or hPSCreg_certificate_link to hpscreg_certificate_link consistently

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rugeli rugeli merged commit c3a0a47 into main Feb 17, 2026
13 checks passed
@rugeli rugeli deleted the fix/unify-hpscreg-field-name branch February 17, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mismatched hPSCreg field names used for the same data across files

4 participants