extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Update seo-lighthouse extension

Open guelug opened this issue 2 months ago • 2 comments

Description

Screencast

Checklist

guelug avatar Dec 23 '25 09:12 guelug

Thank you for the update! :tada:

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

raycastbot avatar Dec 23 '25 09:12 raycastbot

Greptile Summary

This PR adds significant new features to the SEO Lighthouse extension:

  • AI Integration: Added Ask AI for Insights feature using Raycast AI to analyze Lighthouse reports and provide actionable recommendations
  • Internationalization: Comprehensive i18n system supporting 7 languages (English, Spanish, Catalan, German, French, Dutch, Turkish) with auto-detection
  • Email Draft Generation: macOS-only feature to create email drafts with report highlights
  • Caching System: Implements MD5-based caching to reuse recent reports and avoid redundant scans, with "Re-Analyze" option to force fresh runs
  • Windows Support: Extended platform support from macOS-only to both macOS and Windows
  • Tool Integration: Added audit-page tool for AI/LLM access to the extension's functionality
  • Enhanced Reporting: Richer report content with Core Web Vitals, opportunities, diagnostics, and warnings

The implementation is solid overall with good architecture decisions. The main issue is incomplete internationalization - while a comprehensive i18n system was added, multiple hardcoded Spanish strings remain in seo-lighthouse.tsx that bypass the i18n system. These should use the t() function for consistency. Additionally, analise-url.ts is an empty placeholder file that should be removed or implemented.

Confidence Score: 4/5

  • This PR is safe to merge with minor style improvements recommended
  • The code is well-structured with proper error handling, caching, and new features. Score is 4/5 due to incomplete internationalization (hardcoded Spanish text) which reduces consistency but doesn't break functionality. All changes are additive and backward-compatible.
  • Pay attention to seo-lighthouse.tsx to ensure all user-facing strings use the i18n system, and consider removing the empty analise-url.ts placeholder

Important Files Changed

Filename Overview
extensions/seo-lighthouse/package.json Version bumped to 1.1.9, added new tool configuration, language preference, Windows platform support, and updated dependencies
extensions/seo-lighthouse/src/seo-lighthouse.tsx Major refactor adding AI insights, i18n support, email drafts, and caching; contains hardcoded Spanish text that should use i18n
extensions/seo-lighthouse/src/utils/i18n.ts New comprehensive internationalization system supporting 7 languages with auto-detection from system settings
extensions/seo-lighthouse/src/utils/lighthouse.ts New utility with Lighthouse execution, caching system, DNS validation, and multi-path detection for the CLI

greptile-apps[bot] avatar Dec 23 '25 11:12 greptile-apps[bot]

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Jan 31 '26 20:01 raycastbot