Document: a position hides an unpublished component from callers who cannot see drafts
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
このissueでは、API bundle、公開可能なコンポーネント、コンポーネントの位置がドキュメントのトピックとして挙げられていますが、ドキュメントのファイル名は示されていません。まず、コンポーネントの位置と公開に関するAPI bundleのページを探し、次に、それらのページで下書きの可視性とキャッシュがどのように説明されているかを確認してください。下書きにアクセスできない呼び出し元に対するcomponentの未記載の動作、クライアント側の処理、キャッシュの有効期限とパージの動作を文書化してください。列挙されたすべてのケースが網羅された時点で完了です。
索引モデルが issue の本文から書いたものです。
説明
From components-web-app/api-components-bundle#493 (fixes #492).
What to document (API bundle, publishable components / component positions):
- For a caller without draft access, a component position whose component is publishable and not published yet (
publishedAtnull or in the future) has nocomponentkey, and no_metadata.staticComponent. The manifest leaves the component out too. Admins still see the draft. - A client must treat a static position with no
componentas empty. - Caching: such a response still carries the component's cache tag, its
Expires/s-maxageend when a scheduled component goes live, and publishing or rescheduling a component purges (and publishes over Mercure) the positions holding it and the manifests of the pages placing it.
🤖 Generated with Claude Code
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1時間 20分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
components-web-app/docs#297 ·
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
components-web-app/docs#290 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
components-web-app/docs#289 · コメント 2 件 ·
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
components-web-app/docs#285 ·
-
documentation
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
components-web-app/docs#284 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Automattic/data-liberation-agent#953 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
funmary-app/funmary#399 ·
メンテナーはふだん 1 日以内に返信
-
area:curator enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
CassioDalla/Scrinalia#150 ·
メンテナーはふだん 1 日以内に返信
-
status: needs-triage v1-bug-bash
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
a2ui-project/a2ui#3533 ·
メンテナーはふだん 1 日以内に返信
-
backend enhancement priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
geolens-io/geolens#3310 ·
メンテナーはふだん 1 日以内に返信