Commit 1883e82
feat(integrations): filter integrations by kind server-side
Use the new `kind` query parameter on the integrations endpoint to fetch
only GitHub integrations from the desktop app, instead of pulling every
integration kind and filtering client-side.
Backend support: PostHog/posthog#57135.
The client-side `kind === "github"` filter in `integrationStore` is kept
as a safety net for self-hosted PostHog instances that pre-date that PR.
Generated-By: PostHog Code
Task-Id: d6eddcca-1d82-4d29-8a3e-baead66e19df1 parent 5bcf25f commit 1883e82
3 files changed
Lines changed: 8 additions & 5 deletions
File tree
- apps/code/src/renderer
- api
- features/onboarding/hooks
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1473 | 1473 | | |
1474 | 1474 | | |
1475 | 1475 | | |
1476 | | - | |
| 1476 | + | |
1477 | 1477 | | |
1478 | | - | |
| 1478 | + | |
1479 | 1479 | | |
1480 | 1480 | | |
1481 | | - | |
| 1481 | + | |
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
1485 | 1488 | | |
1486 | 1489 | | |
1487 | 1490 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments