Inline filter improvement ideas

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

まず、datatable における既存の inline filter の動作と、アクティブな条件がどのように適用されるかを確認します。Issue には、複数列、複数値、数値/日付範囲、個別の値の選択、クリア、保存済みフィルターを含む6つの別個の目標が記載されています。完了とするには、選択した動作について合意されたスコープと受け入れ基準が必要です。

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

説明

  1. Support filtering multi columns, currently the inline filter only works for each single column by matching the input text like SQL where condition with wildcard, in other word, after filtered on one column, then input filter condition in another column, the previous filtering condition is ignored! it is desired to filter the grid by all active filtering conditions in all columns

  2. Support filtering multi values with delimiter(;) using OR logic, e.g input text "ipad ; ipod" can filter out records with column content contains ipad or ipod.

  3. Support filtering number and date field by range using the operator > and <, e.g input text > 400 can filter out records with number content greater than 400.

  4. Turn the current pure input text field into awesome field with distinct values of the current column as drop down list, allow user to multi select the value, just like how Excel does filtering
    image

  5. Support clearing all active filtering conditions by one click. e.g clearing filters

  6. Support saving the filtering conditions as saved version, can be set as default when next time open the same datatable, also can be selected re-used next time by other user if publicly shared

主要言語
JavaScript
スター
1.3k
フォーク
223
平均マージ
23時間 14分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

frappe/datatable のほかの issue

frappe/datatable の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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