Skip to content

fix(reports): a report that gets only a DOCiD is promised no DOI - #1690

Merged
sickerine merged 6 commits into
devfrom
fix/docid-only-promises-no-doi
Dec 1, 2026
Merged

sickerine merged 6 commits into
devfrom
fix/docid-only-promises-no-doi

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

A workspace can publish with only DOCiD switched on. Its Publish screens still promised a DOI: the step's name, "Get your DOI", "Sign and reserve a DOI", "Activate the DOI" and more. The fourth walk of workspace publishing (OS-37) found it.

What changes

Where neither Crossref nor Zenodo gives a report a DOI, the screens name its DOCiD.

  • identifierName(route) says which: "docid" when the route has DOCiD and no DOI service, else "doi".
  • The publish flow provides it from the report's own registrars, or for a new report from what the picked workspace offers. The agreement step follows the identifiers picked there.
  • Eighteen texts in publishReports.flow take it as an ICU select, in all 13 languages: the step trail, the first screen, the agreement's intro and button, the checks, the activation, the cover, the live screen, and the list's button for a free report.
  • The live screen's DOCiD form no longer says communities can add the report by a DOI it doesn't have.

A workspace with a DOI service reads exactly as before.

Checks

  • npx tsc --noEmit, npm run check:ui-rules
  • All 18 texts formatted in 13 languages with both values through intl-messageformat: 468 of 468.
  • Seen in a browser on a local production build against the dev backend, with a test organisation set to DOCiD only: the Prepare screen and the agreement step say DOCiD, and a workspace with Crossref says DOI. The organisation's identifiers are back on the series.

Out of scope

  • The agreement's own clauses (2.2, 4.1, 6.1, 6.3) still say DOI. That is legal text an admin edits.
  • "Who gets the file" still names Zenodo where Zenodo is off.

An ISSN a series gets later no longer reaches a report already published: its page, its saved copies, the search
feed and any later registration (a correction, an embargo ending) read the ISSN kept on the report when it went
live. migrations/reportIssn gives reports already live the one their series has now.
Stripe's invoice gets a Report field at its head on every way of paying. Stripe's checkout is told to add it to the
invoice it makes. An invoice Autumn makes itself, for a saved card or the account's credit, takes it from the
customer's default field, set for that charge under the purchase lock and taken off after, since a paid invoice
takes no text.
…ce's report field holds the purchase lock and is asked again while it fails, and a request to Stripe is given up after 20 seconds
Where neither Crossref nor Zenodo gives a report a DOI, the Publish screens name its DOCiD: the step's name, the
first screen, the agreement and its button, the checks, the activation, the cover and the live screen, and the
list's button for a free report. The live screen no longer says communities can add it by a DOI it doesn't have.
@coderabbitai

coderabbitai Bot commented Dec 1, 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: ff3fa4ab-fd95-4c74-aa7a-0bb5284c8e1a
  • 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 Dec 1, 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-12-01T16:23:40.350682Z f57783d 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.

…ollow the identifiers picked on the agreement, and a reservation left untouched is named by what it reserved
@sickerine
sickerine merged commit 8465bba into dev Dec 1, 2026
5 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