🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
style(prompts): always show edit label button for prompt versions (#5729)
marliessophie0e61ffd621e5
diff --git a/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx b/web/src/features/prompts/components/SetPromptVersionLabels/index.tsxindex 6e6ef39161..d3d2201915 100644--- a/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx+++ b/web/src/features/prompts/components/SetPromptVersionLabels/index.tsx@@ -125,18 +125,17 @@ export function SetPromptVersionLabels({isLive={label === PRODUCTION_LABEL}/>))}- {promptLabels.length === 0 && (- <Button- variant="outline"- className={cn(- "h-6 w-6 bg-muted-gray text-primary",- showOnlyOnHover && "opacity-0 group-hover:opacity-100",- !hasAccess && "cursor-not-allowed group-hover:opacity-50",- )}- >- <CircleFadingArrowUp className="h-3.5 w-3.5 shrink-0" />- </Button>- )}+ <Button+ variant="outline"+ title="Add prompt version label"+ className={cn(+ "h-6 w-6 bg-muted-gray text-primary",+ showOnlyOnHover && "opacity-0 group-hover:opacity-100",+ !hasAccess && "cursor-not-allowed group-hover:opacity-50",+ )}+ >+ <CircleFadingArrowUp className="h-3.5 w-3.5 shrink-0" />+ </Button></div></PopoverTrigger><PopoverContent