ADR 0005 slice 4: collapse neutral boxes on engine-styled routes
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 40/100
Hướng nghiên cứu
Read ADR 0005 (#6160), then inspect HtmlCompilation and how it consumes the classifier's per-node disposition on engine-styled routes. Check the slice 3 result and the box-tree v2 dependency (#6238) before changing the emission path. Done means a neutral chain collapses, a painting sibling remains, the reported group counts and depth metrics meet acceptance, and desktop/mobile parity has no regression.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Slice 4 of ADR 0005 (#6160). Depends on slice 3 (#6233, PR #6236) and box-tree v2 (#6238).
Goal: on routes where the engine owns the styles, a source box classified as neutral (equal-child-geometry: same border box as its only child at every captured viewport, no paint, clip, multi-child layout, containing block, semantics or interaction) emits no block. Its child takes its place in the parent.
Design:
- Decide in
HtmlCompilationbefore the wrapper turns into acore/group. The classifier's per-node disposition is the only authority; the existingWrapperCoalescerselector-survival heuristic doesn't apply on evidence routes, because no author selectors ship. - The child keeps its own engine rule. The removed box's rule is dropped, since its geometry equals the child's by construction.
- Routes without evidence are untouched.
Acceptance (sdnunca Lab capture):
- Emitted
core/groupcount per route drops by at least the neutral structural boxes the classifier reports (Home 109, About 44 ontrunktoday). - Report max group depth and groups per leaf, measured on emitted blocks.
- Desktop and mobile parity against the slice 3 result shows no regression.
- One contract test: a fixture with a neutral chain collapses, and a sibling that paints is kept.
AI disclosure: written by Franklin (Claude Opus via Pi, Roadie).
- Ngôn ngữ chính
- PHP
- Star
- 28
- Fork
- 5
- Merge trung bình
- 2 giờ 59 phút
- Pull request đã merge (30 ngày)
- 942
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Automattic/blocks-engine
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Automattic/blocks-engine#6318 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Automattic/blocks-engine#4943 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Automattic/blocks-engine#4942 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Automattic/blocks-engine#4921 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Automattic/blocks-engine#775 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Automattic/blocks-engine
Issue tương tự
-
bug needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
camunda/orchestration-cluster-api-php#162 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Procedure for security issuesĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TYPO3-Solr/ext-solr#4850 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Hex viewer drops ASCII '0' after a complete rowCó thể đã có người làm @palashranka đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 3 ngày
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Đang mởsync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày