grub-basket_SP/release-notes/0.71.13.md

3.5 KiB

0.71.13 — Shared panel + JD Index Builder

Shared panel (0.70)

  • New Shared panel in the panels view, alongside Pinned Notes.
  • Surfaces notes where (a) the note has at least one contributor, or (b) the user authored the folder's home note but someone else wrote the note in question.
  • Filter chips: All / Mine / Others / per-author dropdown (shown when 2+ authors are present), plus a "Has contributors" toggle.
  • Rows show title + folder badge + an author/contributor byline. Sorted newest-first by modified time.

JD Index Builder (0.71)

A new settings section that walks notes whose basenames start with a dotted prefix (pure Johnny.Decimal 11.01 X or any alphanumeric scheme like animal.duck.yellow X) and generates a nested index.

  • Scope: whole vault or a single folder.
  • Output: by default writes Index.md in the chosen index folder.
  • Non-matching notes are listed at the bottom of the generated index so nothing is silently dropped.
  • Numeric-aware sort: 10 comes after 9.
  • Settings UI: Scope / Scope folder / Index folder / Index filename inputs, plus Build / Reveal in Finder / Open index buttons.
  • Command palette: Build / Rebuild JD index.

Preview mode

  • The Preview command overwrites the designated Stashpad folder's HOME note body with the rendered index — frontmatter is preserved, everything below the closing --- is replaced.
  • Body is just the link list: no heading, no "(preview)" wording, no extras.
  • When zero notes match, the preview body is a single-line hint explaining the most common cause (Stashpad-folder exclusion swallowing the source) so you know where to toggle in settings.
  • "No home" error path when the designated folder isn't actually a Stashpad yet — open it in Stashpad first to bootstrap the home note.

Confirmation modal

  • Build now routes through a real Modal (not native confirm) so the dialog can offer a "Run preview first" button that fires the lightweight single-file preview inline.
  • Three states: first-ever build leads with "Try Preview" + heavy-build wording; builds creating >50 notes get the sterner large-build wording; experienced subsequent builds get a terse confirm.
  • Folder name (inside the quotes) and the literal jdPrefix token render in monospace.

Notifications

  • Preview-success Notice persists until user action — inline Open button jumps to the freshly-updated home note; Dismiss closes it. Wired into all three call sites (settings button, command palette, build-confirm modal).

Heading + bullet rendering

  • Section titles are H1: # Indexed, # Non-indexed, # Excluded folders.
  • Bullet items carry a #-count prefix matching their nesting depth — depth 0 = - #, depth 1 = - ##, capped at six (######). Synthetic parents and excluded-folder rows follow the same shape.

Fixes

  • Rebuild no longer wipes frontmatter. Previously vault.modify(existing, body) replaced the entire file with just the body, then a partial processFrontMatter call added back only jdPrefix + parent — wiping id, created, and attachments. Re-running Build will repair any notes already corrupted by the pre-0.71.9 bug.

Folder-path autocomplete (0.71.1)

  • New FolderSuggest helper (extends Obsidian's AbstractInputSuggest) dropdown-completes vault folder paths in settings text inputs, matching the affordance Obsidian uses in Files & Links.
  • Wired into the Stashpad notes folder, JD scope folder, and JD index folder inputs.