Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
@cixzhang — I’d appreciate your feedback on this draft. Focus: Task lists now follow the same prose width and alignment as ordinary ordered and unordered lists. This is PR 7/20 in the linked Markdown stack. It is intentionally one commit and one primary intent; the description includes matched before/after screenshots and previous/next links, so you can review just this PR’s delta. |
humbertovirtudes
left a comment
There was a problem hiding this comment.
The implementation correctly applies the existing contentWidth and contentAlign treatment to task lists. One evidence gap blocks approval: the test compares generated class names, which does not prove the promised width and centring in a browser. Please add browser-level measurement, such as extending the existing content-alignment story with a task list.
PR Analysis Report
Modified ComponentsOutline (@astryxdesign/core)
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Visual Regression3 of 420 shot(s) changed. View the report A change here is a question, not a failure: check whether the after is the
Generated by PR Enrichment workflow | View full report |
f6efb16 to
2b3ae2e
Compare
2b3ae2e to
6eb2bab
Compare
6eb2bab to
70c32bf
Compare
70c32bf to
0fed0ff
Compare
0fed0ff to
7925d7c
Compare
0fed0ff to
7925d7c
Compare









User impact
Task lists now follow the same prose width and alignment as ordinary ordered and unordered lists.
Problem and solution fit
The task-list rendering branch skipped Markdown's shared List block sizing/alignment styles, so centered or constrained documents produced a separate left edge. The fix routes task lists through the same block geometry.
Expected behavior and authority
The Markdown component contract's shared list-layout requirement. Pinned source.
Smallest restoration
Apply the existing List block width and alignment treatment to task lists without changing checkbox semantics or ordinary lists.
Evidence
Real-browser evidence
Scope
Testing
pnpm exec vitest run packages/core/src/Markdown packages/core/src/CodeBlock— 37 files, 760 tests.pnpm --filter @astryxdesign/core typecheck.pnpm check:repo.Stack
Previous: #6661 · Next: #6663 · Each PR is intentionally one commit and one primary intent.