Skip to content

v0.2.1

Latest

Choose a tag to compare

@mojiexuan mojiexuan released this 17 Aug 16:17

v0.2.1

Adds a self-update check, expands the commit-history graph by default, and fixes several lane-connection and text-alignment issues.

新增自更新检测功能,提交历史图默认展开,并修复多处泳道连线与文字对齐问题。

New / Improved 新增 / 改进

  • Self-update — on first open the panel silently checks the npm registry for a newer version; when one exists, an update badge appears on the sidebar entry and a one-click "update now" link shows in the panel header, followed by a restart prompt. The check is non-fatal (a network/proxy failure stays silent), results are cached for 10 minutes, and the registry base can be overridden via registryUrl.
    自更新检测:面板首次打开时静默检查 npm registry 是否有新版本;有新版时,侧边栏入口显示更新徽章,面板头部出现一键「立即更新」链接,更新后提示重启。检查失败(网络/代理问题)保持静默,结果缓存 10 分钟,可通过 registryUrl 覆盖 registry 地址。

  • History expanded by default — the commit graph opens automatically instead of starting collapsed.
    历史图默认展开:提交图默认自动展开,不再默认收起。

Fixes 修复

  • Fixed extra dangling vertical lines in the lane graph with many branches (octopus merges).
    修复多分支(octopus merge)时泳道图出现多余悬空竖线的问题。
  • Fixed broken/dangling slanted lines in criss-cross merges.
    修复交叉合并(criss-cross)时斜线断线、悬空的问题。
  • Fixed commit messages being pushed apart and misaligned when many branches are open — text now hugs the rightmost lane crossing each row.
    修复分支多时提交消息间距被拉大、不统一的问题——文字现在紧跟经过该行的最右泳道。

Upgrade 升级

dsh plugin --profile web update @mojiexuan/dsh-git

Fully restart dsh web (host bundle) and refresh the browser (client bundle).

完全重启 dsh web(host bundle),并刷新浏览器(client bundle)。