Skip to content

0.1.2

Choose a tag to compare

@github-actions github-actions released this 26 Jul 06:15

Fixes drag-and-drop, which never worked reliably.

Starting a drag rebuilt the tab rail one tick later so the buckets that hide when empty would appear — but replacing those elements mid-drag destroys the drop targets under your cursor and cancels the drag. Those buckets are now always rendered and simply hidden, revealed by CSS while a drag is in flight, so nothing in the DOM changes during a drag.

A background re-render (a note changing elsewhere, say) could also destroy the card you were dragging. Renders arriving mid-drag are now deferred until the drag ends.

Also in this release:

  • truncate no longer needs an ES2019 method, and the TypeScript lib is raised to ES2022 — the old setting left modern methods resolving as any
  • The test runner's dynamic imports are typed
  • scripts/deploy.mjs honours OBSIDIAN_CONFIG_DIR, for vaults that don't use .obsidian
  • ESLint now covers the whole repository rather than src/ alone
  • README documents installing from the community directory

See the changelog.