[docs] Missing warning redirects

オープン
#1,262 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
documentation

調査の方向性

packages/reactive-element にリンクされている 5 つの警告呼び出し箇所から始め、次に lit.dev/docs/tools/development/#development-build-runtime-warnings の開発ビルドのランタイム警告セクションと、既存の /msg/{kind} リダイレクトを確認します。各警告にリダイレクトが必要か、空の警告種別が必要かを判断し、async-perform-update はオプションとして文書化します。完了とは、一覧にある警告種別が一貫して処理され、選択したサイトドキュメントまたはリダイレクトの動作が整備されていることを意味します。

索引モデルが issue の本文から書いたものです。

説明

Following warning kinds do not have redirects:

Either these should have the warning kind replaced with '' in the issueWarning() call if the message accompanying is sufficient, or we should put these on lit.dev.

Tangentially related, I wonder if we should just have a list of all warning kinds on the site, maybe https://lit.dev/docs/tools/development/#development-build-runtime-warnings, as opposed to the /msg/{kind} urls redirecting to middle of docs.
The list of warnings can have summary descriptions. Those that warrant deep dives can then link to the relevant doc.
It's an extra point of maintenance but gives us a place to talk about the reasoning behind these warnings without finding an appropriate place in the doc to include it. It would also allow us to be more liberal about adding a warning kind instead of just '' as we issue warning without needing to have long accompanying messages in the console.

主要言語
TypeScript
スター
140
フォーク
229
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

lit/lit.dev のほかの issue

lit/lit.dev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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