Repository navigation
Commit 8eed499
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)
under incremental search results (FR18, spec:AST-092), as the
popover's typeahead does.
- The rows that need no source show at once. A search-source field's
rows come from the same source path as the typeahead's (the same
deferred module, the 150 ms hold, one call per distinct source) and
join below the rows shown when the source answers. A stale answer is
dropped, and the flow closing cancels the query.
- While a query waits on a source, the search is busy, with its
loading indicator, and shows no empty state. The count is announced
once, at settle, inside Add filter.
- A field shows at most three rows, and a "More" row only when it has
more. A search-source field with no match lists no row.
- A value row adds its filter to the draft, as a suggestion that
carries a value does.
- A "More" row opens the value step with the typed text carried where
the editor takes one. 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 and shows Filters.
An empty Save or a dismissal returns to Add filter with the text
kept.
The FR18 and FR30 status cells move from the implementation gap to
their evidence.1 parent 35e92a8 commit 8eed499
10 files changed
Lines changed: 1362 additions & 71 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 | | |
| |||
670 | 674 | | |
671 | 675 | | |
672 | 676 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
685 | 683 | | |
686 | 684 | | |
687 | 685 | | |
| |||
1550 | 1548 | | |
1551 | 1549 | | |
1552 | 1550 | | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1553 | 1555 | | |
1554 | 1556 | | |
1555 | | - | |
| 1557 | + | |
1556 | 1558 | | |
1557 | 1559 | | |
1558 | 1560 | | |
| |||
0 commit comments