Skip to content

feat(reports): DOCiD maps every type from the report, with a funder type on each funder - #1520

Merged
sickerine merged 2 commits into
devfrom
feat/docid-mapped-types
Nov 24, 2026
Merged

sickerine merged 2 commits into
devfrom
feat/docid-mapped-types

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

DOCiD now gets the same record as Crossref and Zenodo, and every type is mapped in code. Nobody picks types on the admin page.

  • Admin page, DOCiD account: the Resource type, File type and Funder type pickers are gone, leaving the email and password. When the account may not file reports under Manuscripts, the page says so. DOCiD counts as connected only when it may.
  • Registrar: it sends DOCiD the record of the kind the author chose, as Zenodo files it, along with each organisation's type from ROR. Each type is found by name in the lists DOCiD gave the account (doi-sync-core#20).
  • Report details: where the report goes to DOCiD, each funder gets a Funder type (Grantor, Investor or Corporation; Grantor by default) with a "?" help. It is saved on the funder (Funding.type, optional) and shows in a correction's changes.
  • "?" menus: a DOCiD row appears under "Sent to" for reports that go to DOCiD.
  • Data: the docid.resourceTypeId, publicationTypeId and funderTypeId settings are removed. No saved row on shared dev has them.

DOCiD's update route takes only the title, description, resource type, DOI and poster. A funder type changed after the deposit therefore stays as it was at DOCiD, like authors and funders already do.

Checks: tsc --noEmit, Vitest on lib/reports, convex/reports identifiers and registration, and convex/evidenceLibraries (781 passed), check:ui-rules, npm run build.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 47fe062b-f354-413d-9ae0-5816cf5735dc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T03:56:36.948125Z 9d2514b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sickerine
sickerine merged commit 7e08311 into dev Nov 24, 2026
7 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.

1 participant