Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ console.log(limits);`
<div className='space-y-4'>
<div>
<div className='mb-[6.5px] flex items-center justify-between'>
<Label className='block pl-0.5 text-[var(--text-primary)] text-small'>Language</Label>
<Label className='block pl-0.5 text-small'>Language</Label>
</div>
<ChipButtonGroup value={language} onValueChange={(val) => setLanguage(val as CodeLanguage)}>
{(Object.keys(LANGUAGE_LABELS) as CodeLanguage[]).map((lang) => (
Expand All @@ -471,7 +471,7 @@ console.log(limits);`

<div>
<div className='mb-[6.5px] flex items-center justify-between'>
<Label className='block pl-0.5 text-[var(--text-primary)] text-small'>Run workflow</Label>
<Label className='block pl-0.5 text-small'>Run workflow</Label>
<Tooltip.Root>
<Tooltip.Trigger asChild>
<Button
Expand Down Expand Up @@ -499,9 +499,7 @@ console.log(limits);`

<div>
<div className='mb-[6.5px] flex items-center justify-between'>
<Label className='block pl-0.5 text-[var(--text-primary)] text-small'>
Run workflow (stream response)
</Label>
<Label className='block pl-0.5 text-small'>Run workflow (stream response)</Label>
<div className='flex items-center gap-1.5'>
<Tooltip.Root>
<Tooltip.Trigger asChild>
Expand Down Expand Up @@ -540,9 +538,7 @@ console.log(limits);`
{!info.isPublicApi && (
<div>
<div className='mb-[6.5px] flex items-center justify-between'>
<Label className='block pl-0.5 text-[var(--text-primary)] text-small'>
Run workflow (async)
</Label>
<Label className='block pl-0.5 text-small'>Run workflow (async)</Label>
<div className='flex items-center gap-1.5'>
<Tooltip.Root>
<Tooltip.Trigger asChild>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,7 @@ export function ChatDeploy({
/>

<div>
<Label
htmlFor='title'
className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'
>
<Label htmlFor='title' className='mb-[6.5px] block pl-0.5 text-small'>
Title
</Label>
<ChipInput
Expand All @@ -379,9 +376,7 @@ export function ChatDeploy({
</div>

<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Output
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Output</Label>
<OutputSelect
workflowId={workflowId}
selectedOutputs={formData.selectedOutputBlocks}
Expand All @@ -402,9 +397,7 @@ export function ChatDeploy({

<div className='flex items-center justify-between gap-3'>
<div className='min-w-0'>
<Label className='block pl-0.5 text-[var(--text-primary)] text-small'>
Include thinking
</Label>
<Label className='block pl-0.5 text-small'>Include thinking</Label>
</div>
<Switch
checked={formData.includeThinking}
Expand All @@ -416,9 +409,7 @@ export function ChatDeploy({

<div className='flex items-center justify-between gap-3'>
<div className='min-w-0'>
<Label className='block pl-0.5 text-[var(--text-primary)] text-small'>
Include tool calls
</Label>
<Label className='block pl-0.5 text-small'>Include tool calls</Label>
</div>
<Switch
checked={formData.includeToolCalls}
Expand All @@ -444,10 +435,7 @@ export function ChatDeploy({
error={errors.password || errors.emails}
/>
<div>
<Label
htmlFor='welcomeMessage'
className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'
>
<Label htmlFor='welcomeMessage' className='mb-[6.5px] block pl-0.5 text-small'>
Welcome message
</Label>
<Textarea
Expand Down Expand Up @@ -587,10 +575,7 @@ function IdentifierInput({

return (
<div>
<Label
htmlFor='chat-url'
className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'
>
<Label htmlFor='chat-url' className='mb-[6.5px] block pl-0.5 text-small'>
URL
</Label>
<div
Expand Down Expand Up @@ -731,9 +716,7 @@ function AuthSelector({
return (
<div className='space-y-4'>
<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Access control
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Access control</Label>
<ChipButtonGroup
value={authType}
onValueChange={(val) => onAuthTypeChange(val as AuthType)}
Expand All @@ -749,9 +732,7 @@ function AuthSelector({

{authType === 'password' && (
<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Password
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Password</Label>
<GeneratedPasswordInput
value={password}
onChange={handlePasswordChange}
Expand All @@ -777,7 +758,7 @@ function AuthSelector({

{(authType === 'email' || authType === 'sso') && (
<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
<Label className='mb-[6.5px] block pl-0.5 text-small'>
{authType === 'email' ? 'Allowed emails' : 'Allowed SSO emails'}
</Label>
<ChipEmailsInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export function GeneralDeploy({
<div className='space-y-3'>
<div>
<div className='relative mb-[6.5px]'>
<Label className='block truncate pl-0.5 text-[var(--text-primary)] text-small'>
<Label className='block truncate pl-0.5 text-small'>
{previewMode === 'selected' && selectedVersionInfo
? formatVersionLabel(selectedVersionInfo.version, selectedVersionInfo.name)
: 'Live Workflow'}
Expand Down Expand Up @@ -263,9 +263,7 @@ export function GeneralDeploy({
</div>

<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Versions
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Versions</Label>
<Versions
workflowId={workflowId}
versions={versions}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,7 @@ export function McpDeploy({
))}

<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Tool name
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Tool name</Label>
<ChipInput
value={toolName}
onChange={(e) => setToolName(e.target.value)}
Expand All @@ -562,9 +560,7 @@ export function McpDeploy({
</div>

<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Description
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Description</Label>
<Textarea
placeholder={
workflowDescriptionFallback
Expand All @@ -579,7 +575,7 @@ export function McpDeploy({

{inputFormat.length > 0 && (
<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
<Label className='mb-[6.5px] block pl-0.5 text-small'>
Parameters ({inputFormat.length})
</Label>
<p className='mb-[6.5px] pl-0.5 text-[var(--text-secondary)] text-xs'>
Expand Down Expand Up @@ -627,9 +623,7 @@ export function McpDeploy({
)}

<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Servers
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Servers</Label>
<ChipCombobox
options={serverOptions}
multiSelect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function CheckboxList({
/>
<Label
htmlFor={`${blockId}-${subBlockId}-${option.id}`}
className='cursor-pointer font-sans text-[var(--text-primary)] text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50'
className='cursor-pointer font-sans text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50'
>
{formatDisplayText(option.label, { workflowSearchHighlight })}
</Label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ function CapabilityRow({ blockId, capability, checked, disabled }: CapabilityRow
/>
<Label
htmlFor={id}
className='cursor-pointer text-[var(--text-primary)] text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-60'
className='cursor-pointer text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-60'
>
{capability.label}
</Label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function Switch({
/>
<Label
htmlFor={`${blockId}-${subBlockId}`}
className='cursor-pointer font-sans text-[var(--text-primary)] text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50'
className='cursor-pointer font-sans text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50'
>
{title}
</Label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function SubflowEditor({
data-workflow-search-canonical-id={WORKFLOW_SEARCH_SUBFLOW_FIELD_IDS.type}
className='rounded-md'
>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
<Label className='mb-[6.5px] block pl-0.5 text-small'>
{currentBlock.type === 'loop' ? 'Loop Type' : 'Parallel Type'}
</Label>
<Combobox
Expand All @@ -150,7 +150,7 @@ export function SubflowEditor({
data-workflow-search-canonical-id={configSearchFieldId}
className='rounded-md'
>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
<Label className='mb-[6.5px] block pl-0.5 text-small'>
{isCountMode
? `${currentBlock.type === 'loop' ? 'Loop' : 'Parallel'} Iterations`
: isConditionMode
Expand Down Expand Up @@ -223,9 +223,7 @@ export function SubflowEditor({
data-workflow-search-canonical-id={WORKFLOW_SEARCH_SUBFLOW_FIELD_IDS.batchSize}
className='relative mt-4 rounded-md'
>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
Parallel Batch Size
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>Parallel Batch Size</Label>
<Input
type='text'
value={batchSizeValue}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ function SubflowConfigDisplay({ block, loop, parallel }: SubflowConfigDisplayPro
<div className='flex-1 overflow-y-auto overflow-x-hidden pt-2 pb-2'>
{/* Type Selection - matches SubflowEditor */}
<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
<Label className='mb-[6.5px] block pl-0.5 text-small'>
{isLoop ? 'Loop Type' : 'Parallel Type'}
</Label>
<Combobox
Expand All @@ -622,9 +622,7 @@ function SubflowConfigDisplay({ block, loop, parallel }: SubflowConfigDisplayPro

{/* Configuration - matches SubflowEditor */}
<div>
<Label className='mb-[6.5px] block pl-0.5 text-[var(--text-primary)] text-small'>
{getConfigLabel()}
</Label>
<Label className='mb-[6.5px] block pl-0.5 text-small'>{getConfigLabel()}</Label>

{isCountMode ? (
<div>
Expand Down
Loading