Christmas is coming and I hope you all enjoy this awesome major update.
Subtitles are much much better. I've implemented the same logic that Notion does in it's quick find module to properly show where in the navigation tree the search result lives, helping you find exactly the page you're looking for.
You'll now see 'Company / Hiring / Interview Process / Interview' rather than previously showing one continous string 'Company Hiring Interview Process Interview'
Fixed a bug here where subtitles were not shown at all for some search results. Note, subtitles will not be shown if the page exists at the top of the navigation tree, ie when the page has no parent pages.
SVG Icon support!
Notion recently introduced support for (SVG) icons. Alfred does not support SVG icons so you would have been seeing an empty icon for these results. This workflow now converts the svg file to png and displays it as an icon to the relevant search result.
Simply install cairosvg in terminal (pip3 install cairosvg) for this feature to work.
Caching
The slowest part of any Notion search is the bit that downloads icons or images in the page title. Previously this was happening on each query that included such pages. Now doesn't re-download icons or images if the workflow has already downloaded it before and it hasn't been download more than a year ago. You can change the cache duration in environment variables but 365 days is recommended. The workflow knows if the page icon or image has changed in which case will redownload and cache it.
Better error handling
Errors are now shown on screen as a search result so you don't have to open the alfred workflow debug console in the majority of cases. The error is shown in addition to any successful search results that the workflow is able to find. Previously an error would stop the workflow from operating completely.
Compatible with Alfred 4 and Alred 5.
Note: an Alfred 5 only version is available and you can download that here (link), I will hope to maintain both versions for the forseeable future.
Christmas is coming and I hope you all enjoy this awesome major update.
Subtitles are much much better. I've implemented the same logic that Notion does in it's quick find module to properly show where in the navigation tree the search result lives, helping you find exactly the page you're looking for. You'll now see 'Company / Hiring / Interview Process / Interview' rather than previously showing one continous string 'Company Hiring Interview Process Interview' Fixed a bug here where subtitles were not shown at all for some search results. Note, subtitles will not be shown if the page exists at the top of the navigation tree, ie when the page has no parent pages.
SVG Icon support! Notion recently introduced support for (SVG) icons. Alfred does not support SVG icons so you would have been seeing an empty icon for these results. This workflow now converts the svg file to png and displays it as an icon to the relevant search result. Simply install cairosvg in terminal (pip3 install cairosvg) for this feature to work.
Caching The slowest part of any Notion search is the bit that downloads icons or images in the page title. Previously this was happening on each query that included such pages. Now doesn't re-download icons or images if the workflow has already downloaded it before and it hasn't been download more than a year ago. You can change the cache duration in environment variables but 365 days is recommended. The workflow knows if the page icon or image has changed in which case will redownload and cache it.
Better error handling Errors are now shown on screen as a search result so you don't have to open the alfred workflow debug console in the majority of cases. The error is shown in addition to any successful search results that the workflow is able to find. Previously an error would stop the workflow from operating completely.
Compatible with Alfred 4 and Alred 5. Note: an Alfred 5 only version is available and you can download that here (link), I will hope to maintain both versions for the forseeable future.