Skip to content

[WIP] Fix Lighthouse scores below acceptable threshold#261

Merged
DavidKRK merged 5 commits into
gh-pagesfrom
codex/fix-lighthouse-performance-seo
Jun 3, 2026
Merged

[WIP] Fix Lighthouse scores below acceptable threshold#261
DavidKRK merged 5 commits into
gh-pagesfrom
codex/fix-lighthouse-performance-seo

Conversation

@Codex
Copy link
Copy Markdown
Contributor

@Codex Codex AI commented Jun 2, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>⚠️ Score Lighthouse sous le seuil acceptable</issue_title>
<issue_description>## 🔦 Alerte Performance / SEO

L'audit Lighthouse automatique a détecté des scores inférieurs aux seuils définis :

  • Performance : minimum requis 60/100
  • SEO : minimum requis 85/100

Workflow déclenché : 🔦 Lighthouse CI - Performance & SEO
Run ID : 26735276206

📊 Consultez les artefacts du workflow pour les rapports détaillés.

Issue créée automatiquement par le workflow Lighthouse CI.</issue_description>

Comments on the Issue (you are @codex[agent] in this section)

@Codex Codex AI assigned Codex and DavidKRK Jun 2, 2026
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@Codex Codex AI linked an issue Jun 2, 2026 that may be closed by this pull request
@DavidKRK DavidKRK marked this pull request as ready for review June 2, 2026 21:52
Copilot AI review requested due to automatic review settings June 2, 2026 21:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
@Codex Codex AI requested a review from DavidKRK June 2, 2026 22:02
Copy link
Copy Markdown
Owner

@DavidKRK DavidKRK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approve — Optimisations performances & nettoyage du code

Cette PR apporte des améliorations solides et bien ciblées :

Suppression de Howler.js et de tout son code associé : nettoyage bienvenu, la librairie n'était plus utilisée activement.
Fix du sélecteur de langue : la classe active est désormais posée directement dans le HTML (FR par défaut), ce qui élimine le risque de flash visuel (FOUC) au chargement. Bonne pratique.
Optimisations LCP sur index.html : fetchpriority="high" sur l'image principale + preload de l'image hero.
Iframes Mixcloud : suppression de l'autoplay + ajout de loading="lazy". Bon pour les perfs et l'expérience utilisateur.
Première vignette YouTube dans music.html : loading="eager" fetchpriority="high" — correct pour le LCP.
responsive.css retiré de index.html : vérifié — le fichier n'existe pas dans le repo, c'était une référence morte. ✅
Seuil Lighthouse performance relevé de 0.5 à 0.6 : exigence plus stricte, cohérent avec les optimisations.

⚠️ Petite note : les vidéos YouTube dans music.html sont désormais codées en dur (suppression du fetch youtube-videos.json). C'est plus simple mais les mises à jour futures nécessiteront une modification manuelle du HTML.

Légère incohérence d'indentation dans shop.html (non bloquant).

→ Approuvé ✅

@DavidKRK
Copy link
Copy Markdown
Owner

DavidKRK commented Jun 3, 2026

@copilot resolve the merge conflicts in this pull request

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 3, 2026

@copilot resolve the merge conflicts in this pull request

Les conflits de merge ont été résolus et intégrés dans le commit e083b2d (avec ajustements de suivi dans 69b3e1a). La branche est maintenant mergeable et le build passe (npm run build).

Copilot AI requested a review from DavidKRK June 3, 2026 00:13
@DavidKRK DavidKRK merged commit d06fad1 into gh-pages Jun 3, 2026
12 of 13 checks passed
@DavidKRK DavidKRK deleted the codex/fix-lighthouse-performance-seo branch June 3, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚠️ Score Lighthouse sous le seuil acceptable

5 participants