docs(audit): components/settings/account AccountSettings refactorised 2026-02-05

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
senke 2026-02-06 17:43:34 +01:00
parent 4ef6ed9c3b
commit 27db3ef8ed

View file

@ -150,6 +150,7 @@ Les problèmes sont classés en **Bloquant**, **Amélioration** et **Perfectionn
| ~~`components/views/FileDetailsView.tsx`~~ | ~~292~~ | **Refactorisé 2026-02-05** : module `components/views/file-details-view/` avec `types` (FileDetailsViewProps, ActivityItem, VersionItem), `mockData` (MOCK_ACTIVITY, MOCK_VERSIONS, getMockFile), `useFileDetailsView`, Header, Preview, Metadata, Activity, Versions, Storage, `FileDetailsViewSkeleton`. Layout : `min-h-[400px]``min-h-layout-page-sm`, badge LATEST `text-[10px]``text-xs`. Stories : Default, Loading (Skeleton). Re-export depuis `FileDetailsView.tsx`. |
| ~~`components/seller/CreateProductView.tsx`~~ | ~~292~~ | **Refactorisé 2026-02-05** : module `components/seller/create-product-view/` avec `types` (LicenseConfig), `useCreateProductView`, Header, CoverCard, FilesCard, DetailsCard, PricingCard, `CreateProductViewSkeleton`. Textarea `min-h-[120px]``min-h-24`. MSW : POST `/api/v1/marketplace/products`. Stories : Default, Loading (Skeleton). Re-export depuis `CreateProductView.tsx`. |
| ~~`features/chat/components/ChatInterface.tsx`~~ | ~~291~~ | **Refactorisé 2026-02-05** : module `features/chat/components/chat-interface/` avec `types` (ChatInterfaceProps), `useChatInterface` (wsService, loadMessages, loadChatStats, formatTimestamp), Header, Messages, Input, `ChatInterfaceSkeleton`. Stories : Default, ProductionRoom, Loading (Skeleton). Decorator `h-[600px]``min-h-layout-page`. Re-export depuis `ChatInterface.tsx`. |
| ~~`components/settings/account/AccountSettings.tsx`~~ | ~~289~~ | **Refactorisé 2026-02-05** : module `components/settings/account/account-settings/` avec `types` (AccountSettingsUserMock, AccountSettingsToggles), `useAccountSettingsPage` (view, modals, user, toggles, theme), IdentityCard, PreferencesCard, NotificationsCard, PrivacyCard, DangerCard, `AccountSettingsSkeleton`. Privacy labels `text-[10px]``text-xs`. Stories : Default, Loading (Skeleton). Decorator `min-h-screen``min-h-layout-page`. Re-export depuis `AccountSettings.tsx`. |
### Problèmes identifiés