🪢 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
fix(ui): projectoverview on small screens + no back button in breadcrumb (#2925)
Marc Klingenf9dda6088f3b
diff --git a/web/src/components/layouts/header.tsx b/web/src/components/layouts/header.tsxindex 34fb3185a6..93a32066e1 100644--- a/web/src/components/layouts/header.tsx+++ b/web/src/components/layouts/header.tsx@@ -1,4 +1,3 @@-import { ChevronLeftIcon } from "@heroicons/react/20/solid";import Link from "next/link";import DocPopup from "@/src/components/layouts/doc-popup";import { type Status, StatusBadge } from "./status-badge";@@ -50,27 +49,9 @@ export default function Header({level?: "h2" | "h3";className?: string;}) {- const backHref =- props.breadcrumb &&- [...props.breadcrumb.map((i) => i.href).filter(Boolean)].pop();-return (<div className={cn(level === "h2" ? "mb-4" : "mb-2", props.className)}><div>- {backHref ? (- <nav className="sm:hidden" aria-label="Back">- <Link- href={backHref}- className="flex items-center text-sm font-medium text-muted-foreground hover:text-primary"- >- <ChevronLeftIcon- className="-ml-1 mr-1 h-5 w-5 flex-shrink-0 text-muted-foreground"- aria-hidden="true"- />- Back- </Link>- </nav>- ) : null}{level === "h2" ? (<BreadcrumbComponent items={props.breadcrumb} />) : null}diff --git a/web/src/features/organizations/components/ProjectOverview.tsx b/web/src/features/organizations/components/ProjectOverview.tsxindex bc2368452c..89a25384df 100644--- a/web/src/features/organizations/components/ProjectOverview.tsx+++ b/web/src/features/organizations/components/ProjectOverview.tsx@@ -165,7 +165,7 @@ export const OrganizationProjectOverview = () => {actionButtons={<><Input- className="w-56"+ className="w-36 lg:w-56"placeholder="Search projects"onChange={(e) => setQueryParams({ search: e.target.value })}/>