Skip to content

Releases: chrisgurney/obsidian-note-toolbar

v1.9.6

20 Jul 20:11
Compare
Choose a tag to compare

New Feature 🎉

  • Adds support for floating buttons on desktop.
    • Note: Style Settings adjustments will change both mobile and desktop floating buttons, at the moment.

Changelog

  • feat: support right-click menu on floating buttons
  • chore: set cursor to pointer on fab hover
  • fix: menu offset incorrect if menu oriented left
  • fix: incorrect menu position for floating buttons on desktop
  • feat: add floating button support to desktop

v1.9.5

19 Jul 15:41
Compare
Choose a tag to compare

Bug fix for autohide toolbar styling.

Changelog

  • refactor: removed repeated CSS for autohide style
  • fix: box shadow appearing overtop of text for autohide toolbars (#90) Thank you @XMB-7!

v1.9.4

19 Jul 12:20
Compare
Choose a tag to compare

New Feature 🎉

  • Added a protocol handler to execute commands, as an alternative to the Advanced URI plugin. (i.e., If you installed Advanced URI just for use in Note Toolbar Callouts, you might be able to remove it now and just use this.)
    • Example usage: obsidian://note-toolbar?commandid=workspace%3Atoggle-pin
    • Disclaimer: For now you will need to manually escape characters in command IDs (e.g., : = %3A), and figure out command IDs on your own in order for this to work (by inspecting an existing toolbar, or by using Advanced URI for example). I know this is not ideal, so I will very likely add a Copy URI for command helper/command in the future.

CleanShot 2024-07-19 at 08 34 25

Fixes

  • Middle clicking should now open file items in a new tab.
  • If you use Iconize to add icons to your notes (Callout links), they will now be correctly vertically aligned with the text.

Changelog

  • fix: middle click should open files in new tab #101 Praise the sun @Moyf!
  • feat: protocol handler to execute commands, as alternative to Advanced URI
  • fix: Callout items + Iconize: icon text alignment off

v1.9.3

17 Jul 17:29
Compare
Choose a tag to compare

Bug fixes. See the release notes for v1.9.1

Changelog

  • fix: file items not opening

v1.9.2

17 Jul 14:05
Compare
Choose a tag to compare

Bug fixes. See the release notes for v1.9.1

Changelog

  • fix: (to test) active state outline sticks on tap on mobile
  • fix: settings: use focus-visible instead of focus

v1.9.1

16 Jul 16:48
Compare
Choose a tag to compare

New Features 🎉

  • Adds an Item Menu type to the available toolbar items:
    • After selecting the Item Menu item type, select an existing toolbar, and that item will display the toolbar's items in a dropdown menu when triggered.
    • Sub-menus are also supported.
    • Menus can be styled via the Style Settings plugin, or by CSS snippets (via the .note-toolbar-menu class).
    • Menu items are fully keyboard accessible (via the Focus command). Press Enter to open a menu item, and ⬆️⬇️ to navigate.
    • Note that menus in Obsidian on mobile appear at the bottom of the screen when opened.

example_item_menu

  • Adds a don't wrap items (mnwrp) Style specifically for mobile. When set, all items will be on one line making the toolbar scrollable.
    • By default (i.e., when it's not set), items wrap to the next line.
    • For it to work best, ensure your items are not centered or evenly spaced (i.e., left-align them).
  • You can now link to folders from a File type. When clicked, the folder is highlighted in the File Explorer (behaves the same way as if the folder was bookmarked) • Thank you, indirect Reddit suggestion!
  • A Usage section has been added to a toolbar's Settings (below the Styles section), where you can see the number of times the toolbar is used (in mappings, and items). A link is also provided to search for toolbar properties that might be using this toolbar.

CleanShot 2024-07-08 at 12 53 53@2x

v1.9.0-beta-12

16 Jul 16:17
Compare
Choose a tag to compare
v1.9.0-beta-12 Pre-release
Pre-release

📖 Release announcement and known issues.

Changelog

  • fix: long menu item toolbar previews not placed correctly
  • refactor: moved commands into CommandsManager

v1.9.0-beta-9

15 Jul 18:46
Compare
Choose a tag to compare
v1.9.0-beta-9 Pre-release
Pre-release

📖 Release announcement and known issues.

Changelog

Reorganized code:

  • refactor: reorganized code folders
  • refactor: alphabetized Utils; moved migration-specific code into SettingsManager
  • refactor: moved getLinkDest to Utils
  • refactor: move replaceVars into Utils

v1.9.0-beta-8

15 Jul 17:41
Compare
Choose a tag to compare
v1.9.0-beta-8 Pre-release
Pre-release

📖 Release announcement and known issues.

Changelog

  • refactor: most settings access code now in SettingsManager

v1.9.0-beta-7

15 Jul 15:26
Compare
Choose a tag to compare
v1.9.0-beta-7 Pre-release
Pre-release

📖 Release announcement and known issues.

Changelog

  • fix: labels with spaces wrapping with nowrap style enabled on mobile