You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hint="Attach this loop to a context to file its runs in the feed and keep its context.md or a canvas up to date."
317
-
>
318
-
<LoopContextFields
319
-
value={values.contextTarget}
320
-
disabled={isSubmitting}
321
-
onChange={(contextTarget)=>
322
-
patch(
323
-
contextTarget
324
-
? { contextTarget,visibility: "team"}
325
-
: { contextTarget },
326
-
)
327
-
}
328
-
/>
329
-
</Field>
329
+
{showContextField ? (
330
+
<>
331
+
<Field
332
+
label="Context"
333
+
hint="A context is one of the channels in your sidebar. Attach this loop to a channel and its runs show up in that channel's feed; it can also keep the channel's context.md or a canvas up to date."
334
+
>
335
+
<LoopContextFields
336
+
value={values.contextTarget}
337
+
disabled={isSubmitting}
338
+
onChange={(contextTarget)=>
339
+
patch(
340
+
contextTarget
341
+
? { contextTarget,visibility: "team"}
342
+
: { contextTarget },
343
+
)
344
+
}
345
+
/>
346
+
</Field>
330
347
331
-
<Divider/>
348
+
<Divider/>
349
+
</>
350
+
) : null}
332
351
333
352
<Field
334
-
label="Repository"
353
+
label="Base repository"
335
354
hint={
336
355
values.repositories.length>1
337
356
? `${values.repositories.length-1} more ${
338
357
values.repositories.length===2
339
358
? "repository stays"
340
359
: "repositories stay"
341
360
} attached to this loop.`
342
-
: "Optional. Leave empty for a report-only loop that works purely through connectors."
361
+
: "The repository runs check out and work in. Optional. Leave empty for a report-only loop that works purely through connectors."
0 commit comments