From 1808c915e1a351f5bfac5ed9649ad30cdbd045f9 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Mon, 11 Aug 2025 13:10:28 -0400 Subject: [PATCH] Automatically return to activity chooser when activity completes - Added activity_status emit with active: false when activity ends - Now matches behavior of activity cancellation - Users will automatically see activity chooser when activity finishes --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 5cd7044..cdc223e 100644 --- a/app.py +++ b/app.py @@ -1646,6 +1646,8 @@ def loop_through_steps_until_question( }, room=room_name, ) + # Return to activity chooser + socketio.emit("activity_status", {"active": False}, room=room_name) break