fix(ui): 宽屏面板统一由 shell.overlay 渲染,不再依赖视图探测 (v0.5.3-local.14)

local.13 用 bt-leftcol 等选择器探测 DS Bot 视图,实测未命中,overlay 实例仍不渲染
(DS Bot 页 dsh-wt_edgeStrip 仍为 0)。改为不依赖探测:
- 宽屏面板只由 overlay 实例渲染(sidebar 实例只在窄屏渲染 rail)
- overlay 实例补 pointer-events:auto,避免 overlay 容器拦截点击
- findSidebar 增加全局兜底(overlay 里向上找不到侧栏时取第一个可见左栏),
  保证细条贴在正确左缘

取舍:sidebar.worktable.project 的宿主项目条目在宽屏下不再渲染(跨座位不可见)。

验证:npm run pack 全绿(edge-panel 6 组 + sidebar-popup 全过),双资产同源 c28cba75…。
This commit is contained in:
wangheng
2026-12-03 17:47:43 +08:00
parent f5bbc7cd57
commit 64a1d46b46
10 changed files with 63 additions and 72 deletions
+6 -6
View File
@@ -2,7 +2,7 @@
> ## 📦 本仓库是内部补丁分发仓,不是上游源码仓
>
> 上游:<https://github.com/Aisland-SJL/dsh-worktable> | 本仓 = 上游 **v0.5.1** + 桌面端状态持久化补丁 + 本项目自用的若干增强(`0.5.3-local.13`)。
> 上游:<https://github.com/Aisland-SJL/dsh-worktable> | 本仓 = 上游 **v0.5.1** + 桌面端状态持久化补丁 + 本项目自用的若干增强(`0.5.3-local.14`)。
> 下面从「Screenshots」开始的全部内容是上游 README 原文;本地改动逐条记录见 [LOCAL-CHANGES.md](02_process/LOCAL-CHANGES.md)。
### 要不要装
@@ -16,16 +16,16 @@
### 安装
当前版本 **v0.5.3-local.13**:
当前版本 **v0.5.3-local.14**:
```bash
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.13/dsh-worktable.tgz"
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.14/dsh-worktable.tgz"
```
- **桌面端:先完全退出 Slark,再执行命令**,装完手动重开;不要在宿主运行时安装。
- `--profile web` 按你自己的 profile 名字改。
- 资产 `dsh-worktable.tgz`,488523 字节,sha256:
`8f093ee793ce1ac5cf9372d2249dd5b3377704909600a0ee51fa188244d128fd`
- 资产 `dsh-worktable.tgz`,488494 字节,sha256:
`c28cba759426a38002c172ff06a37c260ce8eb3c0b3987478c96229f3d7c9551`
(下载后可 `Get-FileHash dsh-worktable.tgz -Algorithm SHA256` 核对)
- 声明兼容的 DSH 版本:`0.2.0-rc.2` / `0.2.1-rc.3` / `0.2.1-rc.5` / `0.2.2-alpha.2`。
宿主不在这个列表里时,安装会被兼容性检查直接拒绝并回滚。
@@ -50,7 +50,7 @@ dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/r
### 升级与回退
- 装上 `0.5.3-local.13` 后,插件不会提示升级到 0.5.1。
- 装上 `0.5.3-local.14` 后,插件不会提示升级到 0.5.1。
- 上游发布 0.5.2 及以上时插件会提示升级;**一旦升级就回到没有补丁的状态**,重启又会丢数据。新版本需要把补丁重新合并(改动清单见 [LOCAL-CHANGES.md](02_process/LOCAL-CHANGES.md))。
- 回退官方版:
```bash