Skip to content

fix(learn): render dropped subsection content + list-badge, reference-link & citation-flash polish - #56

Merged
Bissbert merged 1 commit into
mainfrom
fix/learn-rendering-round2
Jul 16, 2026
Merged

fix(learn): render dropped subsection content + list-badge, reference-link & citation-flash polish#56
Bissbert merged 1 commit into
mainfrom
fix/learn-rendering-round2

Conversation

@Bissbert

Copy link
Copy Markdown
Contributor

Summary

  • Subsections now render comparison / callout / crystal fields (subsectionSchema + Subsection interface + render branches were missing them) — restores 10 silently-dropped content blocks across 6 articles, including crystallography-advanced's Open-vs-Closed comparison and 3 CDL-example demos, plus a dev-mode warning for unhandled subsection keys.
  • Fixes a secondary crystal-subsection misroute into CrystalSystemCard.
  • Fixes ordered-list counter-badge overlap under prose-lg (replicated the custom ol/li/::before rules into typography.lg — regression from PR fix(learn): sticky TOC, 18px body measure, unified fact lists, citation landing feedback #55).
  • Reference DOI/URL links now visible (crystal-700 + underline) in light mode for WCAG 1.4.1.
  • Citation :target flash lengthened to ~2.6s hold-then-fade.
  • Learn hub intro broken into a scannable value-line + 3-item feature list.

Test plan

  • npm run test -- --run — 502 tests passing
  • Browser-verified in both light and dark themes
  • CI (ci.yml) green
  • Squash merge to main, verify production deploy

…-link & citation-flash polish

- subsections now render comparison/callout/crystal fields (subsectionSchema + Subsection interface + render branches were missing them) — restores 10 silently-dropped content blocks across 6 articles incl. crystallography-advanced's Open-vs-Closed comparison and 3 CDL-example demos, plus a dev-mode warning for unhandled subsection keys
- fixes a secondary crystal-subsection misroute into CrystalSystemCard
- fixes ordered-list counter-badge overlap under prose-lg (replicated custom ol/li/::before rules into typography.lg — regression from PR #55)
- reference DOI/URL links now visible (crystal-700 + underline) in light mode for WCAG 1.4.1
- citation :target flash lengthened to ~2.6s hold-then-fade
- learn hub intro broken into a scannable value-line + 3-item feature list
- 502 tests, browser-verified both themes
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed to: https://fbca57cc.gemmology-dev.pages.dev

@Bissbert
Bissbert merged commit e96631b into main Jul 16, 2026
5 of 6 checks passed
@Bissbert
Bissbert deleted the fix/learn-rendering-round2 branch July 16, 2026 15:56
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