fix: remove unused imports in reports + team-dashboard, deploy all data pages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 12:30:14 +05:30
parent 4c6cae9d65
commit cd9e7af688
2 changed files with 2 additions and 14 deletions

View File

@@ -5,8 +5,6 @@ import {
faPhoneArrowDownLeft,
faPhoneArrowUpRight,
faPhoneMissed,
faClock,
faCalendarCheck,
faUserHeadset,
faChartMixed,
} from '@fortawesome/pro-duotone-svg-icons';
@@ -17,7 +15,7 @@ import { Table, TableCard } from '@/components/application/table/table';
import { TopBar } from '@/components/layout/top-bar';
import { AiChatPanel } from '@/components/call-desk/ai-chat-panel';
import { useData } from '@/providers/data-provider';
import { getInitials, formatShortDate } from '@/lib/format';
import { getInitials } from '@/lib/format';
import type { Call } from '@/types/entities';
// KPI Card component
@@ -107,7 +105,7 @@ type AgentPerformance = {
};
export const TeamDashboardPage = () => {
const { calls, leads, followUps, loading } = useData();
const { calls, leads, loading } = useData();
const [dateRange, setDateRange] = useState<DateRange>('week');
// Filter calls by date range
@@ -228,14 +226,6 @@ export const TeamDashboardPage = () => {
return `${Math.floor(hours / 24)}d ago`;
};
// Supervisor AI quick prompts
const supervisorQuickPrompts = [
{ label: 'Top conversions', template: 'Which agents have the highest conversion rates this week?' },
{ label: 'Pending leads', template: 'How many leads are still pending first contact?' },
{ label: 'Missed callback risks', template: 'Which missed calls have been waiting the longest without a callback?' },
{ label: 'Weekly summary', template: 'Give me a summary of this week\'s team performance.' },
];
const dateRangeLabel = dateRange === 'today' ? 'Today' : dateRange === 'week' ? 'This Week' : 'This Month';
return (