Add per-photo-widget lock (freezes current photo until unlocked)
Build and push server image / test (push) Successful in 33s
Build and push server image / build-and-push (push) Successful in 2m32s
Build and push server image / deploy (push) Successful in 57s

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:
2026-07-27 21:07:54 +00:00
parent 4e8c6e534b
commit 9911151d8d
14 changed files with 274 additions and 8 deletions
+2
View File
@@ -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) ---