mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 13:05:26 -05:00
feat: "I Made This" Dialog (#1801)
* added chef hat * removed unnecessary log * modified recipe and recipe timeline event schema changed timeline event "message" -> "event_message" added "last made" timestamp to recipe * added "I made this" dialog to recipe action menu * added missing field and re-ran code-gen * moved dialog out of context menu and refactored removed references in action menu and context menu refactored dialog to be triggered by a button instead added route to update recipe last made timestamp added visual for last made timestamp to recipe header and title * added sorting by last made * switched event type to comment * replaced alter column with pydantic alias * added tests for event message alias
This commit is contained in:
@@ -99,6 +99,7 @@ class RecipeModel(SqlAlchemyBase, BaseMixins):
|
||||
# Time Stamp Properties
|
||||
date_added = sa.Column(sa.Date, default=datetime.date.today)
|
||||
date_updated = sa.Column(sa.DateTime)
|
||||
last_made = sa.Column(sa.DateTime)
|
||||
|
||||
# Shopping List Refs
|
||||
shopping_list_refs = orm.relationship(
|
||||
|
||||
Reference in New Issue
Block a user