diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx index 21721cd..739f287 100644 --- a/src/app/profile/page.tsx +++ b/src/app/profile/page.tsx @@ -194,10 +194,8 @@ export default function ProfilePage() { {profile.avatar && (
{isGravatarUrl(profile.avatar) ? ( - /* eslint-disable-next-line jsx-a11y/alt-text */ ) : ( - /* eslint-disable-next-line jsx-a11y/alt-text */ )}
diff --git a/src/components/dashboard/RecentTasks.tsx b/src/components/dashboard/RecentTasks.tsx index 62d8d74..07dbd99 100644 --- a/src/components/dashboard/RecentTasks.tsx +++ b/src/components/dashboard/RecentTasks.tsx @@ -80,6 +80,8 @@ export function RecentTasks({ tasks, selectedSources = [], hiddenSources = [] }: key={task.id} variant="detailed" title={task.title} + primaryTagId={task.primaryTagId} + availableTags={availableTags} description={task.description} status={task.status} priority={task.priority as 'low' | 'medium' | 'high'} diff --git a/src/components/dashboard/TagDistributionChart.tsx b/src/components/dashboard/TagDistributionChart.tsx index a55e8a9..0810998 100644 --- a/src/components/dashboard/TagDistributionChart.tsx +++ b/src/components/dashboard/TagDistributionChart.tsx @@ -1,7 +1,7 @@ 'use client'; import { Card } from '@/components/ui/Card'; -import { PieChart, Pie, Cell, ResponsiveContainer, Tooltip, Legend, BarChart, Bar, XAxis, YAxis, CartesianGrid, PieLabelRenderProps } from 'recharts'; +import { PieChart, Pie, Cell, ResponsiveContainer, Tooltip, BarChart, Bar, XAxis, YAxis, CartesianGrid, PieLabelRenderProps } from 'recharts'; import { TagDistributionMetrics } from '@/services/analytics/tag-analytics'; interface TagDistributionChartProps { diff --git a/src/components/ui/header/HeaderMobile.tsx b/src/components/ui/header/HeaderMobile.tsx index f69365a..e00fb01 100644 --- a/src/components/ui/header/HeaderMobile.tsx +++ b/src/components/ui/header/HeaderMobile.tsx @@ -3,7 +3,6 @@ import { useState } from 'react'; import { X, Menu } from 'lucide-react'; import { signOut } from 'next-auth/react'; -import Link from 'next/link'; import { HeaderControls } from './HeaderControls'; import { HeaderNavigation } from './HeaderNavigation'; import { AuthButton } from '@/components/AuthButton'; @@ -17,13 +16,7 @@ interface HeaderMobileProps { export function HeaderMobile({ title, subtitle, syncing }: HeaderMobileProps) { const [mobileMenuOpen, setMobileMenuOpen] = useState(false); - // Fonction pour obtenir les classes CSS d'un lien (mobile) - const getMobileLinkClasses = (href: string) => { - const baseClasses = "font-mono text-sm uppercase tracking-wider transition-colors px-4 py-3 rounded-md block w-full text-left"; - - // Simplifier pour éviter la duplication de logique - return `${baseClasses} text-[var(--muted-foreground)] hover:text-[var(--primary)] hover:bg-[var(--card-hover)]`; - }; + return ( <>