Commit 29ddbc6
committed
Repurpose fizzy search to use the dedicated FTS endpoint
The previous `fizzy search` was a misnomer: it called
/cards.json?terms[]= — the multi-criteria filter endpoint with the
terms[] param, identical to `fizzy card list --search "QUERY"`. That
duplicated `card list` and isn't what /search.json does in the Fizzy
app.
Now `fizzy search QUERY` calls SearchService.Search → /search.json?q=,
which is the dedicated full-text search endpoint. It takes a single
query string and returns ranked results; if the query exactly matches a
card ID, that card is returned directly.
Breaking changes (intentional, ahead of the major version bump):
- `--board`, `--tag`, `--assignee`, `--indexed-by`, `--sort`, `--page`,
`--all` removed from `fizzy search`. They don't apply to /search.json
and are still available on `fizzy card list`, which is the right home
for filter semantics.
Updated unit tests, e2e tests, in-cli help examples, and the agent
skill docs to point filter use cases at `card list --search`.1 parent 6976c76 commit 29ddbc6
6 files changed
Lines changed: 71 additions & 226 deletions
File tree
- e2e/cli_tests
- internal/commands
- skills/fizzy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
2356 | | - | |
2357 | 2356 | | |
2358 | | - | |
2359 | | - | |
2360 | 2357 | | |
2361 | 2358 | | |
2362 | 2359 | | |
2363 | | - | |
2364 | 2360 | | |
2365 | 2361 | | |
2366 | 2362 | | |
2367 | 2363 | | |
2368 | | - | |
2369 | 2364 | | |
2370 | 2365 | | |
2371 | | - | |
2372 | 2366 | | |
2373 | | - | |
2374 | 2367 | | |
2375 | 2368 | | |
2376 | 2369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 10 | | |
21 | 11 | | |
22 | 12 | | |
23 | | - | |
24 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 25 | | |
33 | 26 | | |
34 | 27 | | |
35 | 28 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
43 | 32 | | |
44 | 33 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 34 | + | |
89 | 35 | | |
90 | 36 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 37 | | |
97 | | - | |
98 | 38 | | |
99 | 39 | | |
100 | | - | |
| 40 | + | |
101 | 41 | | |
102 | 42 | | |
103 | | - | |
104 | | - | |
| 43 | + | |
105 | 44 | | |
106 | 45 | | |
107 | 46 | | |
108 | 47 | | |
109 | 48 | | |
110 | 49 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 50 | | |
0 commit comments