Skip to content

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

chore(ui): minor improvements to onboarding pages (#5730)

Marc Klingend0ff8a87fe57
diff --git a/web/src/components/onboarding/AnnotationQueuesOnboarding.tsx b/web/src/components/onboarding/AnnotationQueuesOnboarding.tsx
index cb84b9ca15..4c206417ee 100644
--- a/web/src/components/onboarding/AnnotationQueuesOnboarding.tsx
+++ b/web/src/components/onboarding/AnnotationQueuesOnboarding.tsx
@@ -31,9 +31,9 @@ export function AnnotationQueuesOnboarding({
icon: <BarChart4 className="h-4 w-4" />,
},
{
- title: "Improve model performance",
+ title: "Baseline evaluation efforts",
description:
- "Use annotation data to identify patterns and improve your models",
+ "Use annotation data as a baseline to evaluate your other evaluation metrics",
icon: <GitMerge className="h-4 w-4" />,
},
];
@@ -41,13 +41,13 @@ export function AnnotationQueuesOnboarding({
return (
<SplashScreen
title="Get Started with Annotation Queues"
- description="Annotation queues help you manage scoring workflows for your LLM projects. Create queues, assign annotators, and track progress to improve your model's performance."
+ description="Annotation queues help you manage manual annotation/labeling for your LLM projects. Create queues, define annotation metrics, and track progress."
valuePropositions={valuePropositions}
primaryAction={{
label: "Create Annotation Queue",
component: (
<CreateOrEditAnnotationQueueButton
- variant="secondary"
+ variant="default"
projectId={projectId}
size="lg"
/>
diff --git a/web/src/ee/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx b/web/src/ee/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
index 9d02cd965b..578e38487b 100644
--- a/web/src/ee/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
+++ b/web/src/ee/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
@@ -48,7 +48,7 @@ export const CreateOrEditAnnotationQueueButton = ({
}: {
projectId: string;
queueId?: string;
- variant?: "secondary" | "ghost";
+ variant?: ButtonProps["variant"];
size?: ButtonProps["size"];
}) => {
const [isOpen, setIsOpen] = useState(false);
diff --git a/web/src/ee/features/annotation-queues/pages/AnnotationQueues.tsx b/web/src/ee/features/annotation-queues/pages/AnnotationQueues.tsx
index fdb1438a0c..7680503668 100644
--- a/web/src/ee/features/annotation-queues/pages/AnnotationQueues.tsx
+++ b/web/src/ee/features/annotation-queues/pages/AnnotationQueues.tsx
@@ -20,7 +20,7 @@ export default function AnnotationQueues() {
const { data: hasAnyQueue, isLoading } = api.annotationQueues.hasAny.useQuery(
{ projectId },
{
- enabled: !!projectId,
+ enabled: !!projectId && hasEntitlement,
trpc: {
context: {
skipBatch: true,