fix(react-doctor): clear correctness warnings#341
Open
bntvllnt wants to merge 3 commits into
Open
Conversation
bntvllnt
commented
May 15, 2026
Collaborator
Author
bntvllnt
left a comment
There was a problem hiding this comment.
Review — 0 findings
BLOCKING
None.
WARN
None.
VERIFIED CLEAN
- Reviewed all 15 changed files in the PR diff against the repo rules loaded from AGENTS.md, RULES.md, COMPONENTS.md, and PR_PLAYBOOK.md.
- JSON-LD script prop centralization keeps the ld+json type and now escapes
<viajsonLdScript, which preserves valid JSON-LD while removing page-level repeateddangerouslySetInnerHTMLsites. - Checklist storage changes keep legacy array parsing while writing the new versioned payload, and the registry copy is in parity with the package source after normalizing only the
cnimport path. - ProgressTracker now reads checklist state through the shared parser and refreshes on storage/focus/custom checklist progress events with persist-key filtering.
- Date/timeline/test fixture changes move stable values to module-level constants or stable ids without weakening assertions.
VALIDATION
- GitHub checks at PR head
4dc5482aa89ccafe6a6e99ccbe9a9e995a7dfcbb: 10/10 passing. - Ran:
pnpm -F @vllnt/ui exec vitest run src/components/checklist/checklist.test.tsx src/components/date-picker/date-picker.test.tsx src/components/interactive-timeline/interactive-timeline.test.tsx src/components/progress-tracker/progress-tracker.test.tsx— 22 tests passed. Existing duplicate-key warning emitted in interactive-timeline today-marker test. - Ran:
pnpm -F @vllnt/ui exec eslint src/components/checklist/checklist.tsx src/components/checklist/index.ts src/components/progress-tracker/progress-tracker.tsx src/components/progress-tracker/progress-tracker.test.tsx src/components/date-picker/date-picker.test.tsx src/components/interactive-timeline/interactive-timeline.test.tsx— passed. - Ran:
pnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.json— passed. - Ran:
pnpm doctor:json— exited 0; no Correctness diagnostics were reported. - Claude Code secondary review was attempted but skipped because this machine is not logged in to Claude Code (
Not logged in · Please run /login).
Approval recommended; submitting as COMMENT to keep final approval under bntvllnt control.
|
Preview ready · pr-341-ui-registry
Inspect
|
bntvllnt
commented
May 19, 2026
Collaborator
Author
bntvllnt
left a comment
There was a problem hiding this comment.
Review — 0 findings
BLOCKING
None.
WARN
None.
VERIFIED CLEAN
- Reviewed all 15 changed files in the current PR diff at head
87cc8b60ab55ccb7c1eafea29db2527398069f62against the repo rules fromAGENTS.md,RULES.md,COMPONENTS.md, andPR_PLAYBOOK.md. - JSON-LD script prop centralization preserves
type="application/ld+json"and escapes<through the shared serializer before reuse across layout/docs/component pages. - Checklist storage now writes a versioned payload while still parsing legacy string-array payloads; the registry copy matches the package source after the expected
cnimport normalization. - ProgressTracker consumes the shared checklist parser and keeps same-tab/cross-tab refresh behavior through focus/storage/custom checklist events.
- Date picker, timeline, and preview fixture updates replace render-adjacent dates/index keys with stable module-level values or stable ids without weakening existing assertions.
VALIDATION
- GitHub checks at PR head
87cc8b60ab55ccb7c1eafea29db2527398069f62: passing, including Quality Gates, Storybook Tests, Visual Regression, CodeQL, and issue-link enforcement. - Ran:
pnpm -F @vllnt/ui exec vitest run src/components/checklist/checklist.test.tsx src/components/date-picker/date-picker.test.tsx src/components/interactive-timeline/interactive-timeline.test.tsx src/components/progress-tracker/progress-tracker.test.tsx— 22 tests passed; existing duplicate-key warning emitted in the interactive-timeline today-marker test. - Ran:
pnpm -F @vllnt/ui exec eslint src/components/checklist/checklist.tsx src/components/checklist/index.ts src/components/progress-tracker/progress-tracker.tsx src/components/progress-tracker/progress-tracker.test.tsx src/components/date-picker/date-picker.test.tsx src/components/interactive-timeline/interactive-timeline.test.tsx— passed. - Ran:
pnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.json— passed. - Ran:
pnpm doctor:jsonand inspected.react-doctor.json— 0 Correctness diagnostics and 0 Security diagnostics; pre-existing non-correctness diagnostics remain outside this PR's stated scope. - Ran:
git diff --check origin/main...HEAD— passed.
Approval looks safe from the code-review side, but per autonomous-review policy I am leaving this as a COMMENT rather than submitting APPROVE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
new Date(...)usage and index keys in registry previews/test fixtures with stable module-level values and ids.dangerouslySetInnerHTMLsites.Validation
pnpm doctor:json-> 0 Correctness diagnosticspnpm -F @vllnt/ui exec vitest run src/components/checklist/checklist.test.tsx src/components/date-picker/date-picker.test.tsx src/components/interactive-timeline/interactive-timeline.test.tsx src/components/progress-tracker/progress-tracker.test.tsxpnpm -F @vllnt/ui exec eslint src/components/checklist/checklist.tsx src/components/checklist/index.ts src/components/progress-tracker/progress-tracker.tsx src/components/progress-tracker/progress-tracker.test.tsx src/components/date-picker/date-picker.test.tsx src/components/interactive-timeline/interactive-timeline.test.tsxpnpm -F @vllnt/ui lintpnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.jsonpnpm buildpnpm test:oncegit diff --checkNotes:
pnpm buildemitted the existing Next.js multiple-lockfile warning for this nested worktree.pnpm test:onceemitted existing jsdom navigation, duplicate-key, and Radix dialog description warnings while passing.Closes #272