Commit cf3a9c4
authored
Add external data source signal sources (GitHub, Linear, Zendesk) (#1262)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Problem
Signal sources only supported session replay and LLM analytics. We want users to also pull in GitHub issues, Linear issues, and Zendesk tickets as signal sources - but these require connecting an external data source first (OAuth for GitHub/Linear, API key for Zendesk).
## Changes
## 
Changes, as described by Claude:
- Use `/api/projects/...` consistently for external data source schema updates (`updateExternalDataSchema`)
- Add new OAuth scopes for external data sources and bump scope version
- Build `DataSourceSetup` component with per-source setup flows (GitHub repo picker, Linear OAuth + polling, Zendesk credentials form)
- Extend `SignalSourceToggles` to show a "Connect" button for sources that need setup before they can be toggled
- Extract signal source management logic into `useSignalSourceManager` hook (replaces the old `signalSourceSelectionsStore` and the inline logic that was duplicated between settings and onboarding) + update `SignalsStep`, `SignalSourcesSettings`, and `useTutorialTour` to use the new hook1 parent 647fce7 commit cf3a9c4
12 files changed
Lines changed: 966 additions & 276 deletions
File tree
- apps/code/src
- renderer
- api
- features
- inbox
- components
- hooks
- stores
- onboarding
- components
- hooks
- settings/components/sections
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
31 | 51 | | |
32 | 52 | | |
33 | 53 | | |
| |||
199 | 219 | | |
200 | 220 | | |
201 | 221 | | |
202 | | - | |
203 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
204 | 233 | | |
205 | 234 | | |
206 | 235 | | |
| |||
254 | 283 | | |
255 | 284 | | |
256 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
257 | 353 | | |
258 | 354 | | |
259 | 355 | | |
| |||
0 commit comments