Change limit field width and file suffix placeholder (#937)

This commit is contained in:
Kerem Yilmaz
2024-10-09 06:31:06 -07:00
committed by GitHub
parent beafe624ef
commit 8f9c339144
2 changed files with 5 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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",