Using multiple blueprint files (partials)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách xác định blueprint parser và phần xử lý WPCLIStep hiện có được mô tả trong issue, cùng với thư mục assets được dùng cho các tệp WXR. Xác định cách các tệp blueprint từng phần sẽ được nối lại với nhau và step ImportWXR được đề xuất sẽ hoạt động như thế nào, sau đó đối chiếu thiết kế với trình tự phát triển plugin đã được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The blueprint.json files offer tremendous opportunity from a scaffolding and programmatic standpoint to developers using WordPress Playground. What if it were possible to chain together multiple blueprints to create an instance?
Use case: Build Playground docs for WordPress Plugin development
I want to see all documentation tagged plugin developer
User goes to documentation, searches "develop plugins with Playground" and finds a list of all the documentation that is tagged with plugin developer.
Docs: Creating a Plugin with WordPress Playground (post_title)
Steps: (post_content) - see below - raw .json
Description: Importing multiple WXR files to build a catalog of posts (post_excerpt)
Pseudocode
- InstallTheme
schoolyard - LoginStep
- ImportWXR
getting-started-with-plugin-development-in-playground.wxr - ImportWXR
understanding-plugin-headers.wxr - ImportWXR
plugin-activation-hooks.wxr - ImportWXR
plugin-deactivation-hooks.wxr - ImportWXR
plugin-uninstall-hooks.wxr - ImportWXR
plugin-security-best-practices.wxr - ImportWXR
plugin-translation-best-practices.wxr - ImportWXR
plugin-licensing-best-practices.wxr - InstallPluginStep
create-plugin - InstallPluginStep
plugin-review-check.zip - InstallPluginStep
plugin-security-check.zip - ActivatePluginStep
create-plugin - ActivatePluginStep
plugin-review-check - ActivatePluginStep
plugin-security-check - ImportWXR
submit-plugin-for-review.wxr - LandingPage
/
Now the user will come to the Schoolyard theme, and see the documentation for creating a plugin with WordPress Playground, with Step by Step instructions for building a WordPress Plugin.
Limitations
ImportXWR isn't implemented
Currently ImportWXR does not exist as a step in the blueprint.json file. This step could be implemented simply with a WPCLIStep and import command, and link to a WXR file in the assets directory.
Blueprint parser extended
New functionality would have to be created to chain blueprint.json files.
Creating this Step would open the door to building out documentation based on user needs in lieu of having a bunch of extra docs. For example, a new user to WordPress does not need to understand how to run Playground through a web socket.
Conclusion
Being able to chain blueprints together would open up the ability to add "partial" blueprints, which could be used modularly to build out a Playground instance.
- Ngôn ngữ chính
- PHP
- Star
- 62
- Fork
- 23
- Merge trung bình
- 4 giờ 12 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 WordPress/php-toolkit
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
WordPress/php-toolkit#313 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
WordPress/php-toolkit#306 ·
-
WPCS complianceĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
WordPress/php-toolkit#157 · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
WordPress/php-toolkit#138 · 7 bình luận · 2 reaction ·
-
[Blueprints v2] Constraint the Blueprint bundle formatCó thể đã có người làm @JanJakes đã nhận 441 ngày trước. Đang mởBlueprints enhancement
WordPress/php-toolkit#132 · 4 bình luận · 1 người được giao ·
Tất cả issue của WordPress/php-toolkit
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
-
Feature-Request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
RSS-Bridge/rss-bridge#5123 ·
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