Commit Graph

2 Commits

Author SHA1 Message Date
Pengap
2cc9b6d65d
feat: records support filter (#74)
* feat: records support filter

* fix: query language lexer

* feat: add view set filter op

* feat: add filter

* Merge branch feat/add-filter of https://github.com/teableio/teable into feat/filter

* fix: filter record

* chore: optimize type definition

* fix: remove last filter

* feat: add filter multiple selector

* perf: delete useless logic

* fix: fix `FilterDatePicker` format

* fix: rectify filter data format

* chore: update filter text

* style: replace css values

* chore: update variable name

chore: update filterValue type definition

* perf: optimize filter relative component detail

* refactor: rewrite filter datepicker component

* feat: support more operators

* fix: filter operators

* chore: delete redundant code

* feat: add filter checkbox

fix: filter operator error when change field

* feat: add FilterLinkSelect component

style: adjust filter component style

* feat: add DateTimeField filter operates

* fix: yarn.lock

* fix: simple link editor

* perf: optimise filter

* perf: add debounce when filter value change

fix: filter field select same key

* feat: update filter type define

fix: fix `FieldSelect` search error

perf: adapter the filter component value

* feat: change the filtergroup default operator to `or`

* chore: import partition

* feat: add `FileTypeSelect` component

* feat: set the primary field to be the default filtermeta

* test: add record filter tests

* feat: limit filter date input to be positive number

* fix: link field filter operation

* feat: save the input for same type input when filter field change

* feat: extract common `SingleSelect`

* feat: extract common `BaseMultipleSelect` component

* feat: supplemental link field filtering operations

* fix: missing type

* feat: filter exchange different fieldtype reset the value

* style: filter style adjustment

* fix: set view filter op

* style: beautify filter componet style

* fix: link field; is and is not filter

* chore: update filter date component directory

* fix: `FilterLinkSelect` reset value to null during initialization

* fix: lookup filter

* chore: migrate filter component to `@teable-group/sdk`

* fix: limit filter number input type

* chore: update `filterDatePicker` component folder name

* feat: filter datepicker format with field config

* feat: filter datepicker add operator mapping

* feat: add operator map for different field

chore: extract filter base component common type

* chore: rename filter component

fix: fix `getFieldOperatorMapping` get error mapping

* refactor: use adapter to split by type filter

* fix: dev ws gateway

* fix: mock new view row index

* fix: multiple string doesNotContain filter

* fix: test timeZone

---------

Co-authored-by: pengap <penganpingprivte@gmail.com>
Co-authored-by: caoxing <caoxing9@gmail.com>
2023-07-27 14:05:23 +08:00
tea artist
5973552dc1 chore: initialize project 2022-11-01 17:36:07 +08:00