Repository navigation
Releases
0.1.10
0.1.9 — 稳定标题选择与中文设置恢复
修复大纲标题选择、导航与设置界面中的问题,并优化长文档性能。
修复
- 修复连续逐个选择标题时,整列位置逐次漂移的问题。
- 修复轻微上下移动鼠标时,吸附与鼠标随动争夺控制造成的抽动;跨过相邻标题间隙时保持稳定,再直接交接目标。
- 恢复“常规/外观/动效/高级”四个设置标签页,并在中文 Obsidian 中显示中文设置名称、说明、选项和按钮。
- 修复旧跳转在用户接管或切换文档后继续纠偏、标题高亮坐标不一致、阅读模式重复标题误配等导航问题。
- 修复跨文档富文本标签缓存、辅助鼠标按钮误激活、边缘滚动停留计时及临时焦点清理问题。
优化
- 缓存行高上限,使用二分查找定位活动标题,减少长文档中的全量扫描。
- 按设置影响范围更新界面,避免不必要的重建与测量。
- 设置搜索可通过各设置名称定位到保留标签页布局的设置页;自定义标题层级选择显示更准确。
验证
- 构建、规范检查、社区规则本地检查及 782 项测试通过。
- Test Vaults 中连续向下选择 12 行再返回,共 24 次切换,整列基准无累积漂移。
附带 main.js、manifest.json、styles.css。更新时保留现有 data.json 即可保留个人设置。
0.1.8 — Stable pointer interaction and compact controls
Improvements
- Restrict edge auto-scroll to the measured marker rail; long heading cards no longer expand its trigger area.
- Give edge scrolling, pointer follow and hover snap explicit ownership instead of competing or combining opposing velocities.
- Keep snap stable while moving within the acquired card and allow valid neighbouring cards to acquire without waiting for visual release easing.
- Limit long-title hover retention to local rows and preserve marker-to-card gap continuity.
- Align the final heading to the real list bottom, matching the first-heading boundary behaviour.
- Compact H2–H6 depth control expands on hover, with cumulative selection and a quiet text-only resting state.
- Use a circular settings gear aligned with the depth control.
- Add bounded, opt-in interaction decision traces to Developer Mode performance diagnostics.
Validation
- Build passed; lint has no errors (48 existing warnings).
- All 724 tests passed, including 126-heading interaction regressions.
- Reloaded in the integration vault without captured runtime errors; existing settings preserved.
Physical-pointer smoothness, rapid reversals and long-to-short transitions still benefit from real-world feedback. This release retains pointer follow, edge scrolling and snap; it does not reset user settings or change speed/damping defaults.
0.1.7
Highlights
- Keeps the active heading centred in the collapsed outline with one smooth, bounded follow session.
- Lets explicit editor scroll gestures take over cleanly without programmatic scrolls stealing the active state.
- Preserves the Obsidian accent colour for active markers across hover, expanded, and keyboard states.
- Adds opt-in developer diagnostics and one-shot cold-start tracing.
- Adds a 7 MB MP4 demonstration and refreshes the market-facing documentation.
Installation
Download main.js, manifest.json, and styles.css, or install Glide Outline from Obsidian Community plugins after catalog approval.
0.1.6
0.1.6 — Windows frame-budget reduction
Pure hot-path cost reduction. No change to interaction, animation, collision correctness, or macOS smoothness.
- §三 On-demand
PerfCapture(cheap LIGHT mode + DEEP sub-phase rotation, §3.2) - §五.1 Scroll path reads only
scrollTop; box geometry cached - §五.2 Edge-fade classes written only on change
- §六
pointerenterreuses cached envelope;pointerleavederives from motion math - §七 GPU-layer hints bounded to the scale disc + 2-row guard
- §九
schedule()attributed by reason; idle-RAF loop measured (idleRafCount=0)
Correctness invariants preserved (visibleOverlapViolationCount, maxVisibleOverlapPx, anchorFallbackScanCount all 0). Full suite: 525 tests pass.
Windows not verified in CI — frame-rate impact must be confirmed on a real Windows machine via BRAT after this release.
0.1.5
Consistently smooth editor jumps, and the 0.1.4 scroll-pipeline stats actually wired.
- fix: editor jumps are now smooth every time. The correction loop is a small state machine (smooth-estimate → smooth-client-correction → boundary-accepted / instant-fallback); an instant scroll only happens when explicitly gated, never as a silent fallback mid-round. Previously a jump was sometimes smooth and sometimes teleported depending on which correction round it landed in.
- fix: scroll pipeline sub-phase stats were all zero in 0.1.4. The eleven sub-phases are now measured inside the controller's own frame callback with paired timing reads; with capture off the path performs zero timing calls.
- feat: scroll source attribution. Every scroll event is classified (manual-wheel / edge / kinetic / combined / jump / mount / file-change / mode-change / external), and the perf report gains a
scrollDeltaBySourcehistogram. - feat: large scroll delta diagnostics. A scroll whose delta exceeds the viewport height records a bounded (max 10) snapshot — scrollTops, delta, heights, attributed source, pending context flags, instance id. Anomalous scrolls are never clamped or swallowed.
- feat: mount host mutation diagnostics (read-only, mount behaviour unchanged).
- test: 513 tests (+28), including a static outline-DOM tooltip-attribute scan.
Collision taper, scale/collision ranges, pointer-follow strength and gain, edge auto-scroll, wheel routing, the content-coordinate cache, anchor resolve, CSS transforms, edge fade, markdown labels and tooltip visuals are untouched.
Honest note: this release was developed and tested on macOS; jump behaviour has not been manually re-verified on Windows across full jump distances.
0.1.4
Jump accuracy, a content-space scroll pipeline, and clean DOM boundaries.
Fixed
- The jump landed in the wrong place. The landing corrector compared
lineBlockAt(content origin) againstscrollTop(scroller origin), so the inline title + properties block stayed in as a residual: a Windows capture settled 416.65625 px away from the target while reporting zero error. The landing is now measured in client space viacoordsAtPos, and a heading at the end of the document settles asscroll-boundaryinstead of failing. - Pointer follow starved between cards.
predictedYnow drives the kinetic depth factor while eligibility keeps the actual position, and gap moves are parked and committed by the frame-fresh envelope check — so the velocity ring keeps its samples, and gap re-entry no longer wipes the gesture.
Faster
- Row geometry lives in content space. A scroll updates one number instead of rewriting every cached row, solver entry and envelope rect.
- Anchor lookup is local + binary. Resolution is deferred to one per frame and done by a ±3 probe with a binary-search fallback —
anchorFallbackScanCountis now 0 by construction. - Sparse dirty rows. The write loop visits
collision ∪ dirtyas a set instead of an inclusive span, which always over-covered after a boundary taper.
Cleaner boundaries
Glide Outline renders into a node Obsidian owns and shares with every other plugin. It now behaves like a guest:
- One owned node. Everything hangs off a single wrapper tagged
data-glide-outline-owner. It isdisplay: contents, so it generates no box and layout is unchanged. - Reversible host mutation. The host is no longer branded with a class. Its computed
positionis read, an inlineposition: relativeis written only if it isstatic, and the previous value is restored verbatim on dispose. Stale mounts are swept, the pending measure rAF is cancelled, and thetabindex="-1"written onto preview headings is removed. - Fail-closed targeting. Click resolution, the anchor lookup and the reading-intent gesture test verify ownership instead of trusting a class name.
- Scoped stylesheet. Every rule is prefixed with
:where([data-glide-outline-owner]).:whereadds zero specificity, so existing cascade outcomes are unchanged, but the sheet can no longer paint outside the plugin's own subtree.
Changed
- No tooltips anywhere. Obsidian renders
aria-labelas a hover bubble, which duplicated the already-magnified card text. Accessible names moved to screen-reader-only spans referenced byaria-labelledby, and all 16 slider tooltips were replaced with an always-visible value readout next to the track — the number is there while you drag, without hovering, and it never covers the slider.
Tests
485 (+66), including a 21-test mount-isolation suite and static sweeps that fail the build if a tooltip or an unscoped CSS rule is ever reintroduced.
Not verified on Windows. This release was developed and tested on macOS only. The jump fix targets a capture taken on Windows, but it has not been manually re-measured there. If you are on Windows, installing via BRAT and reporting back is genuinely useful.
Install manually: drop main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/glide-outline/.
0.1.3
Collision continuity hotfix + pointer movement assist strength
Fixes
- P0 collision regression: magnified neighbours no longer overlap at the motion-range boundary; the Newton's-cradle propagation under wheel scroll is eliminated. Three-range frame loop (Scale / Collision / Write) + lockstep taper chain.
- Solver per-pair gaps clamped to base clearance + 1px DPR snap headroom.
- Scroll anchor refresh after scroll.
New
- Pointer movement assist strength (0.5–2.5, default 1) — independent from edge auto-scroll speed.
- Unified scroll-intent coordinator (edge + kinetic, shared integrator).
- Extended performance capture.
Validation
- 423 tests, 0 visible overlap violations
- macOS verified: pointer follow 5× stronger, long tasks 48→4
0.1.2
Performance pipeline, wheel routing and pointer-follow pre-scroll.
perf
- Split Visible/Motion/Settling ranges — each frame iterates only Motion ∪ Settling rows.
- Expanding the outline no longer triggers a full geometry rebuild (envelope refresh only).
measureRowsdedup: one batched read sweep; style writes only for rows whose height changed.- Extended on-demand perf capture: renderer long-task stats, per-phase plugin RAF timings (avg/p95/max), measureRows / wheel / auto-scroll counters.
fix
- Windows text clarity: per-axis
is-shifting/is-scalingGPU layer hints, narrowedwill-change, DPR pixel-alignedtranslateYshifts. - Rows removed from the list drop both layer-hint classes exactly once.
feat
- Wheel routing: the wheel scrolls the outline while over it; dead ends, no-overflow, zoom gestures and horizontal wheels pass through to the editor; a manual wheel pauses automatic scrolling for 160 ms.
- Pointer-follow pre-scroll (no dwell), independent from edge auto-scroll, combined and clamped below max speed; new Pointer-follow pre-scroll setting (default on).
docs / test
- README documents the four independent scrolling mechanisms.
- 45 new tests (404 total, 31 files).
Windows manual validation: not performed (validate via BRAT).
Glide Outline 0.1.1
0.1.1 — Pre-release stability pass
Linear continuation of the interaction + settings polish work. Single squash-merge into main (PR #2); legacy branches fix/cross-platform-motion-and-targeting and perf/motion-frame-budget retired (their content is folded into this tree).
Highlights
- Removed the legacy halo
text-effect. PersistedtextEffect/textShadowfields are silently ignored on load;pointerAutoScrollStrengthmigrates topointerAutoScrollSpeed(same unit + range 0.25–4). - Accessible name via
aria-labelledby. The hover tooltip is replaced by a visually-hidden sr-only span so screen readers announce "H2: Title" without Obsidian's duplicate tooltip. - Markers now use the fixed
text-faintpalette color at opacity 1. - Zone-driven pointer auto-scroll. New
pointerAutoScrollZonesetting (default 120 px, clamp 40–220) drives pre-scroll + strong bands viacomputeAutoScrollZones(clamped to half the viewport height). - 4-field pointer interaction state machine (
overElement/insideEnvelope/autoScrollLatched/lastStopReason) with an auto-scroll latch + 12 px hysteresis and a uniformAutoScrollStopReasonenum. - Performance: window pointer-move de-dup, on-demand envelope rebuild from motion math (no per-frame
getBoundingClientRect), ResizeObserver sub-pixel threshold, active-rangeradiusde-duplication, quantized--glide-scale/--glide-shift-ywrites, and extendedPerfCapturetelemetry (auto-scroll + geometry-rebuild reasons). - Tests: 359 passing across 28 files; obsolete halo tests removed, a11y assertions switched to
aria-labelledby, active-range "provably identity" test fixed for the de-duplicated radius, plus new coverage forcomputeAutoScrollZonesand the stop-reason enum.
Verified
pnpm run build ✅ · pnpm run lint ✅ · pnpm test → 359 passed ✅ · CI green ✅
Assets
main.js— production buildmanifest.json— version 0.1.1, minAppVersion 1.5.0styles.css— styles