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