ekino / v6y

Vitality is a tool crafted to maintain and optimize the health and performance of codebase and applications.
MIT License
4 stars 1 forks source link

[EVOL]: Enhance LighthouseAuditor to Include SEO Metrics #9

Closed helabenkhalfallah closed 1 day ago

helabenkhalfallah commented 1 month ago

✨ Description

This feature proposes enhancing the LighthouseAuditor to directly incorporate SEO metrics into its existing performance audits. This modification will provide a unified and comprehensive analysis of web pages, encompassing both technical performance and SEO effectiveness within a single report.

🚀 Motivation

Integrating SEO metrics within the core LighthouseAuditor output creates a single, holistic analysis of web page health, eliminating the need for separate SEO audits.

📝 Proposed Solution

  1. Extend LighthouseAuditor: Modify the LighthouseAuditor class to collect and analyze SEO-related data during the audit process and if needed add recommendations.
  2. Save output in the database: Store the combined performance and SEO audit data in the database.
  3. Modify BFF schema and resolvers: Update the backend-for-frontend (BFF) schema to accommodate the new SEO data and modify resolvers to fetch and deliver the data correctly.
  4. Display reports in the Frontend: Enhance the frontend UI to display the integrated performance and SEO reports, providing clear visualizations and actionable recommendations.

🔗 Relevant Links (if any)

https://github.com/GoogleChrome/lighthouse/blob/main/docs/understanding-results.md https://github.com/ekino/v6y/blob/main/src/v6y-bfb-frontend-auditor/src/auditors/lighthouse/LighthouseUtils.ts#L253C11-L253C37