Skip to content

ROR id support for content providers - #1410

Open
eilmiv wants to merge 6 commits into
ElixirTeSS:masterfrom
pan-training:ror_id_support
Open

eilmiv wants to merge 6 commits into
ElixirTeSS:masterfrom
pan-training:ror_id_support

Conversation

@eilmiv

@eilmiv eilmiv commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary of changes

  • Added ROR URL support to content providers
    • Autocomplete
    • Added to API / Bioschemas serialization
    • Added to full text search
    • Uniqueness constraint of RORs (including feedback in edit UI)

future work: import ROR during content provider exchange when available.

Motivation and context

This is relevant for the mTeSS-X project and also for connecting training materials with dataset in our PaN-Space project.

Screenshots

image

Checklist

  • I have read and followed the CONTRIBUTING guide.
  • I confirm that I have the authority necessary to make this contribution on behalf of its copyright owner and agree to license it to the TeSS codebase under the BSD license.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the addition of ROR identifiers to content providers.

No open issues 🎉

What changed in this PR

Adds Research Organization Registry (ROR) URLs to content providers, supporting organization identification and interoperability for mTeSS-X and PaN-Space.

Changes:

  • Stores, validates, and indexes ROR URLs for full-text search.
  • Adds organization-name autocomplete and displays ROR links on provider pages.
  • Exposes ROR identifiers in API and structured-data output, with regression tests.
File Description
test/​models/​material_test.rb Tests provider ROR identifiers in material Bioschemas output.
test/​models/​event_test.rb Tests provider ROR identifiers in event Bioschemas output.
test/​models/​content_provider_test.rb Tests ROR URL validation and whitespace trimming.
test/​integration/​bioschemas_test.rb Checks ROR identifiers in rendered structured data.
test/​controllers/​content_providers_controller_test.rb Tests ROR creation, updates, API exposure, and views.
public/​api/​definitions/​tess.yml Documents the nullable ROR API attribute.
lib/​bioschemas/​generator.rb Adds provider ROR values as @id and identifier.
db/​schema.rb Records the new ROR column and migration version.
db/​migrate/​20261127120000_add_ror_to_content_providers.rb Adds the ROR column to content providers.
config/​locales/​en.yml Adds ROR labels.
app/​views/​content_providers/​show.json.jbuilder Includes ROR in provider detail JSON.
app/​views/​content_providers/​partials/​_content_provider_sidebar.html.erb Displays the provider’s ROR link when enabled.
app/​views/​content_providers/​partials/​_content_provider_schemaorg.html.erb Adds ROR to Organization microdata.
app/​views/​content_providers/​index.json.jbuilder Includes ROR in provider listing JSON.
app/​views/​content_providers/​_form.html.erb Adds the ROR input with autocomplete configuration.
app/​serializers/​content_provider_serializer.rb Exposes ROR through the provider serializer.
app/​models/​content_provider.rb Trims, validates, and indexes ROR URLs.
app/​controllers/​content_providers_controller.rb Permits ROR in provider parameters.
app/​assets/​javascripts/​ror.js Implements organization autocomplete using the ROR API.
app/​assets/​javascripts/​application.js Initializes ROR autocomplete on page load.

Review effort: Balanced

@eilmiv eilmiv changed the title Ror id support ROR id support for content providers Nov 27, 2026
@eilmiv
eilmiv marked this pull request as draft November 27, 2026 15:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Regression coverage is missing for the new ROR lookup precedence and fallback behavior, as well as the duplicate-warning endpoint’s responses and input normalization.

2 open issues

Review effort: Balanced

Comment thread app/models/content_provider.rb Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the ROR identifier changes.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

@eilmiv
eilmiv marked this pull request as ready for review November 27, 2026 17:38
@eilmiv
eilmiv requested a review from fbacall November 27, 2026 17:38
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