Changelog

Follow up on the latest improvements and updates.

RSS

  • Updated the AI model from version 3.2 to 3.3, enhancing performance with a larger instruction set. This change is classified as a feature enhancement.
  • Feature
    : Added a Related Recipes component that fetches and displays related recipes based on the current recipe's tags and country.
  • Feature
    : Updated the Recipe component to include the Related Recipes section, enhancing the user experience by suggesting additional recipes.
  • Minor Update
    : Import statements were modified to include the new Related Recipes component.
  • Updated text styles in the app banner for better responsiveness.
  • Introduced a new Nutrition Facts modal with animated transitions, allowing users to see detailed nutritional information.
  • Implemented close functionality for the modal using escape key and outside click detection.
  • Enhanced the Recipe Simple Stats display by showing nutritional information always on smaller screens and additional data on larger screens.
  • Improved layouts and styling for various UI components, ensuring a more cohesive and visually appealing user experience.
  • Minor adjustments made to class names and structure for better maintainability and consistency.
  • Removed
    : The previous version of the Filters component has been completely removed, which included numerous features related to handling search parameters, country selections, and tag inputs.
  • Added
    : A new
    FilterSection
    component has been introduced, enabling a modular structure for various filter sections, including country selection, dietary preferences, meal information, and nutritional properties.
  • Added
    : Several constants and arrays were added to manage meal types, time of day, dietary preferences, complexity labels, cost labels, and nutritional presets.
  • Modified
    : The way filters are managed has been updated, with new state management practices and cleaner update patterns for user interactions with the filter sections.
  • Added
    : A comprehensive structure for handling individual filter sections such as
    CountrySection
    ,
    DietarySection
    ,
    MealSection
    ,
    PreparationSection
    ,
    NutritionalSection
    , and
    TagsSection
    , each containing unique functionalities relevant to their categories.
  • Added
    : Country data with flags for display has been included to improve country selection functionality.
  • Modified
    : Improved logging and state management for better debugging and functionality across various components related to filters.
  • Feature
    : Enhanced metadata generation for recipes, including the addition of
    robots
    directives to control search engine indexing and following behavior.
  • Feature
    : Added
    canonicalUrl
    for better SEO support, ensuring the correct canonical link is returned for recipes.
  • Feature
    : Improved Open Graph metadata with timestamps for publishing and updating, enhancing social media sharing capabilities.
  • Bug Fix
    : Updated URL handling to utilize the new
    canonicalUrl
    consistently across the application.
  • Updated the Google Play download section to enhance its design and interaction, including a gradient background and scaling effect on hover (Feature).
  • Adjusted the text to indicate availability for Android devices alongside existing Apple devices (Feature).
  • Changed the link for the Android testing app to point to the testing version on Google Play (Feature).
  • Updated to use double quotes for string literals throughout the code.
  • Enhanced the event tracking by modifying the action names for click events related to sponsors and AI interactions.
  • Added event tracking for AI suggestion clicks and AI message submissions to improve engagement insights.
  • Introduced a new click handler for the AI button to better track user interactions.
  • Encapsulated content rendering within a dynamic ContentWrapper component for improved modularity and loading behavior.
  • General code cleanup for consistency and readability.
These changes include both feature enhancements and bug fixes related to event tracking and component structure.
  • Added
    : A new
    ContentWrapper
    component that tracks clicks on links within a specific content div, logging engagement events with the link's URL and text.
  • Added
    : Two new functions,
    trackPageview
    and
    trackEvent
    , for tracking page views and custom events using Google Analytics.
  • Modified
    : Updated metadata to include a new
    referrer
    property set to "unsafe-url".
  • Modified
    : Enhanced event data collection by including the
    referrer
    header in analytics data.
  • Modified the layout of the recipe details section by removing extra margin from the RecipeSimpleStats component. This update improves UI consistency and presentation.
  • Feature:
    Improved error handling in the suggestion fetching logic. Now, if an error occurs, an empty suggestions array is set.
  • Feature:
    The
    useEffect
    dependencies in the AskAIButton component were updated to include the
    slug
    , ensuring suggestions are fetched correctly when the slug changes.
  • Feature:
    Updated modal height for the AskAIButton component for better visual layout.
  • Bug Fix:
    The display logic for suggestions was refined, properly showing a loading message when there are no suggestions available instead of rendering an empty area.
  • Code Cleanup:
    Removed unnecessary logging statement from the AppBannerClient component.
Load More