Fixture builder: a PageBuilder or PageDataBuilder as a route target
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- documentation, testing
調査の方向性
ペイロードにはドキュメントのファイル名が書かれていないため、まず API ドキュメントの fixtures / scaffold のページを探してください。書き始める前に、issue にリンクされている api-components-bundle#474 を読み、linkRoute、redirect、linkIri のシグネチャとエラーケースを確認してください。ページに、3 つの呼び出し形式、routeName と page: のどちらか一方だけを指定するルール、--append の各ケース、ルートを持たないビルダーの例外が記載されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1時間 20分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#256 · コメント 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#253 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
components-web-app/docs#255 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
components-web-app/docs#254 · コメント 1 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
components-web-app/docs#237 · コメント 2 件 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
area:plugins enhancement platform:vscode
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
anthropics/claude-code#103166 ·
メンテナーはふだん 1 日以内に返信
-
check:failed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
iptv-org/iptv#55744 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
jitsi/jitsi-meet#18021 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
spec: discovery input example can contain multiple aliases for one parameter, with no canonical oneオープン
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
x402-foundation/x402#3841 ·
メンテナーはふだん 1 日以内に返信