From 3bdb69010042a302e2004a55a9996887cdca7d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E6=9C=94?= <565183519@qq.com> Date: Sun, 16 Aug 2026 21:37:50 +0800 Subject: [PATCH] fix(ui): formalize domain information projection --- .../scripts/domain-number-routing.test.mjs | 10 ++++ .../hololake-native-desktop/src/main.tsx | 57 +++++++++++++++---- .../hololake-native-desktop/src/styles.css | 35 +++++++----- 3 files changed, 79 insertions(+), 23 deletions(-) diff --git a/product-source/hololake-native-desktop/scripts/domain-number-routing.test.mjs b/product-source/hololake-native-desktop/scripts/domain-number-routing.test.mjs index 1d9142d11..6f45355a5 100644 --- a/product-source/hololake-native-desktop/scripts/domain-number-routing.test.mjs +++ b/product-source/hololake-native-desktop/scripts/domain-number-routing.test.mjs @@ -28,11 +28,21 @@ test('the public shell shows five domains and login is domain-routed', () => { } assert.match(frontend, /输入编号进入所属域/) assert.match(frontend, /TCS-GL-/) + assert.match(frontend, /肥猫 · TCS-GL-0007∞/) + assert.match(frontend, /桔子 · TCS-GL-0008∞/) + assert.match(frontend, /烬舟 · PER-JZ001 · AGE/) + assert.match(frontend, /熹微 · PER-JZ-ARCH-001 · AGE/) + assert.doesNotMatch(frontend, /肥猫 \+ 烬舟/) + assert.match(frontend, /className="gate-close"/) + assert.match(frontend, /className="domain-info-scrim"/) + assert.match(frontend, /setActiveDomainInfo\(gate\.domain\)/) + assert.match(frontend, /event\.key !== 'Escape'/) assert.match(frontend, /编号 \{zeroPoint\?\.userNumber \|\| gateNumber\} · 欢迎登入光湖语言世界/) assert.match(frontend, /核对人格关系/) assert.match(frontend, /确认关系并签署/) assert.match(frontend, /接受责任并签署/) assert.doesNotMatch(frontend, /