fix: refresh ticket detail data with the active defect class, select the emitted defect class after analysis completes, and animate the processing loader icon.

This commit is contained in:
2026-06-26 16:31:50 +05:30
parent 57461a05f2
commit e805cdee09
5 changed files with 42 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
'use client';
import { AlertCircle, Loader2 } from 'lucide-react';
import { AlertCircle, Loader } from 'lucide-react';
import { Progress } from '@/components/ui/progress';
import type { TicketProcessingProgress } from '../../../hooks/useTicketDetailEvents';
@@ -28,7 +28,11 @@ export function ProcessingTicketAction({
const hasProgress = Boolean(progress);
return (
<TicketActionCard icon={Loader2} title="Analyzing Video">
<TicketActionCard
icon={Loader}
iconClassName="animate-spin"
title="Analyzing Video"
>
<div className="space-y-4">
<div className="space-y-2">
<div className="flex items-center justify-between gap-3 text-sm">