Skip to content

Given and family names for report authors, the byline page follows edits, and sign-in before the agreement (prod) - #1685

Merged
sickerine merged 7 commits into
prodfrom
fix/prod-names-signin
Dec 1, 2026
Merged

sickerine merged 7 commits into
prodfrom
fix/prod-names-signin

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Straight onto prod, ahead of dev. The same work for dev follows separately.

Author names

  • The details form asked for "Name" beside "Family name", which reads as first name and last name. R100020's author typed "Charles" in Name, so the PDF's added page printed only "Charles".
  • A person now has Given names and Family name boxes, and the printed name is built from them. An organisation keeps one Name box, and switching between the two keeps the name.
  • Picking someone on ORCID fills both boxes when they're empty.

The "?" panels

  • New Given names entry.
  • Date and licence show DOCiD as a recipient.
  • The licence picker's "?" uses the same list of recipients as every other "?".
  • Copy updated in all 13 language files.

The added byline page

  • A reviewer's edit, and corrections to a live report going live, now rebuild the page added to the PDF from the original upload.
  • For a live report, Crossref, Zenodo and DOCiD are sent the update only after the rebuilt page is saved.

Sign-in

  • Signed out, the first page's button reads "Sign in to publish" and returns to the new report's agreement, after sign-up too.
  • The agreement page itself sends signed-out visitors to sign in.
  • Publish shows in the side rail when signed out.

Checks

  • tsc passes for the app and Convex.
  • Vitest passes on the names, flow, review, registration and message tests (96).
  • New test: a reviewer's edit rebuilds the page on a real PDF.
  • Cross-family review done, and its findings fixed.

…d every "?" says what DOCiD gets

The form's Name box beside Family name read as a first name, so R100020 printed only "Charles". A person now has
Given names and Family name boxes and the printed name is made from them; an organisation keeps one Name box.
The date and licence "?" tick DOCiD, the notes name it where it gets the field, and the licence picker's "?"
shares the details' Sent to list with the series' registrars.
… the added byline page again, and signing in comes before the agreement

The page Openscholar adds to a PDF prints the report's details, but only a check run wrote it, so an admin's edit
(R100020's author name) left the PDF saying the old details. Both now schedule reports/checks:redoPage, which makes
the page again from the uploaded PDF and is given up if the details change again meanwhile.

Prepare's Start says "Sign in to publish" when signed out and comes back on the agreement; the agreement's
own sign-in button and the Zenodo connect fallback are gone, and a signed-out agreement address redirects.
…page, a new account comes back on the agreement too, and a one-name ORCID record fills Family name

From the cross-family review.
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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: 6f2218bd-aef3-4b01-8dd0-1c26f7e8d752

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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-01T11:37:59.986980Z 4741461 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4741461b93

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread convex/reports/review.ts Resolved
Comment thread lib/reports/report.ts Resolved
…e details, and family-first names printed without a space stay family-first

An edit now writes the page first (reports/checks:editDetails) and saves it with the details in one mutation
(review.saveEdit), so an activation or registration never reads the old PDF after it is deleted. From Codex's review.
@sickerine
sickerine merged commit e57bfe8 into prod Dec 1, 2026
6 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