Commit c0761e9
committed
fix(knowledge): wait for both days of a custom window, show the chosen range, and keep the default scan while rows are unfilled
- a custom window searches only once both days are chosen; the picker shows the chosen range instead of a fixed label
- while the projection still holds rows the backfill has not filled, an on-row walk keeps the default scan cap, since an unfilled row is decided through its document; the answer is read off the unfilled-rows index and remembered for a minute1 parent 3d5cb80 commit c0761e9
4 files changed
Lines changed: 75 additions & 13 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/home/components/knowledge-search-results
- lib/knowledge/search
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
260 | 263 | | |
261 | 264 | | |
262 | 265 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | | - | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
170 | | - | |
171 | | - | |
| 172 | + | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
312 | 314 | | |
313 | 315 | | |
314 | 316 | | |
315 | | - | |
| 317 | + | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
1262 | 1263 | | |
1263 | 1264 | | |
1264 | 1265 | | |
| 1266 | + | |
1265 | 1267 | | |
1266 | 1268 | | |
1267 | 1269 | | |
| |||
2120 | 2122 | | |
2121 | 2123 | | |
2122 | 2124 | | |
| 2125 | + | |
2123 | 2126 | | |
2124 | 2127 | | |
2125 | 2128 | | |
| |||
2266 | 2269 | | |
2267 | 2270 | | |
2268 | 2271 | | |
| 2272 | + | |
2269 | 2273 | | |
2270 | 2274 | | |
2271 | 2275 | | |
| |||
2315 | 2319 | | |
2316 | 2320 | | |
2317 | 2321 | | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
2318 | 2345 | | |
2319 | 2346 | | |
2320 | 2347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | | - | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
104 | 130 | | |
105 | 131 | | |
106 | 132 | | |
| |||
1442 | 1468 | | |
1443 | 1469 | | |
1444 | 1470 | | |
| 1471 | + | |
| 1472 | + | |
1445 | 1473 | | |
1446 | 1474 | | |
1447 | 1475 | | |
| |||
1490 | 1518 | | |
1491 | 1519 | | |
1492 | 1520 | | |
1493 | | - | |
| 1521 | + | |
1494 | 1522 | | |
1495 | 1523 | | |
1496 | 1524 | | |
| |||
1697 | 1725 | | |
1698 | 1726 | | |
1699 | 1727 | | |
| 1728 | + | |
1700 | 1729 | | |
1701 | 1730 | | |
1702 | 1731 | | |
| |||
1728 | 1757 | | |
1729 | 1758 | | |
1730 | 1759 | | |
| 1760 | + | |
1731 | 1761 | | |
1732 | 1762 | | |
1733 | 1763 | | |
| |||
1771 | 1801 | | |
1772 | 1802 | | |
1773 | 1803 | | |
1774 | | - | |
| 1804 | + | |
1775 | 1805 | | |
1776 | 1806 | | |
1777 | 1807 | | |
| |||
0 commit comments