Add Next features#10
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors recipe data management by migrating from denormalized fields to Firestore pipelines for real-time calculation of ratings and likes. It renames the 'saves' feature to 'likes' throughout the application, updates the Firebase SDK to version 12.12.0, and implements AI-powered search with scoring. UI enhancements include the addition of recipe image displays and various linting and type improvements. A review comment points out that the likedOnly filter logic, which currently checks for any recipe with more than zero likes, may be semantically confusing if the intended behavior was to display a user's personal likes, suggesting either a rename or a logic adjustment.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the Firebase dependency to version 12.12.0 and migrates the 'saves' functionality to a 'likes' system powered by Firestore pipelines for real-time aggregation. It refactors data fetching to calculate average ratings and like counts on-the-fly, removes manual aggregation logic, and updates Firestore security rules accordingly. UI enhancements include image previews in the recipe list and new filtering options. Feedback points out a potential crash for unauthenticated users in the recipes route and suggests more robust handling of the liked-only filter in the data layer.
jhuleatt
left a comment
There was a problem hiding this comment.
Cool! The eslint-disable everywhere makes me nervous, everything else is mostly nits
No description provided.