Skip to content

Fix visible copy, study-type labels and number formatting - #36

Merged
LukasWallrich merged 3 commits into
mainfrom
fix/copy-errors
Oct 21, 2026
Merged

LukasWallrich merged 3 commits into
mainfrom
fix/copy-errors

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

From the second usability review of 21 October 2026. This was an agent-led review using simulated perspectives, not recruited participants. GPT 6.1 Sol implemented the changes; Claude reviewed them. This PR fixes C09 and the objective errors in C13, plus related copy findings. It does not touch the outcome or row-unit vocabulary, the boilerplate caveats, or substantive caveat wording; separate proposal PRs cover those.

Changes

  • C09: the broken sentence in both reproduction views of Years & Disciplines is replaced with complete, study-type-specific sentences. A test now checks the assembled text in every study-type view.
  • FAQ: Markdown escapes, raw column names (doi\_r, alt\_id\_r), grammar and spelling are fixed, and so is the "plugin tags…" sentence. The peer-review answer now matches the dashboard's venue categories.
  • Study-type labels: random examples and Browse headers use each row's actual type, so reproductions are no longer labelled "Replication".
  • Developer residue:
    • reader-facing journal_r and the data/disciplines.json link label are gone, along with "straightforward to extend" and "Uncategorized may dominate";
    • "RRDB" is written out as the Registered Reports database, and "rest" is now "Not found in RR database";
    • the placeholder about workflow secrets is replaced with reader-facing text;
    • a leftover "Loading…" element is removed;
    • the unused fect_results.json request, which returned 404 on every visit, is removed. Its only producer is run_fect.R, which nothing deploys.
  • Numbers:
    • thousands separators throughout;
    • a true minus sign in rendered values;
    • whole percentages in captions, and "<1%" instead of "0%" for non-zero shares;
    • chart CSV values rounded to at most 5 decimals.
  • Labels and hovers: wrapped chart labels are joined with spaces in data tables and CSV. Plotly hovers are rounded and labelled.
  • Grammar: "1 reference pair"; lower-case study-type names inside sentences.
  • Names: the full FLoRA name is used consistently, FORRT is expanded once, "comprehensive" is removed from the meta description, and the About page names the "FLoRA Zotero Plugin".
  • Mislabels: the venue selector says "venues", and the timeline instructions name the Timeline button.

Tests

Four new browser scenarios cover the assembled copy, an FAQ fixture, formatting, exports and hovers, and the low-data and unavailable states. Full suite passes locally (20/20).

For review

  • FAQ fixes are applied when the text is displayed, because the FAQ Markdown comes from an external source that stays live. Fixing the source as well would be better.
  • The robustness view's sentence says "how robust" rather than "how reproducible".

🤖 Generated with Claude Code


Summary by cubic

Fixes visible copy, study-type labels, and number formatting issues from the usability review: reproduction views no longer show broken sentences or mislabelled study types, and counts, percentages, and exports are formatted consistently.

Copy fixes

  • Replaces the broken sentence in both reproduction views with study-type-specific text; tests check the assembled sentence in every study-type view.
  • Fixes FAQ rendering at display time — Markdown escapes, raw column names, grammar and spelling, and a peer-review answer aligned with the dashboard's venue categories — because the FAQ source stays live externally.
  • Removes developer-facing text: journal_r, the data/disciplines.json link label, "RRDB"/"rest" labels, the workflow-secrets placeholder, a "Loading…" element, and the unused fect_results.json request that 404'd on every visit.
  • Uses the full FLoRA name, renames "FLoRA Annotator" to "FLoRA Zotero Plugin", expands FORRT once, and fixes the venue selector and Timeline instructions.

Formatting

  • Adds thousands separators and a true minus sign, shows "<1%" instead of "0%" for non-zero shares, rounds chart CSV values to at most 5 decimals, and labels and rounds Plotly hovers.
  • Joins wrapped chart labels with spaces in data tables and CSV exports.
  • Uses integer tick spacing on small count axes so auto-ticks no longer round fractional steps into repeated labels; count formatting is shared throughout Citation Impact; tests wait for a settled axis before asserting ticks.

The FAQ correction warns when an upstream heading change bypasses the venue fix. Eight new browser tests cover copy, FAQ display and drift, formatting/exports/hovers, small-sample counts and integer ticks, and a non-English locale; the full suite passes locally (24/24). Outcome and caveat wording is unchanged; separate PRs cover that.

Written for commit 9ad6a6a. Summary will update on new commits.

View guided diff Turn on auto-fix

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6fa84b3c-bc14-43e0-b0a4-c7c13ad8aeb8
📥 Commits

Reviewing files that changed from the base of the PR and between 799b354 and 9ad6a6a.

📒 Files selected for processing: 7
  • README.md
  • assets/app.js
  • assets/chart-accessibility.js
  • assets/citation-impact.js
  • assets/view-controls.js
  • index.html
  • tests/browser.test.cjs
  • 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

Comment @coderabbitai help to get the list of available commands.

@cubic-dev-ai cubic-dev-ai 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.

All reported issues were addressed across 7 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread assets/citation-impact.js Outdated
Comment thread assets/chart-accessibility.js Outdated
Comment thread assets/app.js Outdated
Comment thread assets/citation-impact.js Outdated
LukasWallrich and others added 2 commits October 21, 2026 20:36
Correct FAQ display, product names and reader-facing labels. Format chart
counts, small shares, intervals, exports and citation hovers consistently,
and remove unused citation loading residue and the optional FECT request.
Add focused browser coverage without changing scientific classifications.

Co-Authored-By: GPT 6.1 Sol <noreply@openai.com>
Use integer tick spacing for small count axes so fractional auto-ticks do not produce repeated rounded labels. Warn when an upstream FAQ heading change bypasses the venue correction, and use shared count formatting throughout Citation Impact.

Add browser coverage for small count axes, desktop and mobile comparisons, FAQ heading drift, and count formatting under a German locale. Full browser suite: 24 tests passed.

Co-Authored-By: GPT 6.1 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasWallrich
LukasWallrich merged commit 9cc49b1 into main Oct 21, 2026
3 checks passed
@LukasWallrich
LukasWallrich deleted the fix/copy-errors branch October 21, 2026 19:49
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