Skip to content

0.5.9

Choose a tag to compare

@jsmorabito jsmorabito released this 28 Aug 14:43
· 1 commit to main since this release
4811af1

Patch release focused on the left ribbon.

Fixes

  • Ribbon icons vanish / reorder after a workspace switch. LeftRibbonManager now re-injects its icons on layout-change (Obsidian, core Workspaces, and Workspaces Plus all tear the ribbon down and rebuild it on changeLayout), and restores them to the configured order only when they're actually out of order. Closes #67, closes #81.
  • Icon mappings for not-yet-loaded commands are no longer deleted. injectIcons() used to prune advancedToolbar.mappedIcons entries whose command wasn't registered at load — losing mappings for slow-loading plugins or plugins absent on mobile, then syncing that loss. It now just skips applying the icon. Helps #147, #148.
  • loadSettings hardened against a corrupt / partially-written data.json. Non-object payloads are rejected and the nested hide / advancedToolbar groups are deep-merged instead of shallow-assigned, so a malformed value no longer collapses settings to defaults on the next save. Helps #131.

Also adds 9 regression tests for LeftRibbonManager (previously untested).

Full detail: #205