chore: update various components and services for improved functionality and consistency, including formatting adjustments and minor refactors

This commit is contained in:
Julien Froidefond
2025-12-07 09:54:05 +01:00
parent 4f5724c0ff
commit 39e3328123
141 changed files with 5292 additions and 3243 deletions

View File

@@ -75,7 +75,8 @@ export function ChangePasswordForm() {
<CardHeader>
<CardTitle>Changer le mot de passe</CardTitle>
<CardDescription>
Assurez-vous d&apos;utiliser un mot de passe fort (8 caractères minimum, une majuscule et un chiffre)
Assurez-vous d&apos;utiliser un mot de passe fort (8 caractères minimum, une majuscule et
un chiffre)
</CardDescription>
</CardHeader>
<CardContent>
@@ -136,4 +137,3 @@ export function ChangePasswordForm() {
</Card>
);
}

View File

@@ -6,7 +6,9 @@ import { Mail, Calendar, Shield, Heart } from "lucide-react";
import type { UserProfile } from "@/lib/services/user.service";
interface UserProfileCardProps {
profile: UserProfile & { stats: { favoritesCount: number; hasPreferences: boolean; hasKomgaConfig: boolean } };
profile: UserProfile & {
stats: { favoritesCount: number; hasPreferences: boolean; hasKomgaConfig: boolean };
};
}
export function UserProfileCard({ profile }: UserProfileCardProps) {
@@ -65,12 +67,10 @@ export function UserProfileCard({ profile }: UserProfileCardProps) {
<div className="pt-4 border-t">
<p className="text-xs text-muted-foreground">
Dernière mise à jour:{" "}
{new Date(profile.updatedAt).toLocaleDateString("fr-FR")}
Dernière mise à jour: {new Date(profile.updatedAt).toLocaleDateString("fr-FR")}
</p>
</div>
</CardContent>
</Card>
);
}