Document addon configuration fields for Replicator/Bard sets
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
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
The API is proposed in statamic/cms#15422, a draft that is not merged, so the docs cannot be verified against shipped code yet. Read that PR for Statamic\Fieldtypes\Sets::appendSetConfigField() and appendSetConfigFields(), then cover the checklist in the issue body. Done means a docs page that separates set configuration from per-block fields and includes single, grouped and multiple-field examples, and wait for the API to be accepted before finalising.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Companion tracking issue for the proposed API in statamic/cms#15422. The PR is a draft and has not been merged.
The change adds Statamic\Fieldtypes\Sets::appendSetConfigField($handle, $config) and appendSetConfigFields($fields) to register native configuration fields in the Edit Set stack for Replicator and Bard.
Documentation should distinguish reusable set configuration in a blueprint/fieldset from fields stored on individual content blocks. For example, an addon can register an editorial note or a native group of guidance fields. The values are saved alongside that set's native configuration.
Suggested coverage once the API is accepted:
- Register fields during a service provider's boot phase, using keyed native field definitions.
- Single-field and multiple-field examples, including a
groupfor namespaced nested configuration. - Native preprocessing, metadata, validation, and processing apply. Validation is enforced when applying/saving the containing field.
- Edit Set's Confirm button updates the containing field editor; save the field and blueprint/fieldset to persist changes.
- Native set keys are reserved. Use addon-specific handles.
- Existing custom metadata remains intact when its addon is not registered.
The extension is generic; no AI-specific settings are added to core.
- Ngôn ngữ chính
- PHP
- Star
- 133
- Fork
- 405
- Merge trung bình
- 21 giờ 45 phút
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 statamic/docs
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Chunked UploadsĐang mở
Độ khó 1/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
-
Installation / Deployment Guides
Độ 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ó 3/5 1-2 ngày Mức phù hợp với người mới 40/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Document how conditions treat empty and null valuesCó thể đã có người làm @joshdaugherty đã nhận 12 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của statamic/docs
Issue tương tự
-
needs-triage Platform(Default)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Store] RstLoader detects headings inside indented code blocksCó thể đã có người làm @lazerg đã nhận hôm nay. Đang mởBug Status: Needs Review Store
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug repo:ckeditor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
No Code Attached Yet
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
joomla/joomla-cms#48611 ·
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 65/100
Maintainer thường phản hồi trong vòng 1 ngày