- versões corrigidas conforme package.json e lockfile: Next.js 15 (era 14.2.18),
React 19 (era 18.3.1), Prisma 6 (era 5.22.0), TypeScript 5.9, Tailwind 3.4.19
- badge de issues, badge de feature e links de clone deixam de apontar para o
repositório antigo lista-compras
- setup testado na prática: "pnpm db:push" no lugar de "pnpm db:migrate" (o
repositório não tem migrations, o comando não criava tabela alguma) e
arquivo ".env" no lugar de ".env.local" (a CLI do Prisma só lê .env)
- README reescrito no padrão do perfil: sobre, como funciona, stack, requisitos,
início rápido, uso, API com os parâmetros que existem de fato, produção,
deploy, estrutura, verificação medida e limitações conhecidas
- removidas alegações não sustentadas: 218 produtos no cache (são 232),
First Load JS de ~87 kB (medido: 102 kB), disponibilidade 24/7 e "12 opções
de ordenação" como se todas funcionassem
- descreve o estado real: sem testes automatizados e sem CI, busca textual
dependente do endpoint legado do Open Food Facts (503 na verificação),
filtros avançados que não chegam à API e ordenação que cobre quatro critérios
- null: continha apenas uma mensagem de erro do PowerShell sobre um arquivo
de configuração local inexistente
- design-handoff.tar.gz: continha apenas o texto "not found." (8 bytes)
Nenhum dos dois é referenciado no código, na documentação ou nos scripts de
build e deploy.
- package.json: name passa de "resenhaitapoa2" para "nutriscan"
- .env.example: arquivo citado no README mas ausente do repositório.
Documenta DATABASE_URL (obrigatória para o Prisma), o modo cache-only e a
origem do proxy de analytics
- Updated ErrorBoundary and ErrorTracking components to directly access the Rybbit object without type assertions.
- Enhanced error tracking by ensuring stack traces and component stacks are only included if available.
- Improved the HeroSection component by replacing the standard img tag with Next.js Image component for better performance and optimization.
- Added rewrites in next.config.mjs for Rybbit Analytics to bypass adblockers.
- Implemented ErrorBoundary and ErrorTracking components in layout.tsx for enhanced error handling.
- Included a script for analytics tracking in the root layout.
- Updated NutritionGrid in product page to handle potential undefined nutrition data.
- Refactored error handling in the product page to simplify catch block.
- Updated type definitions in openFoodFactsApi for better type safety.
- Introduced utility functions for search type detection and barcode validation.
- Updated Footer component with new links and dynamic year display.
- Refactored Header component to improve mobile navigation and theme toggling.
- Enhanced DonationSection and Features components with improved layout and animations.
- Updated HowItWorks and Impact sections for better user engagement and clarity.
- Improved product page layout and error handling in API interactions.
- General UI refinements across various components for a cohesive user experience.
- Upgraded Next.js from 14.2.18 to 14.2.35 for improved performance and features.
- Updated ESLint configuration package from 14.2.18 to 14.2.35 to align with Next.js version.
- Added pnpm overrides for glob, js-yaml, and brace-expansion to ensure compatibility with newer versions.
Updated pnpm-workspace.yaml to include the root directory in packages and refined onlyBuiltDependencies with consistent double quotes and added prisma for proper build handling.
- Added NutriScan logo and updated badge versions for accuracy
- Translated entire README from English to Portuguese for localization
- Introduced new sections: mission, differentials, statistics, and visual demonstration
- Restructured table of contents and expanded project description for better user engagement and clarity
Updated lastUpdated timestamps and incremented updateCount for multiple product entries in products-cache.json to reflect recent synchronization or refresh.
- Removed upper limit on page_size validation to support requests >100
- Added automatic pagination logic to fetch from Open Food Facts API in chunks of 1000
- Accumulates products across multiple API pages until desired count is reached
- Updated error messages and product data fields for consistency
- Add NODE_ENV=production to .env for environment configuration
- Enhance product API route with JSON cache manager for local storage and retrieval
- Introduce cache-only mode and detailed logging for better performance and offline support
- Update UI to display cache status and storage statistics
Updated LICENSE from MIT to a restrictive personal use license, limiting usage to local, non-commercial purposes only. Revamped README.md to reflect the new project name "NutriScan", integrated Open Food Facts API badge, and shifted focus from shopping list management to a nutrition scanning application, enhancing project identity and compliance.
- Add dynamic rendering and Node.js runtime config to location API for better performance
- Improve ProductCardSkeleton with dark mode styling for consistent theming
- Simplify Hero search placeholder to focus on product name input
- Integrate caching, pagination, and cache clearing in results page for optimized search experience and user control
Updated CardList component to use ListaProductCard instead of ProductCard for rendering products, improving component specificity for list views. Also adjusted indentation for consistency.
- Redesigned Footer.tsx with comprehensive layout including brand section, navigation links, social media icons, and contact info to improve user engagement and brand visibility
- Updated DATABASE_URL in .env to correct Prisma database path for proper configuration and connectivity
- Updated dependencies to support new UI components and ensure compatibility with enhanced features