Skip to content

Releases: chrisgurney/obsidian-note-toolbar

v1.4.9

05 Apr 14:37
Compare
Choose a tag to compare

Changelog

  • fix: some toolbar preview items not properly aligned

v1.4.8

05 Apr 13:46
Compare
Choose a tag to compare

Improvements 🎉

The top position of sticky toolbars now uses a hopefully more reliable style variable that (I think) is less likely to be touched by themes. Note there's some gotchas around sticky toolbars, and snippet workarounds if required: read about them here.

Toolbar previews in settings now show icons, and don't wrap in the middle of an item, to give an even better sense of what the toolbars look like before editing them:

CleanShot 2024-04-05 at 09 47 28@2x

Changelog

  • fix: (attempt) use the header height as the sticky top
  • feat: toolbar previews now show icons

v1.4.7

04 Apr 12:08
Compare
Choose a tag to compare

Documentation updates.

Changelog

  • docs: updated settings link to variables docs
  • docs: updated settings link to styling docs

v1.4.6

04 Apr 02:16
Compare
Choose a tag to compare

Changelog

  • fix: gap on right side of toolbar on mobile

v1.4.5

03 Apr 19:27
Compare
Choose a tag to compare

Public release of the beta. See v1.4.0-beta release notes for what's new.

Skipped v1.4.4 as I neglected to push removal of mainfest-beta.json for BRAT.

v1.4.3

03 Apr 14:14
Compare
Choose a tag to compare
v1.4.3 Pre-release
Pre-release

Improvements

The UX for selecting an icon is now even better, thanks to Obsidian's SuggestModal:

CleanShot 2024-04-03 at 10 18 01@2x

Changelog

  • feat: improved ux of selecting icons
  • build: removed dependency on popperjs
  • fix: mini modal size too large for large screen sizes

v1.4.2-beta

03 Apr 12:50
Compare
Choose a tag to compare
v1.4.2-beta Pre-release
Pre-release

Cleaned up issues found by Obsidian's Community Plugins submission team, including refactoring to use built in APIs for setting tooltips, headings, and using AbstractInputSuggest in place of suggest.ts.

Changelog

  • chore: missing import for setTooltip
  • refactor: replaced suggester.ts with AbstractInputSuggest
  • refactor: heading, tooltip changes per plugin review comments

v1.4.1-beta

02 Apr 02:44
Compare
Choose a tag to compare
v1.4.1-beta Pre-release
Pre-release

v1.4.0-beta

02 Apr 02:12
Compare
Choose a tag to compare
v1.4.0-beta Pre-release
Pre-release

(Publishing this as a beta as there's lots new, and so as not to get in the way of the Community Plugins approval process.)

Migration Notes ⚠️

On enabling the plugin, it will attempt to migrate your settings (data.json) to a newer version. This happens automatically, but beta testers might want to back up your data.json just in case:

  1. Make a copy of this file: YOURVAULT/.obsidian/plugins/note-toolbar/data.json
  2. After installing via BRAT, disable and re-enable the Note Toolbar plugin to make sure the migration is run.

New Features 🎉

  • Toolbars can now link to one of three types:
    • Commands, which are executed directly, without the need for a plugin like Advanced URI. (You can still use Advanced URI if you wish!)
    • Files, which require a folder and a filename, with the extension. This could be any file in the vault, including images, PDFs, etc.
    • URIs (URLs) which, as before, can be external websites, URIs provided by plugins, or note names that are resolved at click time (in case you don't want to go looking for the filename or a URI to the note).
  • Use Obsidian's built-in icons (Lucide) in place of toolbar labels, or next to toolbar labels. (You can still just use emojis in your labels if you wish!) -- Thanks to @FelipeRearden for the request!

CleanShot 2024-04-02 at 09 44 20@2x

Improvements

  • Your position is better maintained when making changes to settings, where previously the view might have been jumping back to the top (#13)

Fixes

  • Fixes conflict with Banner (beta) plugin that was causing flickering. (#14 - Thanks to @Moyf for the submission!)
  • A couple annoyances within settings, with respect to how empty fields were focussed unnecessarily.
  • Folder map error was showing more than once.
  • Fixed a problem where removing the second-last style chip selected the last chip in the dropdown.

...and more.

Changelog

  • fix: focus put on last item in list regardless of whether Add button clicked
  • docs: made placeholders more robust
  • fix: icon button padded on mobile
  • chore: display icon names in toolbar previews
  • chore: sort icon + text alignment in toolbars
  • docs: note to say icon is optional
  • chore: keyboard support for icon selection and modal
  • chore: visually differentiate empty icon setting
  • fix: (#14) flickering problem experienced with Banner plugin beta in use
  • chore: icon button styling + active style
  • fix: properly unset icon if removed
  • chore: item icon selectors
  • fix: scroll position resetting in main settings on change
  • refactor: reorg where scroll handler is
  • fix: prevent keyboard events from propagating
  • fix: scroll position resetting in settings modal on change
  • chore: renamed note type to file
  • fix: focus effect sticks on click
  • chore: clear command field before enabling
  • fix: don't display empty toolbar items
  • chore: fallback to treating uris as internal links
  • fix: active type field code
  • chore: updated clickhandler to support link types
  • chore: tweaks to note field handling
  • chore: note type input field
  • fix: folder map error showing more than once
  • chore: use the previous type as the default for new items
  • chore: get type selector working
  • chore: settings migration to 20240330.1
  • chore: settings migration to 20240330.1
  • chore: settings model update to support types + commands
  • chore: link type switching ui
  • fix: removing second-last style chip in settings selects last chip in dropdown

v1.3.8

30 Mar 11:06
Compare
Choose a tag to compare

Fixes

  • Style chip deletion in settings now keyboard accessible (missed this in testing the previous release).
  • Error message for folder mappings now correctly placed on the next line.

Changelog

  • fix: style chip deletion not keyboard navigable
  • fix: folder mappings error message position