Commit graph

42 commits

Author SHA1 Message Date
1dbca24c35 fix(report): aligner payloads corrections/ee et eo sur contrat backend réel 2026-04-20 03:45:52 +03:00
d7b084d05a docs(sprint-0.5-bis): TECH_DEBT v1.6 (FTD-18/19) + CHANGELOG 2026-04-20 02:37:46 +03:00
8450265449 feat(sprint-0.5-bis): AppLayout + primitives UI + refonte pages
- AppLayout (sidebar fixe, drawer mobile, BottomNav)
- MobileHeader sticky + Sidebar avec verrouillage hasAccess()
- Primitives src/shared/ui/ : Button, Card, Badge
- SimulationPage + DashboardPage : suppression headers internes
- TaskSelector : Card interactive + Badge EE/EO + eyebrow
- router.tsx : layout routes + ComingSoon inline
2026-04-20 02:37:19 +03:00
997f39bd33 feat(simulations): useSimulation hook + TaskSelector + SimulationForm + SimulationPage + route (Sprint 3 étape 14)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 00:08:34 +03:00
b31e8666a5 feat(entities): production + report — types, lib, api, tests floutage (Sprint 3 étape 13) 2026-04-19 03:37:41 +03:00
ca4291d7eb feat(app): implement MAINTENANCE_MODE + configure Claude Code security hooks
- Add VITE_MAINTENANCE_MODE guard in main.tsx (no providers mount when true)
- Create static MaintenancePage.tsx (Direction H tokens, zero dependencies)
- Register VITE_MAINTENANCE_MODE in env.ts (optional, defaults to false)
- Add PreToolUse security hook (9 patterns from SECURITY.md §2)
- Add Stop hook for file size check (>200 lines warning)
- Register Semgrep MCP server
- Update ARCHITECTURE.md §7 (new env var)
- Resolve FTD-16 in TECH_DEBT.md
2026-04-19 02:31:32 +03:00
bf778a5a4d feat(dashboard): PaywallBanner + DashboardPage conditionnel (Sprint 1 étape 5) 2026-04-18 02:50:34 +03:00
d0f77e04f9 feat(app): câbler router Sprint 1 — login/register/dashboard + redirect / (étape 4) 2026-04-18 02:23:05 +03:00
464eb27f1e feat(auth): LoginPage + RegisterPage (Sprint 1 étape 3) 2026-04-18 02:13:08 +03:00
38777796aa feat(auth): useAuth + ProtectedRoute + signUp dans auth-client (Sprint 1 étape 2) 2026-04-18 02:09:46 +03:00
107a37d197 feat(entities/user): PlanStatus + getPlanStatus + hook usePlan (Sprint 1 étape 1)
Fondations data plan utilisateur pour le dashboard conditionnel :
- entities/user/types.ts : interface PlanStatus (plan, permissions, simulations_used/remaining, plan_expires_at)
- entities/user/api.ts : getPlanStatus() via apiFetch<PlanStatus>('/plans/status')
- features/dashboard/hooks/usePlan.ts : useQuery + PLAN_QUERY_KEY + staleTime 5 min

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 02:00:12 +03:00
b246f89903 fix(lint): eslint-disable react-refresh sur exports cva (badge, button) 2026-04-18 01:36:16 +03:00
ee6d679950 feat(shared): ThemeToggle + Logo + design system rules (Sprint 0.5 étape 8) 2026-04-18 01:33:24 +03:00
7dfd0df6b3 feat(design-system): page /design-system dev-only — palette live + composants (Sprint 0.5 étape 7) 2026-04-18 01:25:54 +03:00
9a4e22b533 feat(design-system): composant shadcn dialog — tokens Direction H (Sprint 0.5 étape 6) 2026-04-18 01:15:02 +03:00
323b48c7cb feat(design-system): composants shadcn input/label/separator/avatar/progress — tokens Direction H (Sprint 0.5 étape 5) 2026-04-18 01:04:52 +03:00
dfe9fee56a feat(design-system): Button + Badge shadcn remappés tokens Direction H (Sprint 0.5 étape 4) 2026-04-18 00:56:13 +03:00
4c4d46d637 feat(design-system): scaffold shadcn/ui — components.json + cn() (Sprint 0.5 étape 3) 2026-04-18 00:03:44 +03:00
a1d98bd255 feat(design-system): ThemeProvider + useTheme — toggle dark/light (Sprint 0.5 étape 2) 2026-04-17 23:55:41 +03:00
e0a4653653 fix(design-system): ancrer palette canvas/ink-2 sur html+body 2026-04-17 23:51:02 +03:00
f343fb4696 docs: enrichir ARCHITECTURE, DEVELOPMENT_PRINCIPLES, GOLDEN_DATASET, TESTS_AUTOMATISES, TEST_ENVIRONMENT 2026-04-17 18:35:50 +03:00
52b8e9d011 docs: ajouter ONBOARDING, SECURITY, CHANGELOG, ADR 001-006 2026-04-17 18:35:15 +03:00
28c9c08d31 fix(build): upgrade Vitest 3.2.4 → 4.1.4 + script typecheck tsc -b + FTD-13 2026-04-17 18:29:13 +03:00
2d7caf041a refactor(style): réduire index.css au @import + ajouter FTD-10/11/12 2026-04-17 18:14:40 +03:00
ede03d01c1 ci(github): workflow typecheck/test/audit + README projet 2026-04-17 18:04:22 +03:00
57a8b1847a chore(scaffold): compléter .env.example (T2_LIVE, SENTRY) + ignorer .claude/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 17:56:50 +03:00
720d4dbbf8 style(format): appliquer Prettier sur 6 fichiers du scaffold Sprint 0
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 17:56:20 +03:00
7fed47dfeb chore(tooling): ajouter .prettierrc + intégrer eslint-config-prettier
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 17:55:45 +03:00
ef9a84433e feat(entities/user): access.ts (copie backend) + lib.ts (hasAccess/canSimulate) + 37 tests 2026-04-17 17:45:40 +03:00
94731edafc refactor(shared): extraire QueryClient dans shared/lib/query-client.ts 2026-04-17 17:42:28 +03:00
7f552dcdd1 feat(shared): auth-client Supabase + api-client apiFetch avec retry/timeout 2026-04-17 17:33:23 +03:00
476dfeeb08 feat(shared): types API, logger structuré, validation env.ts 2026-04-17 17:24:21 +03:00
dbc9360b36 chore(scaffold): retirer .gitkeep des dossiers hors archi FSD + access.ts partiel 2026-04-17 17:17:33 +03:00
c661d10e43 chore(cleanup): retirer assets orphelins du boilerplate Vite 2026-04-17 16:54:39 +03:00
79627bf4d5 feat(app): bascule entry point vers src/app/main.tsx + retrait boilerplate Vite 2026-04-17 16:42:39 +03:00
9c5e1d741b feat(app): scaffold entry point — providers et router minimal 2026-04-17 16:25:52 +03:00
16a8bfbe41 chore(scaffold): installer deps runtime/dev + configurer Vitest 2026-04-17 16:20:54 +03:00
941ddb9856 chore(scaffold): activer TypeScript strict, alias @ et script typecheck 2026-04-17 16:13:18 +03:00
30a01677bd docs: ajout TECH_DEBT.md 2026-04-16 15:14:44 +03:00
0a48428760 feat: initialisation projet React + Vite + TypeScript + Tailwind 2026-04-16 06:24:22 +03:00
f221daf542 docs: ajout documentation de référence 2026-04-16 05:51:01 +03:00
Hermann_Kitio
9e57400b02 Initial commit 2026-04-16 04:16:22 +02:00