Skip to content

Recipe Page: View brew log charts for completed brews #242

@ljreaux

Description

@ljreaux

Summary

Allow recipe pages to display charts from brews that were created from that recipe.

Users should be able to select a brew and view its fermentation charts directly from the recipe page.

Goals

  • Connect recipe development with real fermentation data
  • Allow users to compare results across brews
  • Make recipe pages more useful for analysis

Feature overview

On a recipe page:

Users should be able to:

  1. Select a brew created from the recipe
  2. View charts from that brew
  3. Optionally compare different brews

Tasks

  • Identify brews linked to the recipe
  • Add brew selector UI to recipe page
  • Load brew logs for selected brew
  • Display brew charts (gravity, temp, pH)
  • Reuse chart components from brew page
  • Handle recipes with multiple brews
  • Handle recipes with no brews

UI considerations

  • Brew selector could be:
    • dropdown
    • tab selector
    • simple list

Possible enhancements (future)

  • Compare multiple brews on the same chart
  • Display average fermentation curve
  • Display fermentation duration statistics

Decisions to make

  • Should completed brews be prioritized in the selector?
  • Should archived brews appear here?

Done when

  • Users can select a brew from a recipe page
  • The brew's fermentation charts are displayed
  • Chart rendering is shared with brew page components

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions