feat(ui): 停靠态改为左缘细条 + hover 滑出面板 (v0.5.3-local.11)
停靠态原先把整个工作台面板常驻挂在 footer 槽位,占用侧栏纵向空间。 改为 12px 左缘细条 + 悬停滑出 250px 面板: - 自动隐藏(默认):悬停细条滑出,移开 180ms 自动收回 - 固定常开:面板常显,可点右侧 « 手柄收成细条,之后仅点击展开 - 任一弹窗打开期间保持展开,避免误收回 - measureFloatGeo 新增细条左缘测量:优先 footerActions/footArea 左缘 −8, 链断裂回退侧栏左缘,避免旧兜底 64 的残带 - footer 槽位只留零尺寸锚点,不再占位 - 浮动态(dock=float)保持原浮动卡片,不渲染细条 新增 04_test/edge-panel.test.mjs 并纳入 pack 兼容回归,覆盖默认自动隐藏、 设置开关持久化、固定常开 + « 收起、浮动态不受影响。 验证:npm run pack 全绿,双资产同源 sha256 faed3889…。
This commit is contained in:
@@ -83,7 +83,7 @@ if (!patchOk) process.exit(1)
|
||||
console.log('[release-prep] identity check passed (' + IDENTITY + ', cordis.patch.yml strict)')
|
||||
|
||||
// ---------- 2. 会话/输入兼容回归 + 构建 + 语法检查 ----------
|
||||
const compatTests = ['host-input.test.mjs', 'session-compat.test.mjs', 'session-details.test.mjs', 'host-transport.test.mjs', 'widget-mount.test.mjs', 'request-auth.test.mjs', 'preview-files.test.mjs', 'sandboxed-frame.test.mjs', 'update-check.test.mjs']
|
||||
const compatTests = ['host-input.test.mjs', 'session-compat.test.mjs', 'session-details.test.mjs', 'host-transport.test.mjs', 'widget-mount.test.mjs', 'request-auth.test.mjs', 'preview-files.test.mjs', 'sandboxed-frame.test.mjs', 'update-check.test.mjs', 'edge-panel.test.mjs']
|
||||
.map((file) => join(HERE, '..', '04_test', file))
|
||||
const compatRun = spawnSync(process.execPath, ['--test', ...compatTests], { cwd: HERE, stdio: 'inherit' })
|
||||
if (compatRun.status !== 0) { console.error('[release-prep] FAIL: session/input compatibility tests'); process.exit(1) }
|
||||
|
||||
Reference in New Issue
Block a user