Add per-photo-widget lock (freezes current photo until unlocked)
A "Lock this photo" button in the photos widget's dialog toggles PhotoWidgetConfig.locked, which suppresses both the timer-elapsed auto-advance and the advance/back button actions until unlocked. The Layout tab canvas shows a lock badge on any locked photo widget's box.
This commit is contained in:
@@ -87,6 +87,8 @@ def test_expected_columns_exist_on_current_schema():
|
||||
assert "mode" in battery_widget_columns
|
||||
widget_columns = {c["name"] for c in inspector.get_columns("widgets")}
|
||||
assert {"border_style", "border_thickness", "border_color_index"} <= widget_columns # migration 26
|
||||
photo_widget_columns = {c["name"] for c in inspector.get_columns("photo_widget_configs")}
|
||||
assert "locked" in photo_widget_columns # migration 27
|
||||
|
||||
|
||||
# --- widget system backfill (migration 16 + _ensure_widgets_backfilled) ---
|
||||
|
||||
Reference in New Issue
Block a user