Repository navigation
Replace research shields.io badges with design-system chips (F3) - #159
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Replace publication badges with text chips AGENTS.md, _research/index.md |
The instructions example and publication entries use text chip links instead of badge images. Existing destinations are retained; some labels are revised or added. |
Style linked chips and research layout assets/css/bridge.css, assets/css/research-v2.css |
Linked chips receive teal, hover, keyboard-focus, dark-theme, and identifier styles. Research paragraphs containing chip links use wrapping layout, and the static-image rule now covers all research-content images. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Possibly related PRs
- comphy-lab/comphy-lab.github.io#157: Adds image-sizing rules that exclude shields.io images. This change replaces those images and updates the image selector.
Merge Risk: 
Minimal · up to dc0c9
-
No actionable merge-blocking issue was established. The publication links retain their destinations, and the chip styles support wrapping.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
Simplify code
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
There was a problem hiding this comment.
🟡 Changes recommended
The linked-chip style removes the bottom border, leaving incomplete pill outlines that the hover color rule cannot restore.
1 open issue
What changed in this PR
Replaces third-party Shields.io badges on the research page with token-based chips, continuing the site’s design-system migration while preserving link destinations and existing media layouts.
Changes:
- Converts 106 publication-action badges to HTML chip links.
- Adds teal linked-chip styling, hover and keyboard-focus states, and responsive wrapping.
- Updates the research authoring example to use chips.
| File | Description |
|---|---|
assets/css/research-v2.css |
Adds chip-row wrapping and removes badge-specific image selectors. |
assets/css/bridge.css |
Defines shared interactive styling for linked chips. |
AGENTS.md |
Updates the publication-action markup example. |
_research/index.md |
Replaces image badges with text-based chip links. |
Review effort: Balanced
|
comphy-bot review status for Review started; code-review lanes are running. |
Drop border-bottom: 0 on a.chip so the pill outline stays complete; suppress the prose-link underline with text-decoration only.
Wrap identifier segments in span.chip__id so venue labels stay IBM Plex Sans while DOIs and arXiv ids use the mono token.
|
comphy-bot review status for Lane review is complete; findings are being verified and synthesised. |
Use inline-block on a.chip so label and .chip__id stay one flowing text run (not flex columns), keep spaces around · and DOI:, and prefer break-word wraps at / and . instead of mid-digit splits.
comphy-bot
left a comment
There was a problem hiding this comment.
Review: Replace research shields.io badges with design-system chips (F3)
Summary
+169/-127 across 4 files. Reviewed the exact head b70c293ed896de136a768032e6780f470e2fd0a7, including all 7 required review units and cross-file chip/token styling.
Findings
No actionable findings. The converted publication actions preserve their destinations and identifier text. The previous linked-chip bottom-border finding is fixed at this head; the pill border remains intact while text underlines are suppressed. Reviewed wrapping rules, native-link keyboard semantics, focus-visible styling, and light/dark token overrides.
Verification
- Fresh GitHub build, content-rules and PR-hygiene checks passed; deployment is skipped for this PR.
- Deterministic patch checks passed.
- Reviewed existing peer threads and verified the reported border issue against the current source.
- Source review only: I did not independently rerun the author's browser screenshots or local test suite.

Description
Design-audit finding F3 (26 Oct 2026): replace ~104 third-party
img.shields.iobadges on/research/with self-hosted CoMPhy design-system chips built from token CSS.All linked paper actions (DOI, arXiv, PDF, video, GitHub, Blog, thesis, etc.) use the teal interactive
a.chipstyle. DOI and arXiv identifier values use IBM Plex Mono viaspan.chip__id; venue labels stay IBM Plex Sans. Linked chips useinline-blockso label + id stay one text flow (no flex column split). Blog · Coming Soon badges are kept structurally unchanged in content. Research media layout from #157 / #158 is untouched.Type of Change
Changes Made
_research/index.mdto<a class="chip" href="…">…</a>(same hrefs and visible meaning)<span class="chip__id">(Plex Mono token)a.chipstyles and.chip__idinassets/css/bridge.cssdisplay: inline-block+.chip__id { display: inline });overflow-wrap: break-wordfor DOI wrapsassets/css/research-v2.csschip-row wrapping; removed shields.io image selectorsAGENTS.mdresearch badge authoring example to chips + mono idsTesting Done
bundle exec jekyll serve(static_siteserve + Playwright)·/DOI:)./scripts/lint-check.shnpm test(215 passed)npm run lint./scripts/build.shScreenshots
Before (production shields.io)
After (token chips + mono identifiers)
Related Issues
Design audit F3 (26 Oct 2026)
Checklist
Additional Notes
--c-accent-teal) is the only interactive accent on linked chips; purple/blue/coral chip variants remain non-link labels elsewhere.search_db.json,_ds_*, standalone HTML, adherence config).Summary by CodeRabbit