Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Document: a position hides an unpublished component from callers who cannot see drafts

クローズ 初心者向け
#257 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
documentation

調査の方向性

この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 (publishedAt null or in the future) has no component key, 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 component as empty.
  • Caching: such a response still carries the component's cache tag, its Expires/s-maxage end 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

components-web-app/docs のほかの issue

components-web-app/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。