Commit Graph
13 Commits
Author SHA1 Message Date
Arnaud Dartois 046bb4ce98 feat(web): design tokens & thème global dark-first (Fixes #32)
Theme/HeimdallTheme.cs : palette sémantique dark-first (bleu nuit, jamais
#000/#FFF), contrastes calculés ≥4.5:1 (WCAG 2.2 AA), accent cyan vigie
temps réel, statuts adaptés light/dark. Thèmes inline supprimés des deux
layouts (MainLayout + MudBlazorLayout) au profit de l'instance unique.

app.css : tokens CSS (échelle 4px, radius, ombres, focus-ring), focus
visible global, skip-link, prefers-reduced-motion, zones tactiles 44px,
classes hmd-tile/hmd-live-dot (hover lift + pulse live). MetricTile et
composants partagés (EmptyState, SectionCard, FilterBar, LoadingSkeleton,
PaginationBar, SettingsPage) passés sur les tokens radius.

Contrastes vérifiés par calcul (outil ratio) pour toutes les paires
texte/fond light + dark. Build vert, 165 tests Web verts.
2026-08-10 22:36:18 +02:00
Arnaud Dartois d697a94257 feat(ui): écran Configuration en cartes visuelles par catégorie
Fini la table clé/valeur : chaque paramètre est une carte avec libellé
lisible (description ou clé humanisée), icône de type, clé en sous-titre
monospace, et contrôle visuel adapté (switch Activé/Désactivé, champ
nombre, select, texte) avec sauvegarde inline. Recherche + filtre
catégorie conservés. Tests adaptés à l'édition inline.
2026-08-10 20:28:42 +02:00
Arnaud Dartois 219d9b73b6 feat(ui): polish visuel global — Font Awesome, composants partagés, fix MudMenu 2026-07-27 20:11:31 +00:00
Arnaud Dartois b955a98760 refactor(css): use CSS custom properties for auth page theme
Define --auth-* variables on .auth-page for all colors, shadows, and
backgrounds. Dark mode now only overrides variables on .auth-page —
zero selector duplication, single source of truth for theme values.
2026-07-19 15:51:07 +00:00
Arnaud Dartois 0030173c38 refactor: rename mud-button-submit to auth-submit-btn
Avoid potential CSS conflicts with future MudBlazor versions using a
project-specific class name for auth page submit buttons.
2026-07-19 15:50:32 +00:00
Arnaud Dartois 70176124cb refactor(css): merge duplicate dark mode media blocks into one
- Single @media (prefers-color-scheme: dark) block containing both
  auth-specific rules and general (body, blazor-error-ui) rules
- Removes duplicate @media query, simplifies maintenance
2026-07-19 15:49:46 +00:00
Arnaud Dartois f0083de97d fix(a11y): add prefers-reduced-motion support for auth page
- Disable auth-card entrance animation when user prefers reduced motion
- Disable auth-footer link color transition
- Respects WCAG accessibility guidelines for vestibular disorders
2026-07-19 15:49:13 +00:00
Arnaud Dartois 28d6b9ea81 fix(a11y): improve color contrast on auth page text
- Light mode: .auth-header p and .auth-footer p #64748b → #475569 (~6.5:1 contrast)
- Dark mode: .auth-header p and .auth-footer p #94a3b8 → #cbd5e1
Both pass WCAG AA and now approach AAA (7:1) for small text readability.
2026-07-19 15:48:26 +00:00
Arnaud Dartois 129a6148f5 feat(persons): add person manager with known face registry and CRUD API 2026-07-19 15:28:38 +00:00
Arnaud Dartois 3056452b9e fix(web): repair design on users page, settings page and audit logs 2026-07-19 06:34:32 +00:00
Arnaud Dartois ca693a2ed0 fix(web): repair home page design — invalid CSS, dead code, missing form wrappers 2026-07-19 06:28:13 +00:00
Arnaud Dartois da123ec544 fix(tests): InMemory DB isolation + refactor test helpers
- Fix: InMemory database name now unique per test factory instance
  (was using process-wide env var, now per-host config via UseSetting)
- Refactor: all integration tests use shared TestHelpers.CreateAdminClientAsync
- New: register-admin endpoint (test/dev only) creates Admin users directly
- New: TestHelpers.cs with extension method for admin client creation
- Cleanup: removed bootstrap template files, old Counter/Weather pages
- Cleanup: simplified app.css with MudBlazor-only styles
- Seed: demo admin + demo site created in Development mode
2026-07-17 13:15:25 +00:00
Arnaud Dartois bfb3e06bc1 feat: initialize .NET 10 Clean Architecture solution
Create Heimdall solution with 17 projects following Clean
Architecture for a maintainable and loosely coupled codebase.

src/ (9 projects):
- Domain, Domain.Primitives, Contracts (core layer, no deps)
- Application (ref. Domain) — CQRS/MediatR ready
- Infrastructure (ref. Application + Domain) — EF Core
  PostgreSQL ready
- Api, Web (Blazor), Agent, Workers (hosts, ref. Application +
  Infrastructure)

tests/ (8 projects):
- xUnit + Shouldly + NSubstitute + bUnit (Web.Tests)
- One test project per source project (Domain -> IntegrationTests)

Config: Directory.Build.props (Nullable, ImplicitUsings,
TreatWarningsAsErrors)
2026-07-16 19:09:28 +00:00