Repository navigation
Commit c3c8f4b
committed
feat(PowerSearch): list value-only matches in the sheet's content search
In the sheet presentation, Add filter's content search lists the
value-only matches of opted-in operators (component:PowerSearch FR30),
after its other suggestions, field by field, at most three per field and
then a "More {field} matching '{text}'" row.
- The sheet asks no source. A search-source field lists its rows that
need no source, after the fields that need none, then its "More" row
in place of its source rows.
- A value row adds its filter to the draft, as a suggestion that
carries a value does.
- A "More" row opens the value step on the typed text: a text field
holds it as its value, a search source's typeahead and a list value's
Tokenizer sheet open on it, and an enum list shows in full.
- A people field's "More" row (its first opted-in operator takes an
entity_list value with a searchSource) opens that operator's
Tokenizer sheet directly above Add filter, already searching the text.
Save adds one filter, closes the sheet and Add filter together, shows
Filters with focus on the new row, and announces it there. An empty
Save or a dismissal returns to Add filter with the text kept and focus
on the content search.
- The value-only module loads as the flow opens, and Add filter lists
the rows once it lands.
The FR30 status cell moves from the implementation gap to its evidence.1 parent cc833fb commit c3c8f4b
10 files changed
Lines changed: 789 additions & 41 deletions
File tree
- .changeset
- apps/storybook/stories
- docs/specs/components/PowerSearch
- packages/core/src/PowerSearch
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1779 | 1779 | | |
1780 | 1780 | | |
1781 | 1781 | | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1782 | 1794 | | |
1783 | 1795 | | |
1784 | 1796 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
1550 | 1554 | | |
1551 | 1555 | | |
1552 | 1556 | | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
1553 | 1561 | | |
1554 | 1562 | | |
1555 | | - | |
| 1563 | + | |
1556 | 1564 | | |
1557 | 1565 | | |
1558 | 1566 | | |
| |||
0 commit comments