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."
249
-
>
250
-
<LoopContextFields
251
-
value={values.contextTarget}
252
-
disabled={isSubmitting}
253
-
onChange={(contextTarget)=>
254
-
patch(
255
-
contextTarget
256
-
? { contextTarget,visibility: "team"}
257
-
: { contextTarget },
258
-
)
259
-
}
260
-
/>
261
-
</Field>
261
+
{showContextField ? (
262
+
<>
263
+
<Field
264
+
label="Context"
265
+
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."
266
+
>
267
+
<LoopContextFields
268
+
value={values.contextTarget}
269
+
disabled={isSubmitting}
270
+
onChange={(contextTarget)=>
271
+
patch(
272
+
contextTarget
273
+
? { contextTarget,visibility: "team"}
274
+
: { contextTarget },
275
+
)
276
+
}
277
+
/>
278
+
</Field>
262
279
263
-
<Divider/>
280
+
<Divider/>
281
+
</>
282
+
) : null}
264
283
265
284
<Field
266
-
label="Repository"
285
+
label="Base repository"
267
286
hint={
268
287
values.repositories.length>1
269
288
? `${values.repositories.length-1} more ${
270
289
values.repositories.length===2
271
290
? "repository stays"
272
291
: "repositories stay"
273
292
} attached to this loop.`
274
-
: "Optional. Leave empty for a report-only loop that works purely through connectors."
293
+
: "The repository runs check out and work in. Optional. Leave empty for a report-only loop that works purely through connectors."
0 commit comments