🪢 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
chore(cloud): add login issue banner, allow to open support chat (#5183)
Marc Klingena52f87c64ae3
diff --git a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx b/web/src/features/auth/components/AuthCloudRegionSwitch.tsxindex 1dfd816b4a..2dfa81a994 100644--- a/web/src/features/auth/components/AuthCloudRegionSwitch.tsx+++ b/web/src/features/auth/components/AuthCloudRegionSwitch.tsx@@ -10,6 +10,7 @@ import { usePostHogClientCapture } from "@/src/features/posthog-analytics/usePosimport {Dialog,DialogContent,+ DialogDescription,DialogHeader,DialogTitle,DialogTrigger,@@ -123,15 +124,11 @@ const DataRegionInfo = () => (<DialogHeader><DialogTitle>Data Regions</DialogTitle></DialogHeader>- <div className="flex flex-col gap-2">+ <DialogDescription className="flex flex-col gap-2"><p>Langfuse Cloud is available in two data regions:</p><ul className="list-disc pl-5">- <li>- US: Oregon (AWS us-west-2)- </li>- <li>- EU: Ireland (AWS eu-west-1)- </li>+ <li>US: Oregon (AWS us-west-2)</li>+ <li>EU: Ireland (AWS eu-west-1)</li></ul><p>Regions are strictly separated, and no data is shared across regions.@@ -154,7 +151,7 @@ const DataRegionInfo = () => (</a>.</p>- </div>+ </DialogDescription></DialogContent></Dialog>);diff --git a/web/src/pages/auth/sign-in.tsx b/web/src/pages/auth/sign-in.tsxindex b8f3444738..d086508128 100644--- a/web/src/pages/auth/sign-in.tsx+++ b/web/src/pages/auth/sign-in.tsx@@ -32,6 +32,7 @@ import { Shield } from "lucide-react";import { useRouter } from "next/router";import { captureException } from "@sentry/nextjs";import { usePostHogClientCapture } from "@/src/features/posthog-analytics/usePostHogClientCapture";+import { openChat } from "@/src/features/support-chat/chat";const credentialAuthForm = z.object({email: z.string().email(),@@ -435,6 +436,20 @@ export default function SignIn({</h2></div>+ {env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined && (+ <div className="-mb-4 mt-4 rounded-lg bg-card p-3 text-center text-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-6">+ If you are experiencing issues signing in, please force refresh this+ page (CMD + SHIFT + R) or clear your browser cache. We are working+ on a solution.{" "}+ <span+ className="cursor-pointer whitespace-nowrap text-xs font-medium text-primary-accent hover:text-hover-primary-accent"+ onClick={openChat}+ >+ (contact us)+ </span>+ </div>+ )}+<CloudRegionSwitch /><div className="mt-14 bg-background px-6 py-10 shadow sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-10">