From 157f75971e052c9adadc7b6a32a2bebd20be238a Mon Sep 17 00:00:00 2001 From: Tobi <14044957+tobiasdcl@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:15:48 +0200 Subject: [PATCH 1/2] fix: Update UUID pattern to allow version 1-8 --- ui/hooks/filter-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/hooks/filter-utils.ts b/ui/hooks/filter-utils.ts index 96c014b8..cdab74e9 100644 --- a/ui/hooks/filter-utils.ts +++ b/ui/hooks/filter-utils.ts @@ -216,7 +216,7 @@ const TEXT_MATCH_OPERATORS = new Set([ "not like", ]); const UUID_PATTERN = - /^[\da-f]{8}-[\da-f]{4}-[1-5][\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}$/i; + /^[\da-f]{8}-[\da-f]{4}-[1-8][\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}$/i; type ColumnSyntaxKind = | "array" From 107a41d24cef0c67a0495109b623e560e3a27097 Mon Sep 17 00:00:00 2001 From: Tobi <14044957+tobiasdcl@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:18:22 +0200 Subject: [PATCH 2/2] test: regression test for UUIDv7 filter values --- ui/hooks/filter-utils.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/hooks/filter-utils.test.ts b/ui/hooks/filter-utils.test.ts index 2b64c8e2..fd3a2603 100644 --- a/ui/hooks/filter-utils.test.ts +++ b/ui/hooks/filter-utils.test.ts @@ -181,6 +181,7 @@ describe("filter syntax validation", () => { ["role", "=", "admin"], ["role", "ilike", "%adm%"], ["id", "=", "4f9d4af6-3ce2-4f3d-b4e6-cf8d0f510d4a"], + ["id", "=", "019d6991-4380-76ba-b4eb-35c36b72d7f2"], ["attachment", "!=", "0xDEADBEEF"], ["enabled", "=", "true"], ["score", ">", "12.5"],