Commit 99e1f81
committed
feat(vercel): add pullNewEnvVars option and modal dismiss control
Add pullNewEnvVars to Vercel integration types, schema, defaults,
and parsing so integrations can opt into discovering new environment
variables from Vercel during builds.
- Add pullNewEnv boolean to VercelProjectIntegrationData and to the
Vercel integration Zod schema (nullable/optional).
- Default pullNewEnvVars to true in createDefaultVercelIntegrationData
and update defaults for atomicBuilds and pullEnvVarsBeforeBuild to
include non-dev environments.
- Add helper isPullNewEnvVarsEnabled to coerce undefined/null to true.
- Parse pullNewEnvVars from route form input (string -> boolean|null).
Also improve GitHub connect modal handling:
- Add preventDismiss prop to the connect GitHub modal component.
- Prevent closing the modal via Escape key or clicking outside when
preventDismiss is true by blocking onInteractOutside/onEscapeKeyDown
and refusing to change open state when attempting to close.
These changes enable automatic discovery of new Vercel env vars by
default and provide a way to force modal persistence during critical
flows.1 parent 3b92fbd commit 99e1f81
File tree
5 files changed
+454
-200
lines changed- apps/webapp/app
- routes
- services
- v3/vercel
5 files changed
+454
-200
lines changedLines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
| 340 | + | |
| 341 | + | |
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
| |||
385 | 388 | | |
386 | 389 | | |
387 | 390 | | |
388 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
389 | 401 | | |
390 | 402 | | |
391 | 403 | | |
392 | 404 | | |
393 | 405 | | |
394 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
395 | 419 | | |
396 | 420 | | |
397 | 421 | | |
| |||
0 commit comments