You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rebuild InfraLens landing example and OG card to match the real report (v0.9.0)
- extract src/infralens/lib/mock-report.ts as a single source of mock
data, shared by both surfaces instead of two hand-rolled copies that
had already drifted (stale "OK" vocabulary and a wrong icon/color
mapping, found and fixed in Phase 2's deleted section)
- rebuild results-preview.tsx to reuse the real PrioritySummary and
CheckResultCard components with mock data instead of a parallel
reimplementation — adds the hostname/URL/score header and "At a
glance" section that are now central to the real report but were
entirely missing from the example
- opengraph-image.tsx now reads from the same shared mock (hostname,
score, categories, example checks) instead of a separate hardcoded
copy
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## [0.9.0] — 2026-08-11
4
+
5
+
### Contenu
6
+
7
+
-**Exemple de rapport et carte OG d'InfraLens reconstruits pour refléter le vrai produit** — l'exemple sur la landing (`results-preview.tsx`) n'affichait qu'un badge de statut nu et 3 checks non repliables limités à 2 statuts sur 6, sans le bandeau hostname/URL/score ni le "At a glance" ("Worth fixing first" / "Working well") pourtant devenus le cœur visuel du vrai rapport depuis son redesign. Reconstruit en réutilisant directement les vrais composants `PrioritySummary` et `CheckResultCard` (au lieu d'une réimplémentation parallèle avec son propre badge de statut, qui avait déjà dérivé — vocabulaire "OK" et mapping icône/couleur incorrect trouvés en passant, corrigés en Phase 2). La carte OG partage désormais la même source de données (`src/infralens/lib/mock-report.ts`) au lieu d'une deuxième copie séparée qui pouvait diverger silencieusement.
0 commit comments