Python
Sandbox page: say that changes apply to sessions started from now on
Rohit C Prasad271f762d38f1
diff --git a/surfaces/gui/src/components/SandboxSection.tsx b/surfaces/gui/src/components/SandboxSection.tsxindex 751e670d..28dec968 100644--- a/surfaces/gui/src/components/SandboxSection.tsx+++ b/surfaces/gui/src/components/SandboxSection.tsx@@ -404,6 +404,9 @@ export function SandboxSection({ machine, onProviderChanged }: { machine?: Machi<span className="flex-1 min-w-0"><span className="block text-ui font-medium text-ink">{t("settingsx.sandbox.switch_title")}</span><span className="block text-meta text-muted max-w-[640px]">{t("settingsx.sandbox.switch_desc")}</span>+ {/* OPE-209: the switch, the type and the network list apply when a session starts;+ an open session keeps the walls it started with. Said here, once. */}+ <span className="block text-meta text-faint max-w-[640px] mt-0.5" data-testid="sandbox-applies-note">{t("settingsx.sandbox.applies_note")}</span></span></div></div>diff --git a/surfaces/gui/src/locales/en.json b/surfaces/gui/src/locales/en.jsonindex 029a57ac..a5dbcbd6 100644--- a/surfaces/gui/src/locales/en.json+++ b/surfaces/gui/src/locales/en.json@@ -2458,7 +2458,8 @@"sites_title": "Allowed sites","sites_total": "{{count}} allowed","os_docker_update": "Update Docker Desktop, then check again.",- "os_docker_update_why": "This version's Linux kernel has no Landlock, which OpenShell needs."+ "os_docker_update_why": "This version's Linux kernel has no Landlock, which OpenShell needs.",+ "applies_note": "Applies to sessions you start from now on. Open sessions keep running as they are."}},"misc": {diff --git a/surfaces/gui/src/locales/zh.json b/surfaces/gui/src/locales/zh.jsonindex d675053c..66784828 100644--- a/surfaces/gui/src/locales/zh.json+++ b/surfaces/gui/src/locales/zh.json@@ -2418,7 +2418,8 @@"sites_title": "允许的网站","sites_total": "已允许 {{count}} 个","os_docker_update": "请更新 Docker Desktop,然后重新检查。",- "os_docker_update_why": "此版本的 Linux 内核没有 Landlock,而 OpenShell 需要它。"+ "os_docker_update_why": "此版本的 Linux 内核没有 Landlock,而 OpenShell 需要它。",+ "applies_note": "对此后新开始的会话生效。已打开的会话保持原样继续运行。"}},"misc": {