Skip to content

fix(reports): admin Publications choices stay inside their rows on a phone at large text - #1528

Merged
sickerine merged 5 commits into
devfrom
fix/identifier-labels-wrap-phone
Nov 25, 2026
Merged

sickerine merged 5 commits into
devfrom
fix/identifier-labels-wrap-phone

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Found by the daily QA of 25 November, checking #1524 and #1527.

Problem

On Settings > Admin > Publications at large text on a phone:

  • Identifiers: fix(reports): the Identifiers settings wrap on a phone at large text instead of widening the page #1524 let each service's choices wrap, but a choice's label never did, so "Author picks" (188px at 200% text) stayed wider than its group. Measured past the row's edge on dev at 200%: 390px wide, Crossref 2, Zenodo 46, DOCiD 63px; 360px 32/76/93; 320px 72/116/116. DOCiD's "Handle" chip ran past its row too.
  • New reports' "When they open" (Off, On, Between dates) never wrapped: 45px past its row on a 320px phone at normal text, 155px at 390 and 150%, 336px at 390 and 200%.

Change

  • Segmented takes wraps: on a phone the group is never wider than its row, takes more lines where its choices don't fit, and a label wraps between its words. Its icon sits in a box one of the label's lines high, so it stays on the first line (the box, not the icon: the icon sets its own font size). Groups without wraps don't change.
  • Identifiers use wraps in place of fix(reports): the Identifiers settings wrap on a phone at large text instead of widening the page #1524's class string; the service's title line wraps, so "Handle" goes under DOCiD's mark.
  • "When they open" uses wraps.

Checks

Production build of this branch against dev (verify up --prod), Chromium, as the Verify Agent:

dev this branch
Identifiers 390 at 200% 2/46/63px past the row inside, "Author picks" on two lines
Identifiers 360 at 200% 32/76/93 4/14/14
Identifiers 320 at 200% 72/116/116 44/54/54
When they open, 320 at 100% 45px past inside, two lines
When they open, 390 at 150% 155 past inside
When they open, 390 at 200% 336 past 6 into the row's padding
Every group at 390 and 100%, 320 and 100% (identifiers), 1440 at 100% and 200% same size as dev
  • What's left at 360 and 320 at 200% is one word with its icon and padding wider than the group ("Always", "Between"). Fitting it needs a visual change (no icons, or less padding, at large text on a phone), which waits for a decision.
  • The limit rows' "How the period runs" switch doesn't get wraps: its row keeps a column for the delete button, so it would take two lines at normal text on a 390px phone. It still runs past at 320 (43px, normal text) and at large text; that's waiting for the same decision.
  • npm run verify -- shift /settings/admin/publishing?view=settings: pass in Chromium and Firefox; the 6 it lists are on dev too.
  • npm run check:ui-rules, npx tsc --noEmit.
  • Reviewed by GPT-6.1 Sol: one finding (the icon's own font size made 1lh on the icon too tall, so groups grew at normal text on a phone), fixed by putting the line box on a wrapper; remeasured above.

@coderabbitai

coderabbitai Bot commented Nov 25, 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: 34792268-b4e7-49e1-8def-b24de21317af
  • 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 25, 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-25T08:25:31.610737Z 88e7fe0 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.

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