Skip to content

πŸͺ’ Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

refactor(web): drop unused support form section schema (#19485)

cursor[bot]e81517636a54
diff --git a/web/.structure-baseline.json b/web/.structure-baseline.json
index fe44f83ad0..b8b2cd908a 100644
--- a/web/.structure-baseline.json
+++ b/web/.structure-baseline.json
@@ -1941,7 +1941,6 @@
"src/features/rbac/components/MembersTable.tsx:110: react-hooks/exhaustive-deps",
"src/features/score-analytics/lib/color-scales.ts:14: @typescript-eslint/no-unused-vars -- Used via typeof",
"src/features/scores/components/AnnotationForm.tsx:783: react-hooks/exhaustive-deps",
- "src/features/support-chat/formConstants.ts:9: @typescript-eslint/no-unused-vars -- Used via z.infer",
"src/features/traces/components/AdvancedJsonViewer/components/MediaButtonGroup.tsx:70: @next/next/no-img-element",
"src/features/traces/components/AdvancedJsonViewer/SimpleMultiSectionViewer.tsx:117: react-hooks/exhaustive-deps",
"src/features/traces/components/AdvancedJsonViewer/VirtualizedMultiSectionViewer.tsx:125: react-hooks/exhaustive-deps",
diff --git a/web/src/features/support-chat/formConstants.ts b/web/src/features/support-chat/formConstants.ts
index d73360c2c6..12ccb4c3e3 100644
--- a/web/src/features/support-chat/formConstants.ts
+++ b/web/src/features/support-chat/formConstants.ts
@@ -5,10 +5,6 @@ import { z } from "zod";
export const MessageTypeSchema = z.enum(["Question", "Feedback", "Bug"]);
export type MessageType = z.infer<typeof MessageTypeSchema>;
-/** ── Form Sections (for your stepper/wizard) ─────────────────────────────── */
-// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used via z.infer
-const FormSectionSchema = z.enum(["intro", "form", "success"]);
-
/** ── Topics (grouped + flattened) ────────────────────────────────────────── */
export const TopicGroups = {
Operations: [