Commit 9c218b2
committed
feat(channel): add --team-ids server-side filter to
The curated `channel list` exposed only `--name` (a client-side substring
filter), shadowing the generated twin that carries the API's `team_ids`
filter. So there was no way to ask the server for a single team's channels —
callers had to fetch all channels and filter locally, which scales poorly
(server default caps the page at 100 rows) and, in fc-safari's /init scanner,
made team-scoped incident totals impossible to compute correctly.
Wire ListChannelsRequest.TeamIDs to a new --team-ids flag (empty = all teams,
behavior unchanged). Intended release: minor bump v1.4.0.channel list
1 parent 6c2d053 commit 9c218b2
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
0 commit comments