TanStack / TanStack/tanstack.com

Search function is not working sometimes

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

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

source-audit
主要言語
TypeScript
スター
1.1k
フォーク
401
平均マージ
18時間 14分
マージ済み PR(30日)
56

説明

Sometimes the documentation search is not working:
Image

It shows nothing.

But if I click on the Search button and wait for 2 seconds and type useMutation, it will return the results:
Image

This problem seems to have been around for a while, as I met the same problem a few months ago.

To reproduce:

  1. open any doc page, e.g., https://tanstack.com/query/latest/docs/reference/onlineManager
  2. click on the search button, then paste useMutation
  3. if you haven't see the issue, you might need to reload page and redo step 2.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず、onlineManager のドキュメントページで問題を再現します。検索を開き、useMutation を貼り付け、必要に応じて再読み込み後にもう一度繰り返します。スクリーンショットに示されている失敗時と成功時の動作を比較します。検索を開いてクエリを貼り付けた直後に、ドキュメント検索が確実に結果を返すようになれば完了です。

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

評価

技術スタック
typescript
領域
frontend, search, web-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

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

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