Fixture builder: a PageBuilder or PageDataBuilder as a route target
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 70/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation, testing
Hướng nghiên cứu
Payload không nêu tên tệp tài liệu, vì vậy hãy tìm trang fixtures / scaffold trong tài liệu API trước. Đọc hành vi trong api-components-bundle#474 (được liên kết trong issue) để xác nhận chữ ký của linkRoute, redirect và linkIri cùng các trường hợp lỗi trước khi viết. Hoàn thành khi trang tài liệu mô tả ba dạng gọi hàm, quy tắc chỉ được dùng một trong hai giữa routeName hoặc page:, các trường hợp của --append, và ngoại lệ đối với builder không có route.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The API bundle's CwaFixtureBuilder now accepts the builder itself wherever a scaffold referred to a route by name (components-web-app/api-components-bundle#474, fixes components-web-app/api-components-bundle#471).
Please document, in the fixtures / scaffold page of the API docs:
$cwa->component($link)->linkRoute('route', page: $about)and the same on aPageDataBuilder:page:takes aPageBuilderorPageDataBuilder; pass exactly one ofrouteNameandpage:.$cwa->redirect('/old', to: $about):to:takes a route name, aPageBuilderor aPageDataBuilder.linkIri():route:takes either builder (the IRI of its route),page:aPageBuilderandpageData:aPageDataBuilder(the IRI of the entity).- It resolves to the route generated for that page, whatever its name (e.g. a suffixed
about-1), at the same moment named links resolve, so it costs no extra flush. In an--appendload a kept page resolves to its existing route, and a page whose declared path was already in use resolves to the route at that path. - A builder with no route (a template page,
withoutRoute(), untitled page data) throws, naming the page and the call that referred to it. generate-fixtureskeeps writing route names; this is a convenience for scaffolds written by hand.
- Ngôn ngữ chính
- Vue
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 components-web-app/docs
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
components-web-app/docs#244 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
components-web-app/docs#243 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
components-web-app/docs#241 ·
-
documentation
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
components-web-app/docs#246 ·
-
Document the generate-fixtures asset store (fixtures.assets, $cwa->asset(), prune-fixture-assets)Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
components-web-app/docs#242 ·
Tất cả issue của components-web-app/docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
aws-samples/sample-per-model-bedrock#295 ·
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 69/100
zephyrproject-rtos/reqmgmt#177 ·
-
docs(simulation): Quickstart publishes UDP 14550, which the SITL images' own docs say not to doĐang mởstatus:needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
PX4/PX4-Autopilot#29292 · 1 bình luận ·
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 83/100
-
TSDAE's docstring implies a theta argument it does not takeCó thể đã có người làm @singhharsh1708 đã nhận hôm nay. Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
SciML/PETScDiffEq.jl#282 ·
Maintainer thường phản hồi trong vòng 1 ngày