Feature-gate Dynamic Questions and CCS Cases to UAT only

Both are still in progress and shouldn't be reachable in production
(or local dev) yet - hide every entry point (nav sidebar, the
dashboard's "dynamic concepts due" review card, and the CCS Cases
mode card on the study selector) unless step3/deployment_environment
is "uat", the same setting that already drives the UAT badge. Added
Brand.is_uat_environment() as the shared check.
This commit is contained in:
hz
2026-07-24 23:12:47 -05:00
parent 118c215608
commit 6df0a88fd4
4 changed files with 27 additions and 20 deletions
+4
View File
@@ -26,6 +26,10 @@ static func ranaze_mark_texture() -> Texture2D:
return preload("res://assets/branding/ranaze-mark.png")
static func is_uat_environment() -> bool:
return str(ProjectSettings.get_setting("step3/deployment_environment", "development")) == "uat"
static func text_color(dark: bool) -> Color:
return DARK_TEXT if dark else LIGHT_TEXT