Skip to content

Dashboard v2#8

Open
juthing wants to merge 25 commits into
mainfrom
dashboard-v2
Open

Dashboard v2#8
juthing wants to merge 25 commits into
mainfrom
dashboard-v2

Conversation

@juthing

@juthing juthing commented Apr 12, 2026

Copy link
Copy Markdown
Member

No description provided.

juthing and others added 24 commits February 12, 2026 17:38
…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.
…, 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>
- 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.
- 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.
@vercel

vercel Bot commented Apr 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboard Ready Ready Preview, Comment Apr 12, 2026 8:01pm

- 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>
@juthing juthing linked an issue May 25, 2026 that may be closed by this pull request
3 tasks
@juthing juthing removed a link to an issue May 25, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant