Skip to content

Allow to extend auto-completion list for meal entries using custom items #4

@Programie

Description

@Programie

Right now, the auto-completion list for meal entries only shows existing meals and items from a data source provider like Tandoor Recipes.

In some cases, it might be helpful to have additional options to choose from, like leftovers from previous/existing meals.

For example, the following meals are available in the auto-completion list:

  • Bread with honey
  • Butter Chicken
  • Thai Curry

By configuration, it should be possible to extend the list to something like:

  • Bread with honey
  • Leftovers of Bread with honey
  • Butter Chicken
  • Leftovers of Butter Chicken
  • Thai Curry
  • Leftovers of Thai Curry

This could be done by providing a list of patterns which could be used to duplicate the existing items in the auto-completion list.

A pattern could look like Leftovers of {item}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions