Dashboard v2#8
Open
juthing wants to merge 25 commits into
Open
Conversation
…ilisateur et le débogage
…bugging - Added react-router-dom to manage routing in the application. - Refactored App component to use Routes for navigation. - Created DebugPage component to display authentication status, API connectivity, environment variables, and real-time logs. - Implemented log capturing functionality to monitor console outputs. - Enhanced user experience with collapsible sections for better organization of debug information.
…age, et créer le fichier de configuration vercel.json
- docs/sessions/2026-02-12_routing-spa-auth-guard.md — Résumé complet de la session - docs/sessions/README.md — Index mis à jour avec la nouvelle session en tête - docs/CLAUDE.md — Mis à jour : structure des dossiers (pages, vercel.json), react-router-dom dans la stack, section Routing avec les routes et l'auth guard, statut de développement actualisé
Ajout de @sentry/react avec initialisation dans main.tsx, section de test dans la DebugPage, et documentation complète de la session. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…mand menu - Added new components for dialog, sheet, sidebar, skeleton, and tooltip. - Created SidebarProvider and Sidebar components to manage sidebar state and layout. - Integrated responsive design for mobile and desktop views. - Developed CommandMenu for quick actions accessible via keyboard shortcut. - Updated DashboardPage to utilize new sidebar and command menu components. - Added translations for dashboard-related keys in English and French. - Documented the implementation details and architecture in the session notes.
…nav-user and team-switcher components
…, dialog blur-only - Favicon SVG Moddy (logo bleu #0046F8) - Titre d'onglet dynamique : "Moddy Dashboard - [Page]" via hook usePageTitle - Sidebar : Get Help, Commands, Documentation au-dessus du profil utilisateur - Dialog/AlertDialog : backdrop blur uniquement, sans noircissement (suppression bg-black/80) - Traductions EN/FR : sidebar.* et pageTitle.* Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rtDialog et Dialog
- Added NotFoundPage for handling 404 errors with user-friendly messaging and navigation. - Implemented empty state in DashboardPage when no server is selected, encouraging users to add Moddy to their Discord servers. - Reorganized AppSidebar footer, removing Projects section and adding a search feature. - Updated NavUser component to include a logout confirmation dialog and improved menu items. - Rewrote CommandMenu to include categorized groups for better navigation and usability. - Integrated Sonner for toast notifications, providing feedback on user actions. - Replaced loading spinner with LoaderIcon for a more modern look. - Added translations for new UI elements in both English and French. - Updated main.tsx to include the Toaster component for notifications. - Various code cleanups and optimizations throughout the application.
- i18n complet sur tous les composants modifiés (navUser, commandMenu, dashboard, notFound) - Architecture dialog de déconnexion refactorisée : état remonté dans DashboardPage, partagé entre NavUser et CommandMenu via onLogoutRequest - NavUser : My Punishments + GavelIcon, logout rouge (text-destructive + focus:bg-destructive/10), suppression du dialog interne - CommandMenu : suppression ExternalLinkIcon, suppression groupe Navigation, InfoIcon pour statut services, logout rouge avec !text-destructive sur SVG, déclenche le dialog de confirmation - DashboardPage : toast de bienvenue et empty state traduits via i18n - NotFoundPage : entièrement traduit via i18n Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ond pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- NavUser : variant="destructive" sur DropdownMenuItem logout (fix icône qui devenait noire au hover via la règle not-data-[variant=destructive]:focus:**:text-accent-foreground) - CommandMenu : HeadphonesIcon → TicketIcon pour "Ouvrir un ticket" - CommandMenu : suppression du doublon "Ajouter Moddy" dans le groupe My Servers (remplacé par placeholder disabled), le bouton reste uniquement dans Useful Links - CommandMenu : "Account Settings" → "Settings" (clé i18n accountSettings → settings) - i18n : ajout clé commandMenu.noServers (EN + FR) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Added `NotificationDrawer` component for displaying notifications. - Integrated `vaul` for drawer functionality. - Created `useMediaQuery` hook for responsive design. - Defined TypeScript types for notifications. - Added example notifications data. - Updated `DashboardPage` to manage notification state and handlers. - Connected notification actions in `NavUser` and `CommandMenu`. - Enhanced translation files for notifications in English and French. - Updated documentation to reflect new components and features.
…a gestion des icônes
…er le style du tiroir de notification
…rmatage de timestamp réactif
…lecteur dans la page Debug
- Updated authentication flow to use direct redirect for Discord OAuth. - Removed HMAC proxy system; simplified API calls. - Changed user data structure from UserInfo to User across components. - Updated API endpoints for session verification and user info retrieval. - Added local development proxy configuration for API calls. - Introduced comprehensive frontend integration guide for developers.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- ApiError: supprimer parameter property (erasableSyntaxOnly) - DashboardPage: corriger référence 'userInfo' → 'user' dans useEffect - Merge main: conserver le vrai dashboard v2 face à la page "indisponible" - Supprimer api/homepage-503.ts (inutile sur dashboard-v2) Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.