Skip to content

docs(cv-v2): fix two stale Javadoc references from migration review#67

Merged
DemchaAV merged 1 commit into
developfrom
fix/cv-v2-stale-doc-comments
May 28, 2026
Merged

docs(cv-v2): fix two stale Javadoc references from migration review#67
DemchaAV merged 1 commit into
developfrom
fix/cv-v2-stale-doc-comments

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Summary

Two doc-only fixes surfaced by the graphcompose-cv-v2-migration-review audit of the 6 migrated CV v2 presets. No behaviour or render change.

  • CvSpacing.monogramSidebar() — Javadoc claimed the preset "draws its visual chrome inline (… filler shape)". Stale: MonogramSidebar now paints the sidebar fill via DocumentSession.pageBackgrounds(...) on every page and the filler shape was removed. Reworded to describe the pageBackgrounds chrome.
  • PanelSmokeTest — Javadoc @link'd SectionDispatcher, but Panel renders a preset-local row-free dispatcher (its cards sit inside flow.addRow, which the engine forbids from containing nested rows). Updated to describe the preset-local dispatcher + reason.

Review context

The full migration review (Executive / Panel / TimelineMinimal / EngineeringResume / MonogramSidebar / SidebarPortrait) came back 0 FAILs. These were the only two actionable WARNs (both stale comments). Remaining WARNs are documented design trade-offs (atomic flow.addRow single-page constraint, TimelineMinimal fixed-height axis) and a deferred size optimisation (SidebarPortrait 945 lines).

Test plan

  • ./mvnw test -Dtest=PanelSmokeTest,MonogramSidebarSmokeTest -pl . — pass (compile + smoke)
  • CI green

…view

* CvSpacing.monogramSidebar() Javadoc claimed the preset "draws its
  visual chrome inline (... filler shape)" — stale. MonogramSidebar
  paints the sidebar fill via DocumentSession.pageBackgrounds(...) on
  every page; the filler shape was removed. Reworded to describe the
  pageBackgrounds chrome accurately.
* PanelSmokeTest Javadoc @link'd SectionDispatcher, but Panel renders
  its own row-free body dispatcher (cards sit inside flow.addRow,
  which the engine forbids from containing nested rows). Updated the
  doc to describe the preset-local dispatcher and the reason.

Comment-only — no behaviour or render change.
@DemchaAV DemchaAV merged commit 67a8a23 into develop May 28, 2026
9 checks passed
@DemchaAV DemchaAV deleted the fix/cv-v2-stale-doc-comments branch May 28, 2026 09:32
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