Restrict progression features to UAT

This commit is contained in:
hz
2026-08-04 08:08:47 -05:00
parent c140b9a96c
commit 976cb70d4a
13 changed files with 216 additions and 37 deletions
+4
View File
@@ -1,6 +1,7 @@
extends VBoxContainer
const Brand := preload("res://scripts/ui/medmind_style.gd")
const FeatureFlags := preload("res://scripts/config/feature_flags.gd")
var main: Control
var title_label: Label
@@ -84,6 +85,9 @@ func _start_another() -> void:
another_button.disabled = true
status_label.text = "Preparing another review pass..."
status_label.visible = true
if not FeatureFlags.progression_enabled():
ReviewQueueService.start_pass("", 20)
return
if not StudySessionService.session_started.is_connected(_on_review_session_started):
StudySessionService.session_started.connect(_on_review_session_started)
if not StudySessionService.session_failed.is_connected(_on_review_session_failed):