Skip to content

v0.3.0

Choose a tag to compare

@ethanffu ethanffu released this 10 Aug 03:39
· 18 commits to main since this release

⚠️ Legacy release (renamed plugin). This release predates the 2026-08-10 rename: it installs as plugin id vault-powershell with the old display name "Vault PowerShell". Newer releases use id open-powershell-here / name Open PowerShell Here — after upgrading, remove the old .obsidian/plugins/vault-powershell/ folder (the plugin keeps no settings, so nothing is lost).


v0.3.0 — Style Settings: hide the ribbon button

New: with the Style Settings plugin installed, Settings → Style Settings → Vault PowerShell → Hide the ribbon button now hides the left ribbon button. Toggleable, verified working in real Obsidian (1.13.6). The single-folder context-menu entry is unaffected.

  • The Style Settings block contains a single flat toggle (no extra group headings).
  • How it works (and what was fixed): for class-toggle settings, Style Settings applies the setting id as the class on <body> (addClass is ignored — this mismatch was why the toggle appeared to do nothing in the earlier revoked attempts). The setting id is now the body class, the CSS uses two selectors (the plugin's stable vault-powershell-ribbon class plus a tooltip aria-label fallback) with display: none !important, and the plugin additionally enforces the hide via inline style through a MutationObserver on the body class — so hiding works regardless of theme CSS or ribbon DOM changes.
  • The ribbon element carries an icon-independent vault-powershell-ribbon class.

Also in this release:

  • 87 automated tests (up from 84), including DOM-enforcement tests for the hide toggle.
  • Docs updated: README (zh/en), MANUAL_TESTS.md (item #34), AGENTS.md.
  • Install docs corrected: Option B (build from source) must copy styles.css together with main.js/manifest.json.

Scope & constraints (unchanged):

  • Windows + PowerShell 7+ only (5.1 not supported); local file system vaults only
  • Entry points: ribbon (hideable via Style Settings) + single-folder context menu; no commands, hotkeys, batch/file context menus, or embedded terminal
  • No telemetry, no network, no vault modification; never invokes cmd.exe / powershell.exe / conhost.exe / shell:true; real sessions never use -NoProfile / -NonInteractive / -Command

Assets: main.js, manifest.json, styles.css, versions.json, plus the vault-powershell-0.3.0.zip install bundle.