fix(ui): 边缘细条在 DS Bot 全屏页不可见 (v0.5.3-local.12)
现象:DS Bot 全屏页里工作台入口(左缘细条)看不到,切回经典布局才可见。 1. 层级:细条 z-index 65 被宿主全屏页容器盖住 → 提到 2147483000, 面板 2147483001;细条默认底色与右边框对比度提高。 2. fixed 包含块:祖先带 transform / perspective / filter / contain 时, position: fixed 的参照系从视口变成该祖先,细条整体偏移甚至移出可视区。 新增 fixedOrigin() 测出包含块原点,edgeLeft 换算为相对坐标, 并夹到 [0, 视口宽-12];无常规侧栏时贴包含块左缘。 3. 自诊断:挂载 800ms 后细条宽高为 0 时 console.warn 输出左侧位置与 最多 8 层祖先的 display / transform,便于定位宿主槽位被隐藏的情况。 验证:npm run pack 全绿(含 edge-panel 4 组回归),双资产同源 6a18b101…。
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
> ## 📦 本仓库是内部补丁分发仓,不是上游源码仓
|
||||
>
|
||||
> 上游:<https://github.com/Aisland-SJL/dsh-worktable> | 本仓 = 上游 **v0.5.1** + 桌面端状态持久化补丁 + 本项目自用的若干增强(`0.5.3-local.11`)。
|
||||
> 上游:<https://github.com/Aisland-SJL/dsh-worktable> | 本仓 = 上游 **v0.5.1** + 桌面端状态持久化补丁 + 本项目自用的若干增强(`0.5.3-local.12`)。
|
||||
> 下面从「Screenshots」开始的全部内容是上游 README 原文;本地改动逐条记录见 [LOCAL-CHANGES.md](02_process/LOCAL-CHANGES.md)。
|
||||
|
||||
### 要不要装
|
||||
@@ -16,16 +16,16 @@
|
||||
|
||||
### 安装
|
||||
|
||||
当前版本 **v0.5.3-local.11**:
|
||||
当前版本 **v0.5.3-local.12**:
|
||||
|
||||
```bash
|
||||
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.11/dsh-worktable.tgz"
|
||||
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.12/dsh-worktable.tgz"
|
||||
```
|
||||
|
||||
- **桌面端:先完全退出 Slark,再执行命令**,装完手动重开;不要在宿主运行时安装。
|
||||
- `--profile web` 按你自己的 profile 名字改。
|
||||
- 资产 `dsh-worktable.tgz`,487469 字节,sha256:
|
||||
`faed38898653babef117897eb0249f655f00aea433a82f5fe4fb2efb036bffe1`
|
||||
- 资产 `dsh-worktable.tgz`,488199 字节,sha256:
|
||||
`6a18b10171c1ebbbe3bf081ab50f8715c5a4d681286dbc323c1f4158719299bb`
|
||||
(下载后可 `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.11` 后,插件不会提示升级到 0.5.1。
|
||||
- 装上 `0.5.3-local.12` 后,插件不会提示升级到 0.5.1。
|
||||
- 上游发布 0.5.2 及以上时插件会提示升级;**一旦升级就回到没有补丁的状态**,重启又会丢数据。新版本需要把补丁重新合并(改动清单见 [LOCAL-CHANGES.md](02_process/LOCAL-CHANGES.md))。
|
||||
- 回退官方版:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user