Skip to content

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

fix: select/highlight text in Compare Dataset view (#5914)

Marc Klingen886e352c3944
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 46b0d6e5ea..20e059a3de 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -58,7 +58,7 @@ importers:
next-auth:
specifier: ^4.24.11
zod:
specifier: ^3.23.8
version: 3.23.8
@@ -226,7 +226,7 @@ importers:
version: 4.17.21
next-auth:
specifier: ^4.24.11
nodemailer:
specifier: ^6.9.15
version: 6.9.15
@@ -626,7 +626,7 @@ importers:
next-auth:
specifier: ^4.24.11
next-query-params:
specifier: ^5.0.1
@@ -721,8 +721,8 @@ importers:
specifier: ^9.0.1
version: 9.0.1
vaul:
- specifier: ^0.9.1
+ specifier: ^1.1.2
vis-network:
specifier: ^9.1.9
@@ -11508,11 +11508,11 @@ packages:
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-fAhd7i4RNMinx+WEm6pF3nOl78DFkAazcN04ElLPFF9BMCNGbY/kou8UMhIcicm0rJCNePJP0Yyza60gGOD0Jw==}
+ resolution: {integrity: sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==}
peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==}
@@ -14438,7 +14438,7 @@ snapshots:
'@aws-sdk/client-bedrock-agent-runtime': 3.668.0
'@aws-sdk/client-bedrock-runtime': 3.668.0
'@aws-sdk/client-kendra': 3.668.0
- '@aws-sdk/credential-provider-node': 3.675.0(@aws-sdk/[email protected](@aws-sdk/[email protected]))(@aws-sdk/[email protected])
+ '@aws-sdk/credential-provider-node': 3.675.0(@aws-sdk/[email protected](@aws-sdk/[email protected]))(@aws-sdk/[email protected])
'@langchain/core': 0.3.18([email protected]([email protected]))
zod: 3.23.8
zod-to-json-schema: 3.23.5([email protected])
@@ -14810,7 +14810,7 @@ snapshots:
dependencies:
'@next/[email protected]': {}
@@ -17830,7 +17830,7 @@ snapshots:
'@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint-config-prettier: 9.1.0([email protected])
- eslint-import-resolver-alias: 1.1.2([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]))
eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
@@ -19806,7 +19806,7 @@ snapshots:
eslint: 8.57.0
eslint-plugin-turbo: 1.13.4([email protected])
dependencies:
@@ -19897,7 +19897,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -19924,7 +19924,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -22712,7 +22712,7 @@ snapshots:
dependencies:
type-fest: 2.19.0
dependencies:
'@babel/runtime': 7.26.0
'@panva/hkdf': 1.1.1
@@ -25106,7 +25106,7 @@ snapshots:
dependencies:
react: 18.2.0
diff --git a/web/package.json b/web/package.json
index 5ec7194f5b..16b9ccad28 100644
--- a/web/package.json
+++ b/web/package.json
@@ -155,7 +155,7 @@
"unified": "^11.0.5",
"use-query-params": "^2.2.1",
"uuid": "^9.0.1",
- "vaul": "^0.9.1",
+ "vaul": "^1.1.2",
"vis-network": "^9.1.9",
"zod": "^3.23.8"
},
diff --git a/web/src/components/layouts/peek-view.tsx b/web/src/components/layouts/peek-view.tsx
index 9b06d9b4fd..8bd2124ba6 100644
--- a/web/src/components/layouts/peek-view.tsx
+++ b/web/src/components/layouts/peek-view.tsx
@@ -23,7 +23,7 @@ export default function PeekView(props: {
}) {
return (
<Drawer open={props.open} modal={false} onClose={props.onClose}>
- <DrawerContent size="lg" className="mx-auto">
+ <DrawerContent size="lg" className="mx-auto" data-vaul-no-drag>
<DrawerHeader className="sticky top-0 z-10 mb-2 flex flex-row items-center justify-between rounded-tl-xl border-b bg-background p-3">
<DrawerTitle className="flex flex-row items-center gap-2">
<div className="mb-2 mt-2 flex flex-wrap items-center justify-between gap-2">
@@ -48,7 +48,7 @@ export default function PeekView(props: {
</DrawerHeader>
<div
data-vaul-no-drag
- className="mb-4 h-full flex-1 gap-4 overflow-hidden px-4"
+ className="mb-4 h-full flex-1 select-text gap-4 overflow-hidden px-4"
>
{props.children}
</div>