non core block: authored-input
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
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- html, javascript, node.js, php, wordpress
Hướng nghiên cứu
Start from tools/import-loop/predicates/non_core_block.mjs in a static-site-importer checkout at 4be4e5ec; run it with reduced.html against <blocks-engine>/php-transformer as the command shows, and read emits.mjs/gates/collateral.mjs for the pass condition. Then trace where php-transformer turns the reduced input into an authored-input block and find the core-block equivalent. Done means the predicate no longer exits 0 on this page and the pixel-parity gate still passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Finding
editability/non_core_block on authored-input, seen in 1 route/width cell(s) of an imported site:
| route | width | evidence |
|---|---|---|
/advisor/ |
1440 | {"count":1,"of":22} |
Reduced page (364 bytes)
Reduced from 101635 bytes in 37 predicate calls.
<!DOCTYPE html><html><head></head><body><input data-blocks-engine-capture-native-control-state="{"version":1,"kind":"input","type":"text","value":"","defaultValue":"","checked":false,"defaultChecked":false,"indeterminate":false}"></body></html>
Reproduce
The predicate exits 0 while the defect reproduces (checked against blocks-engine trunk 3d3f7d6ad). Run it from a static-site-importer checkout at 4be4e5ec, with the reduced page saved as reduced.html:
PREDICATE_TARGET='{"subject":"authored-input","route":"/advisor/","width":1440,"evidence":{"count":1,"of":22}}' \
WORDPRESS_PATH=<wordpress with static-site-importer active> WP_CLI='studio wp' \
node tools/import-loop/predicates/non_core_block.mjs <blocks-engine>/php-transformer reduced.html
predicates/non_core_block.mjs
// Exit 0 while the Blocks Engine output of a page still emits the generated
// block <prefix>/<subject>, a block outside WordPress core. An editor can only
// change its structure through the importer's own block, not with core tools.
// The defect is gone when the same content is built from core blocks and the
// page renders exactly as before; the acceptance gate holds the whole import to
// pixel parity (see emits.mjs, gates/collateral.mjs).
import { exitWhileEmitted } from './emits.mjs';
exitWhileEmitted();
Loop signature: d48272d9ff75
AI disclosure: filed by the static-site import findings loop (Homeboy workflow on the Lab). The finding, reduction, and body are generated by deterministic scripts; Claude (Anthropic) wrote those scripts with Chris Huber.
- 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ự
-
15.0
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
PHP 8.6: is_integer() deprecation in Decorator\StyleCó thể đã có người làm @ElGigi đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
thephpleague/climate#220 ·
-
[BUG] Add asset to project adds all assets of $type instead of the ones in the search result.Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
ppy/osu-web#13514 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
stable/10 Publish fails: semantic-release requires Node >= 22.14, workflow sets up Node 20Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở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