Skip to content

fix(reports): what the first walk of workspace publishing found - #1680

Merged
sickerine merged 21 commits into
devfrom
fix/publishing-wave-1
Dec 1, 2026
Merged

sickerine merged 21 commits into
devfrom
fix/publishing-wave-1

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Fixes from the first-use walk of workspace publishing (three walkers on dev), two duplication reviews and a cross-family review. Part of milestone OS-37.

What a person sees change

  • The workspace is picked on Prepare too. Two of three walkers read their own workspace's prices before publishing for their organization. Someone in more than one workspace now picks it on the first screen, and the series, the prices and the byline rule follow at once. The agreement opens on the same pick.
  • Prices on Prepare. One price for every licence is said once ("$10 under any license"). The identifiers every report gets are counted, so the screen never calls a report free that the next one bills.
  • The agreement follows what is signed for. Where it costs nothing, the Fee section is left out and the sections after it move up. The byline clause now says the line sits on the cover or first page, or on a last page Openscholar adds, which is what the upload step offers. A report keeps whether it was signed for nothing (feeOff), so its signed agreement reads as signed.
  • Activation is an admin's act whatever the price, because a published DOI can't be undone. A member's report with nothing to pay no longer goes live when a reviewer approves it: it waits for an admin of its organization. In the reports list a member's way into a ready report opens it, where it offered Pay or Activate.
  • Reviewers are told when approving makes a report live at once (its owner may publish and there is nothing to pay).
  • The reports list shows the server's stage. Looking at the details of a report in review showed it as Draft.
  • A report shows the series it was signed in on its cover, in the list and in its saved copy, where the Publish page showed the workspace's series as it is now. Citations name its own publisher, and a report with no series is cited without one.
  • With no byline asked for, a PDF with no rights statement passes the rights check. It was called unclear, which sent every such report to review. migrations/seriesWords rewords stored questions and the agreement's fee and byline clauses, for the series and each workspace's own.
  • Words. Three texts no longer name "Openscholar Reports" where a workspace may have its own series. The Crossref card says only "A DOI" where nothing is printed. A live bill has no "Charged to a card" line when no card was charged. Emails come from "{name} via Openscholar" unless the name already says Openscholar.
  • Admin page. A refused price says why and a saved one says so. An ISSN counts only for a series with a name, everywhere it is read. The submissions list is headed by the filtered workspace's series. Workspace pictures use the shared avatar. The Series/Own switch moves with its values. The preview uses one sample report. A namespace's numbers are read again on a later save when Crossref never answered.

After the deploy

Run npx convex run migrations/seriesWords:run on each deployment once (again on dev, which ran the earlier version).

Checked

  • tsc, the report, citation, paper and migration tests (new cases for each server change), check:ui-rules, check:user-actions, check:convex-rules, check:module-weight.
  • On a throwaway Convex backend running this branch: Prepare with the workspace pick, a member's list row, and the server fields series, free and activates. npm run verify -- shift on the pick found nothing new in Chromium or Firefox.
  • Cross-family review (GPT-6.1 Sol) of the first part: two findings fixed (the ISSN in the byline, the Openscholar mark on a report's own copy). One left: a run's rows are read from the settings as they are, so an admin switching a check during the minute a run takes sees the wrong rows until it ends. Two more were another branch's changes that reached dev mid-review.
  • Not yet seen in a browser: the agreement without its Fee section. I check it on dev after the deploy and the migration.

Left for later in the round

Wording on the pricing page and in the assistant's tool descriptions that still says "Openscholar Reports", and two internal clean-ups the duplication reviews listed.

…identifiers in the overview, list the run's own checks
…the list shows the server's stage and opens a ready report for a member, no $0 charged to a card
…g, and the migration rewords stored questions
…its byline clause covers a last page, and review fixes
@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-01T08:55:37.154546Z 24561e4 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.

@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: 022f593a-843c-4db7-ac3a-eef71f129954
  • 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 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: 24561e4894

ℹ️ 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/migrations/seriesWords.ts Resolved
Comment thread lib/citations/paper-data.ts Resolved
…ations: a report with no series says so itself
@sickerine
sickerine merged commit dfbdadd into dev 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