feat: restore wechat-style root shell

This commit is contained in:
kris
2026-03-27 01:58:34 +08:00
parent 17300c49ea
commit ce8dcad41c
11 changed files with 278 additions and 157 deletions

View File

@@ -48,6 +48,22 @@ public class WechatSurfaceMapperTest {
);
}
@Test
public void rootTabOrder_isWechatStyle() throws Exception {
assertArrayEquals(
new String[]{"会话", "设备", "我的"},
WechatSurfaceMapper.rootTabLabels()
);
}
@Test
public void mainPage_doesNotExposeOpsEntry() throws Exception {
assertArrayEquals(
new String[]{"账号与安全", "AI 账号", "设置", "技能", "关于"},
WechatSurfaceMapper.rootMeMenuTitles()
);
}
@Test
public void projectQuickActions_keepOnlyGoalsAndVersions() throws Exception {
assertArrayEquals(