Skip to content

Releases: wrjlewis/notion-search-alfred5-workflow

Version 0.6 (Alfred5)

02 Sep 12:48
2ffcd29
Compare
Choose a tag to compare
  • Type ‘nsn’ for the option to quickly open a new page in Notion. Very handy! (Only supports the web app currently)

  • wrjlewis/notion-search-alfred-workflow#83 - Fixed a bug that would cause an error and no more results to be displayed, relating to new Notion projects and icons.

  • Update readme with:

    • new notion page functionality
    • new cairo instructions for those on apple silicon, use at your own risk but they work for me and svg icons now appear in search results.

Version 0.5.3 (Alfred5)

16 Jun 15:47
e023baa
Compare
Choose a tag to compare

Includes fix for the recent breaking change on Notions side to their internal search api

#9

Version 0.5.2 (Alfred5)

02 Jun 15:45
f4eaa9e
Compare
Choose a tag to compare
  • Support for Notion's new feature 'Projects', which broke how icons were displayed and subsequent results
  • if enableIcons is not selected, fixed a bug where the iconpath would be displayed inline with the results
  • Added ability to copy search result to clipboard, rather than open in the browser with CMD+Enter. #6
  • Fixed issue where braces would cause cookie parsing to fail, specifically when trying to load recently viewed pages. #5

Version 0.5.1 (Alfred5)

29 Nov 16:04
0d47ae9
Compare
Choose a tag to compare

Fixes an infinite loop in the new subtitle builder logic

Version 0.5 (Alfred5)

27 Nov 20:43
a91000c
Compare
Choose a tag to compare

This version is only compatible with Alfred 5 and makes use of Alfred 5's improved user configuration. Updates will be automatically applied just as they were (and still are) with the Alfred 4 version of this workflow.

All other features are on par with the Alfred 4 version of this workflow and contains the recent updates from v0.5:

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 it doesn't re-download icons or images if the workflow has already downloaded it before and it hasn't been downloaded 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 it 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.