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
This commit is contained in:
Russell Ballestrini 2025-08-11 13:10:28 -04:00
parent f3d4dd89bc
commit 1808c915e1

2
app.py
View file

@ -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