- Remove search input from events view
- Replace Filter button with two pill toggles: "À venir" (default, upcoming only) and "Tous les événements" (show all)
- Active toggle is highlighted with #804EEC purple
- Remove unused SlidersHorizontalIcon and eventsSearchQuery state
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- EventModal now accepts optional isOpen/onClose/defaultTabloId/defaultDate props; when provided it works as a controlled dialog without needing to navigate to /planning/create
- When used as a route child (existing behavior), falls back to URL params and navigate(-1) as before
- Events view "Créer un événement" button opens EventModal inline instead of navigating, passing the current tablo and date as defaults
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Only show upcoming events (today and future) by default
- Change "Créer un événement" button to #804EEC purple
- Replace MapPin icon with the tablo's colored initial avatar to show which project the event belongs to
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- TopBar: replace standalone Événements link with a segmented toggle pill (Calendrier | Événements) that only appears on /planning, with the active tab highlighted white
- planning.tsx events view: replace date badge with ActionCard-style icon container (bg-[#F4F3FF] / text-[#7F56D9]) matching the purple design system
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- planning.tsx: when ?tab=events, render a new card-based events view instead of the calendar; cards show date badge (month/day), title, description, time, and tablo name; includes search input and filter button; wired to existing useEventsByTablo hook and navigate-to-create flow
- TopBar.tsx: add "Événements" nav link that toggles to /planning?tab=events, with active state highlighting
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Add /tasks and /files to SEARCH_ROUTES so the TopBar search input is active on those pages
- Tasks page reads search query from URL ?q= param instead of local state; remove duplicate search input from header
- Files page reads ?q= param to filter tablos and files by name
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Rework tasks page with new board/list views, header with view tabs (Tableau, Liste, Roadmap, Calendrier), search and filter dropdown
- Board view: new card style with tablo row, assignee avatar, kebab menu (ouvrir/déplacer)
- List view: grouped by status, table with fixed column layout, kebab actions
- Add files page (/fichiers) with per-project file tables, folder cards, upload modal, download/delete actions
- Add /all-filenames API endpoint to fetch all tablo file names in a single call
- Add files nav item and recent projects section in NavigationBar
- Translate all UI strings to French
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- ExceptionModal: cast Zod v4 schema with `as any` to satisfy @hookform/resolvers v5 type definitions
- TopBar: wrap logout mutate call in arrow function to match MouseEventHandler type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace renderTabloListView with reusable ProjectCard / ProjectCardList components
- Card layout with status badge, progress bar, date, and delete action
- Default view shows 6 tablos with expand/collapse toggle
- Add DashboardTaskList component showing tasks assigned to the current user
- Toggle done/todo inline; "Add Task" button opens TaskModal with tablo selection
- Wire TopBar search input to URL param ?q= to filter tablos on the overview page
- Add TopBar component to Layout (was missing)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>