Change limit field width and file suffix placeholder (#937)
This commit is contained in:
@@ -266,7 +266,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
||||
<Input
|
||||
type="number"
|
||||
placeholder={fieldPlaceholders["maxRetries"]}
|
||||
className="nopan w-44 text-xs"
|
||||
className="nopan w-52 text-xs"
|
||||
min="0"
|
||||
value={inputs.maxRetries ?? ""}
|
||||
onChange={(event) => {
|
||||
@@ -288,7 +288,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
||||
<Input
|
||||
type="number"
|
||||
placeholder={fieldPlaceholders["maxStepsOverride"]}
|
||||
className="nopan w-44 text-xs"
|
||||
className="nopan w-52 text-xs"
|
||||
min="0"
|
||||
value={inputs.maxStepsOverride ?? ""}
|
||||
onChange={(event) => {
|
||||
@@ -307,7 +307,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
||||
<Label className="text-xs font-normal text-slate-300">
|
||||
Complete on Download
|
||||
</Label>
|
||||
<div className="w-44">
|
||||
<div className="w-52">
|
||||
<Switch
|
||||
checked={inputs.allowDownloads}
|
||||
onCheckedChange={(checked) => {
|
||||
@@ -326,7 +326,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
||||
<Input
|
||||
type="text"
|
||||
placeholder={fieldPlaceholders["downloadSuffix"]}
|
||||
className="nopan w-44 text-xs"
|
||||
className="nopan w-52 text-xs"
|
||||
value={inputs.downloadSuffix ?? ""}
|
||||
onChange={(event) => {
|
||||
if (!editable) {
|
||||
|
||||
@@ -57,7 +57,7 @@ export const fieldPlaceholders = {
|
||||
dataExtractionGoal: "What data do you need to extract?",
|
||||
maxRetries: "Default: 3",
|
||||
maxStepsOverride: "Default: 10",
|
||||
downloadSuffix: "Suffix for file downloads",
|
||||
downloadSuffix: "Add an ID for downloaded files",
|
||||
label: "Task",
|
||||
totpVerificationUrl: "Provide your 2FA endpoint",
|
||||
totpIdentifier: "Add an ID that links your TOTP to the task",
|
||||
|
||||
Reference in New Issue
Block a user