Skip to content

Releases

File System View 1.1.2

Choose a tag to compare

@isaquepereira isaquepereira released this 05 Sep 22:32

Fixes

The community review environment doesn't install @types/node, so every fs/path/os-derived value in main.ts resolved as any there even though it type-checks cleanly in local dev. Reproduced this by type-checking the file with no @types/node present at all, then added node-shims.d.ts — minimal ambient declarations for just the fs/path/os functions this plugin calls. They merge harmlessly with the real @types/node when it IS present, so nothing changes locally.

Also fixed the README's H1 ("fsview" → "File System View") to match the manifest's display name, which the review checks for.

Known, kept warning

.fsquery-item's !important in styles.css stays — it's overriding real theme CSS (not just Obsidian core) that sets display: flex on every rendered <li>, discovered and fixed earlier today. Relying on selector specificity alone risks reintroducing that layout bug on themes we haven't tested against.

No functional changes — this is a review-compliance release on top of 1.1.1.

File System View 1.1.1

Choose a tag to compare

@isaquepereira isaquepereira released this 05 Sep 22:13

Fixes

Fixed every error flagged by the community plugin review (verified locally with eslint-plugin-obsidianmd, the tool the review uses):

  • Properly typed the Electron shell module instead of casting to any — this alone resolved most of the "unsafe call/member access" warnings.
  • Marked shell.openPath() calls with void (it returns a Promise we intentionally don't await).
  • Typed loadData()'s result instead of letting Obsidian's Promise<any> flow untyped into settings merging.
  • Replaced raw document.createElement("span") with Obsidian's createSpan() helper.
  • Dropped the builtin-modules dependency in favor of Node's native node:module builtinModules.
  • Reduced !important usage in styles.css by scoping selectors more specifically (kept it only where Obsidian's own list styling genuinely needs overriding).

Other

  • Renamed the plugin's display name from "FSView" to "File System View" for the community browser and settings search.

No functional changes to how the plugin behaves — this is a quality/compliance release on top of 1.1.0.

FSView 1.1.0

Choose a tag to compare

@isaquepereira isaquepereira released this 05 Sep 21:27

Highlights

  • Real collapsible tree: the codeblock now scans one folder level at a time and expands lazily on click (▶/▼), instead of eagerly recursing and printing a flat list. Expanded levels are cached in the DOM.
  • Fixed: the code block processor was registered under the tag fsquery while every doc/example used ```fsview — the code block silently never rendered until now.
  • Inline mentions: a bare ~/path or /path in your notes becomes a clickable chip that opens/reveals it in Finder, as long as the path exists. Works in both Reading View and Live Preview.
  • path can now point directly at a single file, not just a directory.
  • New options: sort: created (with mtime fallback), collapsed, and group (keeps folders above files for every sort field, not just name).
  • New settings: "Start collapsed" and "Group folders before files".
  • Styling moved from a JS-injected <style> tag to styles.css, which Obsidian loads/unloads automatically.

Upgrading from 1.0.0

No breaking changes to existing fsview blocks — all previous options keep working the same way.

FSView 1.0.0

Choose a tag to compare

@isaquepereira isaquepereira released this 19 Mar 21:30

Initial release of FSView — an interactive, collapsible file system tree inside any Obsidian note.