Repository navigation
DBX plugin Dev Tool v0.6.5
🇨🇳 v0.6.5 更新说明
这次重点是工作台导航体验和一处权限变化。
✨ 首页导航记忆(会话级)
- 展开状态保留:「按分类浏览」和「全部工具」展开后,进工具再回来不再收起
- 滚动位置还原:回首页精确回到离开时的位置——支持文档滚动和宿主滚动两种环境,找不到滚动条时会锚定到你刚点开的那张工具卡上
- 无闪屏:恢复期间页面先隐藏,落位稳定后才显示,不再有"顶部闪一下"的跳动
🏷️ 标签页标题跟随工具(需 DBX ≥ 0.6.48)
- 打开工具时 workbench 标签页显示工具名(跟随界面语言),回首页恢复默认
- 旧版本宿主自动跳过该能力,不影响功能
- 为此新增了
host.workbench权限
🛠️ 细节修复
- 复制按钮不再晃动:「复制 → 已复制」文案切换按最长项预留宽度,相邻内容零位移
- 大小写与 Slug 转换:输入框升级为多行 textarea,长文本更好编辑
📖 文档
- README 补充打包说明:
npm run build && npx dbx-plugin package一行搞定本地实测包
🇬🇧 v0.6.5 Release Notes
An iteration focused on workbench navigation polish — plus one permission change.
✨ Home navigation memory (session-scoped)
- Expand state persists: the category chips and full tool grid stay expanded when you return from a tool
- Scroll position restored: coming back lands exactly where you left — works in both document-scroll and host-scroll environments, with a card anchor fallback that zeroes in on the tool you opened
- No flash: the page stays hidden until the position settles, so there's no top-of-page jump
🏷️ Tab title follows the tool (requires DBX ≥ 0.6.48)
- Opening a tool names the workbench tab after it (localized); returning home restores the default
- Gracefully skipped on older hosts
- Adds the
host.workbenchpermission
🛠️ Fixes
- Copy button no longer jolts: the label width reserves the longest state, so neighbors never shift
- Case & Slug: input upgraded to a multiline textarea
📖 Docs
- README now documents the one-liner
npm run build && npx dbx-plugin packagefor local test installs