Skip to content

Implement "Click-to-Load" logic for historical lists. #15

@JonathanPschl

Description

@JonathanPschl

Description

When a user clicks a list in the history sidebar, the app should fetch the full details for that recipe and update the main "Shopping List" view.
The selected historical data should replace the current shopping list and reflect immediately in the UI.

Acceptance Criteria

  • Clicking a history item triggers a call to GET /api/history/{id}.
  • The global state (or local component state) for the current shopping list is overwritten with the fetched data.
  • The UI updates immediately to show the ingredients of the selected historical list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions