refactor(admin-config, tables, planning): migrate email & notification to shadcn, unify table pinning, fix UI issues
Summary
- Migrated all 7 email modals and 2 notification views from MUI to shadcn with unified design (soft #DBD7F9 header, lucide icons, neo-morphic shadows, purple-glow buttons)
- Unified pinned column styling across usager, driver, and client tables using the split-panel pattern with solid gray sticky background
- Fixed Select dropdown z-index (1400 → 10001) so dropdowns render above dialog overlays
- Widened Crée le column in the contract table for better readability
- Hidden duplicate date navigation arrows in vehicle planning toolbar and fixed vehicle count badge to show total instead of filtered count
Changes
Admin Config — Email (/dashboard/config-admin/email)
-
email-template-form— shadcn Dialog + FormField, rich text editor -
email-template-import— drag-and-drop file upload with preview -
email-template-export— visual PDF/Word format picker cards -
email-template-archive— warning card with amber alert -
email-automation-form— section cards, radio groups, custom multi-select -
email-automation-archive— warning card with amber alert -
email-history-detail— info rows with icons, collapsible error logs, status badges - Removed duplicate close (X) buttons from all dialogs
Admin Config — Notification (/dashboard/config-admin/notification)
-
notification-form— shadcn FormField + grid layout + lucide action buttons -
notification-settings— redesigned as frequency/channels/types section cards -
notification-main-view— upgraded title to icon badge + subtitle row - Deleted unused MUI
menu-popover.tsx
Tables
- Usager, driver tables → split-panel pinning (matching circuit pattern)
- Client table → per-cell sticky with solid gray background fix
Other fixes
-
select.tsxz-index bump (1400 → 10001) for dialog compatibility -
contract-table.tsxcreatedAt column width → 200px -
schedule-toolbar.tsxaddedhideDateNavprop -
planning-view.tsxvehicle count badge usestotalElements
Closes VSN-2657