Closed
5 of 5 issues completedDescription
Master issue for the refactor of record filters and record sorts.
Goals of this refactor :
- Remove component state v1 from record filter and record sort states.
- Progressively rollout a V2 handling of record filters and record sorts that is acting in parallel, so we only have to switch to V2 from V1 without breaking anything
- Have record filters and record sorts act as standalone modules and also standalone contexts, that can be used by other related modules : index, table, kanban, view, context store.
ViewFilter and RecordFilter are two concepts that are used in the view module.
They are required to keep the database ViewFilter concept and the UI Filter concept separated, but right now we could have a better abstraction of ViewFilter.
Because in the UI we manipulate almost always RecordFilters, and we could have it turned into ViewFilter and back again so that we never manipulate ViewFilter directly.
- Review current implementation and set out a more detailed plan. twenty#9399
- Refactor Record Filter states #42
- Refactor Record Sort states #41
- Create new record filter states and use them for record table filtering #39
- Save, create and create from view work with new record filter module #263
- CRUD view works with new record sorts module #264
- Remove available filter definitions as state and compute it where needed instead #265
- Remove RecordFilterDefinition usage progressively #266
- Remove available sort definitions #267
- Use field metadata items instead of sort definition in sort dropdown #268
- Apply same refactor process to view filter group and record filter group #270
- Improve and fix clickoutside and hotkeys on filter / sort dropdowns twenty#9551
Sub-issues
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done