Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): update placeholder text and refine form labels in prompt components (#10677)

Lotte Verheyden6d3dbbc03518
diff --git a/web/src/features/prompts/components/NewPromptForm/index.tsx b/web/src/features/prompts/components/NewPromptForm/index.tsx
index 3b4ccbd184..cd4fd5c124 100644
--- a/web/src/features/prompts/components/NewPromptForm/index.tsx
+++ b/web/src/features/prompts/components/NewPromptForm/index.tsx
@@ -364,11 +364,6 @@ export const NewPromptForm: React.FC<NewPromptFormProps> = (props) => {
name="isActive"
render={({ field }) => (
<FormItem>
- <FormLabel>Labels</FormLabel>
- <FormDescription>
- This version will be labeled as the version to be used in
- production for this prompt. Labels can be updated later.
- </FormDescription>
<div className="flex flex-row items-center space-x-3 space-y-0 rounded-md border p-3">
<FormControl>
<Checkbox
@@ -389,7 +384,7 @@ export const NewPromptForm: React.FC<NewPromptFormProps> = (props) => {
name="commitMessage"
render={({ field }) => (
<FormItem className="relative">
- <FormLabel>Commit message (optional)</FormLabel>
+ <FormLabel>Commit message</FormLabel>
<FormDescription>
Provide information about the changes made in this version.
Helps maintain a clear history of prompt iterations.
diff --git a/web/src/features/prompts/components/prompt-detail.tsx b/web/src/features/prompts/components/prompt-detail.tsx
index 8aed5287fa..23797a84e2 100644
--- a/web/src/features/prompts/components/prompt-detail.tsx
+++ b/web/src/features/prompts/components/prompt-detail.tsx
@@ -332,7 +332,7 @@ export const PromptDetail = ({
<div className="mt-3 flex items-center justify-between">
<CommandInput
showBorder={false}
- placeholder="Search versions"
+ placeholder="Search..."
className="h-fit border-none py-0 text-sm font-light text-muted-foreground focus:ring-0"
/>