You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Features.md
+74-64Lines changed: 74 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -291,94 +291,105 @@ Check the following components to learn more about guessers:
291
291
292
292
In most admin and B2B apps, the most common task is to look for a record. React-admin includes many features to help you **build a user experience that streamlines the search workflow**.
293
293
294
-
The most basic search feature is [the Filter Button/Form combo](./FilteringTutorial.md#the-filter-buttonform-combo): an inline form displayed on top of the list. Users also see a dropdown button allowing them to add more inputs to that form.
295
-
296
-

297
-
298
-
This functionality relies on the `<List filters>` prop:
These features rely on powerful components with an intuitive API. For instance, you can set the Filter Button/Form Combo with the `<List filters>` prop, using the same input components as in edition forms:
An alternative UI to the Filter Button/Form Combo is [the FilterList Sidebar](./FilteringTutorial.md#the-filterlist-sidebar). Similar to what users usually see on e-commerce websites, it's **a panel with many simple filters that can be enabled and combined** using the mouse. The user experience is better than the Button/Form Combo, because the filter values are explicit, and it doesn't require typing anything in a form. But it's a bit less powerful, as only filters with a finite set of values (or intervals) can be used in the `<FilterList>`.
339
+
Check the following chapters to learn more about each search and filtering component:
Users often apply the same filters over and over again. Saved Queries **let users save a combination of filters** and sort parameters into a new, personal filter, that persists between sessions.
347
+
348
+
[](./img/SavedQueriesList.gif)
349
+
350
+
Here is an example `<FilterList>` sidebar with saved queries:
Finally, react-admin offers low-level hooks and components to build your own search UI. Check the [Building A Custom Filter Tutorial](./FilteringTutorial.md#building-a-custom-filter) to learn more.
392
+
Check the [Building A Custom Filter Tutorial](./FilteringTutorial.md#building-a-custom-filter) to learn more.
382
393
383
394
## Forms & Validation
384
395
@@ -876,17 +887,16 @@ For instance, replace `<List>` with `<ListLive>` to have a list refreshing autom
876
887
```diff
877
888
import {
878
889
- List,
879
-
ListProps,
880
890
Datagrid,
881
891
TextField,
882
892
NumberField,
883
893
Datefield,
884
894
} from 'react-admin';
885
895
+import { ListLive } from '@react-admin/ra-realtime';
0 commit comments