Repository navigation
Releases: ichris007/nav-dock
Releases · ichris007/nav-dock
Release list
0.11.1
Nav Dock 0.11.1
Community review fixes. No functional changes.
Introduction
This release addresses the issues reported by the Obsidian community plugin review.
Fixed
- Manifest description no longer contains the word "Obsidian" (the review requires descriptions to omit it, since the context already implies it)
- Static style assignments removed — the panel no longer assigns literal style values directly; clearing the inline height and the drag-time height cap now go through
removeProperty(obsidianmd/no-static-styles-assignment) - Deprecated
setDynamicTooltip()removed from the width and max-height sliders (the value is shown inline by Obsidian now) window.requestAnimationFrame()is used instead of the bare call, for pop-out window compatibility
Cleaned up
- Unused imports, unused type alias, and unused catch bindings
- Unnecessary type assertion in the pointer-tracking handler
- The fire-and-forget
openPanel()call in the ribbon handler is now explicitly markedvoid
Notes
- Drag-resizing still works exactly as before: the height cap is lifted while dragging and re-applied on mouse-up.
- Install: download
main.js,manifest.json, andstyles.cssbelow and place them in.obsidian/plugins/nav-dock/, then enable Nav Dock in Settings → Community plugins.
简介
本次更新处理 Obsidian 社区插件审核提出的问题,无功能变化。
修复
- manifest 描述不再包含 "Obsidian" 一词(审核要求描述中省略,上下文已能体现)
- 移除静态样式赋值——浮层不再直接写入字面量样式;清除内联高度、拖拽期间解除高度上限改用
removeProperty(obsidianmd/no-static-styles-assignment) - 移除已废弃的
setDynamicTooltip()(宽度与高度上限两个滑块;数值现由 Obsidian 内联显示) - 淡入动画改用
window.requestAnimationFrame(),兼容弹出窗口
清理
- 未使用的导入、类型别名与 catch 绑定
- 指针追踪处多余的 TypeScript 断言
- ribbon 回调中未处理的
openPanel()Promise 显式标注void
说明
- 拖拽调整尺寸行为不变:拖拽时解除高度上限,松手后按新尺寸重新应用。
- 安装:下载下方
main.js、manifest.json和styles.css,放入.obsidian/plugins/nav-dock/,然后在 设置 → 第三方插件 中启用 Nav Dock。
0.11.0
Nav Dock 0.11.0 — First Public Release
Open any Markdown note as a pop-up panel beside the Obsidian ribbon — navigation pages, dashboards, and quick references always at hand, without spending a tab.
Introduction
Nav Dock pops a panel next to your ribbon icon and renders the Markdown note you choose, using Obsidian's own preview styling — fonts, headings, callouts, tables, embeds, and Dataview output all match your main note view.
Highlights
- Always at hand — navigation pages, quick references, and frequently used links sit beside the ribbon; no tab switching
- Hover or click to open — hover for quick access, click to avoid accidental triggers; switchable anytime. Also openable via commands, hotkeys, and
obsidian://URIs - Smart link handling — an already-open note is activated instead of duplicated;
Ctrl/Cmd-click always forces a new tab - Wikilink hover previews — preview linked notes without holding
Cmd - Edit in place — click the body to edit, changes save automatically,
Escto exit - In-panel heading navigation —
#headinglinks scroll within the panel without navigating away or closing it - Resizable — drag the bottom-right corner; the size is saved and restored next time
- Type-to-filter note picker — filter notes by filename and folder; plus a searchable 1,500+ icon picker
- Bilingual UI — English / 中文, or follow your system language
Install
- Download
main.js,manifest.json, andstyles.cssfrom the assets below - Place them in your vault's
.obsidian/plugins/nav-dock/directory - Restart Obsidian, then enable Nav Dock under Settings → Community plugins
Requires Obsidian 1.5.0+. Desktop only.
Known limitations
- In split-pane layouts, a new tab may open in a non-active pane — Obsidian exposes no public API to reliably detect the active pane
简介
首次公开发布。Nav Dock 在 ribbon 图标旁弹出浮层,渲染你指定的 Markdown 笔记,沿用 Obsidian 自己的预览样式——字体、标题、Callout、表格、嵌入与 Dataview 渲染结果均与正文一致。
功能亮点
- 随用随开——导航页、速查表、常用入口就在 ribbon 旁,不必切换标签页
- 悬停或点击打开——悬停适合快速查看,点击避免误触,随时可切换;另支持命令、快捷键与
obsidian://URI 打开 - 智能链接处理——已打开的笔记直接激活,不产生重复标签页;
Ctrl/Cmd点击始终强制新开 - 双链悬停预览——无需按住
Cmd即可预览链接笔记 - 就地编辑——点击正文即进入编辑,修改自动保存,
Esc退出 - 文档内锚点导航——
#标题链接只在浮层内滚动,不跳转、不关窗 - 尺寸可调——拖动右下角调整宽高,尺寸自动保存,下次打开沿用
- 导航文档输入即筛选——按文件名和目录筛选笔记;内置可搜索的 1500+ 图标选择器
- 中英双语界面——英文 / 中文,或跟随系统语言
安装
- 从下方资源下载
main.js、manifest.json和styles.css - 将三个文件放入库的
.obsidian/plugins/nav-dock/目录 - 重启 Obsidian,在 设置 → 第三方插件 中启用 Nav Dock
要求 Obsidian 1.5.0+,仅支持桌面端。
已知限制
- 分屏布局下,新标签页可能打开在非激活窗格——Obsidian 没有可可靠获取当前激活窗格的公开 API