diff --git a/frontend/app/src/api/feedbacks.ts b/frontend/app/src/api/feedbacks.ts index 226217a5..94e9d0f2 100644 --- a/frontend/app/src/api/feedbacks.ts +++ b/frontend/app/src/api/feedbacks.ts @@ -17,6 +17,7 @@ export interface Feedback { updated_at: Date; user_id: string | null; chat_title: string; + chat_origin?: string | null; chat_message_content: string; user_email: string | null; } @@ -32,6 +33,7 @@ const feedbackSchema = z.object({ user_id: z.string().nullable(), user_email: z.string().nullable(), chat_title: z.string(), + chat_origin: z.string().nullable(), chat_message_content: z.string(), }) satisfies ZodType; diff --git a/frontend/app/src/components/feedbacks/feedbacks-table.tsx b/frontend/app/src/components/feedbacks/feedbacks-table.tsx index ba528473..b6b51bca 100644 --- a/frontend/app/src/components/feedbacks/feedbacks-table.tsx +++ b/frontend/app/src/components/feedbacks/feedbacks-table.tsx @@ -24,6 +24,7 @@ const columns = [ } }, }), + helper.accessor('chat_origin', { cell: mono }), helper.display({ id: 'chat', header: 'question',