Skip to content

Conversation

@aaxelb
Copy link
Contributor

@aaxelb aaxelb commented Sep 10, 2025

  • Ticket: [ENG-8794]
  • Feature flag: n/a

Purpose

make project metadata slightly more available to web tools

Summary of Changes

  • add MetadataRecordsService for getting metadata records from backend /metadata/<osfguid>/?format=<record-format>
  • update MetaTagsService to get json-ld record using MetadataRecordsService (replaces partial implementation)
  • update existing uses of updateMetaTags to avoid repeated calls while data still loading
  • put osf contributors in dc.creator instead of dc.contributor (closer semantic fit, per osfmap)
  • set project meta tags from ProjectOverviewComponent

QA Notes

can view meta tags in dev console with document.querySelectorAll('.osf-dynamic-meta')

@aaxelb aaxelb force-pushed the feat/8794-project-head-tags branch from f8b437f to a2c610d Compare September 10, 2025 17:37
@aaxelb aaxelb requested a review from bp-cos September 10, 2025 17:38
bp-cos
bp-cos previously approved these changes Sep 10, 2025
Copy link
Contributor

@bp-cos bp-cos left a comment

Choose a reason for hiding this comment

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

You just need to resolve the conflicts.

@aaxelb aaxelb force-pushed the feat/8794-project-head-tags branch from fcb9996 to 8c4eda2 Compare September 11, 2025 18:07
@aaxelb aaxelb changed the base branch from develop to main September 11, 2025 18:08
@aaxelb aaxelb requested a review from bp-cos September 11, 2025 18:09
@aaxelb aaxelb added this pull request to the merge queue Sep 11, 2025
Merged via the queue into CenterForOpenScience:main with commit 461401c Sep 11, 2025
1 of 2 checks passed
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.

2 participants