- Replaced
requestIdleCallback
withsetTimeout
for Safari support.
scroll-behaviour: smooth
- Focused results are outlined to differentiate them from hovered results.
<mark></mark>
elements are styled according to the accent colour (the browser's built-in yellow highlight doesn't contrast well with other light colours).
- Exported the
platformModifier
string for direct use (e.g. in search trigger labels).
- Removed
{{platformModifier}}
tag replacement.
- Depend on the more reliable
site.url(<string> page.data.url)
for detecting Lume page URLs.
- Adjusted and exposed the internal hotkey registration
for use with a
platformModifier
property equivalent to the{{platformModifier}}
tag.
- Moved the Lume indexer's slugifer to the
indexers/shared.ts
file. - Renamed the
{{modifier}}
tag to{{platformModifier}}
.
- Slugifier no longer slices the last letter off slugs generated from headings without spaces.
- Modals close when results are clicked.
- Removed
console.log
debug statement. - Gave
position:sticky
priority overposition:-webkit-sticky
.
- Configuration options.
- Zoom-in-zoom-out modal open animation.
- Rounded scrollbar style.
- Footer copyright.
{{modifier}}
tag for platform-specific hotkeys (replaced with⌘
on MacOS andCTRL
on other platforms).- Added
list
andcode
result types.
- Component constructed on the client-side instead of during site generation.
- Scoped CSS styling instead of utility classes.
- More efficient search caching logic.
- Tweaked text sizing and positioning.
- Slugs generated by the Lume indexer no longer cut words in half.
- The Lume indexer uses Deno's import map to infer the current version of Lume and prevent dependeny conflicts on Lume updates.
- Empty
<mark></mark>
elements are no longer added to results. This occured when the search input was empty and only{ type: "page" }
results were displayed, and would cause e.g.&
to be displayed as&
.
First version, hardcoded into the notion-enhancer website.
- Site indexing performed during the build process.
- Basic exact & fuzzy search logic.
- Interface contained within a toggleable modal and styled with utility classes.
- A desktop-only footer with a list of available navigation hotkeys.