feat(ui): 收起态 rail 限制图标数量,其余进「⋯」菜单 (REQ-20261117-0013)

收起态 rail 原先把控制室、所有项目、所有快捷方式、所有布局四类全平铺,
且 railBox 是 flex-wrap 无上限、无滚动 —— 项目一多就把侧栏堆成一长列图标。

- railItems 只平铺前 RAIL_MAX(8) 个,其余进「⋯」溢出菜单
- 溢出菜单贴右侧浮层,可滚动(max-height 60vh/420px),点条目后自动收起
- 控制室始终在第一位(唯一固定入口),被挤出者按原顺序进菜单
- .dsh-wt_rail 补 position:relative 作为浮层定位基准
- locales 新增 rail.more(zh/en)
- 版本 0.5.3-local.1 -> 0.5.3-local.2

验证:build 通过;client-factory-gate 10/10;7 个兼容回归 105/105;
release-prep 全过(含真实 Chromium split margin 5 场景、sidebar popup、
split anchor dom 14 场景、独立安装 import 断言)
This commit is contained in:
super-agent
2026-11-18 10:19:29 +08:00
parent b4699eca0e
commit e94386a8c7
8 changed files with 105 additions and 9 deletions
+2
View File
@@ -8,6 +8,7 @@
export const zh = {
'title': '工作台',
'rail.title': '工作台(展开侧边栏查看)',
'rail.more': '更多',
'handle.title': '按住拖动位置 · 双击复位',
'handle.aria': '拖动工作台位置',
'menu.search': '搜索项目',
@@ -246,6 +247,7 @@ export type WorktableKey = keyof typeof zh
export const en = {
'title': 'Worktable',
'rail.title': 'Worktable (expand sidebar to view)',
'rail.more': 'More',
'handle.title': 'Drag to move · double-click to reset',
'handle.aria': 'Drag worktable position',
'menu.search': 'Search projects',