Reflect filter selections in the search query input

未關閉
#2,751 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

  • #2795 來自 @Official-Krish —— 已關閉,未合併

評估

難度
4/5
預估耗時
3-5 天
新手友好度
52/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
typescript

研究方向

從篩選器側邊欄和查詢輸入框開始,接著追蹤現有篩選器狀態、查詢文字以及已渲染的篩選器標籤是如何連接的。檢查支援的兩種查詢方言,並確認解析和產生的入口點。當選取篩選器會更新可編輯的查詢文字,且編輯任一方言都會更新對應的篩選器選取而不遺失條件時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

enhancement Frontend

Selecting a value in the filter sidebar applies it to the search, but the query input doesn't show it. Filter state and query text live in two places, so the input never reflects the full set of conditions actually being applied.

Make the two representations one: selecting a filter writes the corresponding condition into the query input, and editing the query updates the filter selections to match.

Notes:

  • Needs to work for both query dialects the input supports, which is the main source of complexity — round-tripping requires parsing query text back into filter state, not just generating it.
  • Today this is partially addressed by pills rendered below the input, which surface that filters are applied without making them editable as query text.
主要語言
TypeScript
星號
10.1k
分支
527
平均合併
1 天 20 小時
30 天內合併 PR
186

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ClickHouse/ClickStack 的其他 Issue

查看 ClickHouse/ClickStack 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。