feat: Add scraper version selector to frontend

- Add version selector dropdown in scrape confirmation modal
- Default to v1.1.0 (Multi-Sort) which bypasses ~1000 review limit
- Pass scraper_version through API proxy to backend
- Update /new page fallback to show v1.1.0 as available
- Show version description explaining multi-sort benefits

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-01-24 19:13:52 +00:00
parent 824634aa76
commit 9f714913db
3 changed files with 38 additions and 4 deletions

View File

@@ -134,12 +134,12 @@ export default function NewScrapePage() {
} catch (err) {
console.error('Failed to fetch scrapers:', err);
setError('Failed to load available scrapers');
// Fallback to showing Google Reviews as available
// Fallback to showing Google Reviews as available with both versions
setScrapers([{
job_type: 'google-reviews',
...SCRAPER_METADATA['google-reviews'],
available: true,
versions: ['v1.0.0'],
versions: ['v1.1.0 (Multi-Sort)', 'v1.0.0'],
}]);
} finally {
setLoading(false);