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

ReactiveComponent type

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, react
領域
frontend, search

調査の方向性

まず、提供された React 設定を使用して /catalogodev/_reactivesearch への POST リクエストを再現し、次にクエリタイプが "search" ではなく "term" の場合の結果を比較します。ReactiveComponent のクエリタイプがどこで選択されるかを追跡し、コンポーネントが期待される検索結果を生成するはずかどうかを判断します。文書化された設定が期待されるレスポンスと一貫して動作すれば完了です。

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

説明

bug

Affected Projects
React

Library Version: x.y.z
4.0.0-rc.10

Describe the bug
The React Component returns the empty value matches with the default value of type: "term", if I change it to "search" by postman it returns the expected result. Is there a way to change this?

To Reproduce

POST  http://localhost:8000/catalogodev/_reactivesearch
{
  "settings": {
    "recordAnalytics": true,
    "enableQueryRules": true,
    "emptyQuery": true,
    "suggestionAnalytics": true
  },
  "query": [
    {
      "id": "products",
      "type": "term",
      "dataField": [
        "reactive_component_field"
      ],
      "execute": true,
      "react": {
        "and": "products__internal"
      },
      "defaultQuery": {
        "query": {
          # query
    }
  ]
}

Expected behavior

{
  "settings": {
    "recordAnalytics": true,
    "enableQueryRules": true,
    "emptyQuery": true,
    "suggestionAnalytics": true
  },
  "query": [
    {
      "id": "products",
      "type": "search",
      "dataField": [
        "reactive_component_field"
      ],
      "execute": true,
      "react": {
        "and": "products__internal"
      },
      "defaultQuery": {
          # query
    }
  ]
}

主要言語
JavaScript
スター
4.9k
フォーク
479
平均マージ
4日 10時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

appbaseio/reactivesearch のほかの issue

appbaseio/reactivesearch の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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