Adds fuzzy search filter system
Implements a fuzzy search filter system using Fuse.js to enhance event searching. This system allows users to quickly find events by typing partial matches of event titles or descriptions, providing visual feedback by dimming non-matching events. The filter persists during navigation and includes escape key support for quick clearing. It also includes performance optimizations like requestAnimationFrame debouncing.
This commit is contained in:
parent
a3ed03ff44
commit
12df6a9b06
9 changed files with 513 additions and 1 deletions
|
|
@ -37,7 +37,13 @@ export const CoreEvents = {
|
|||
|
||||
// System events (2)
|
||||
ERROR: 'system:error',
|
||||
REFRESH_REQUESTED: 'system:refresh'
|
||||
REFRESH_REQUESTED: 'system:refresh',
|
||||
|
||||
// Filter events (1)
|
||||
FILTER_CHANGED: 'filter:changed',
|
||||
|
||||
// Rendering events (1)
|
||||
EVENTS_RENDERED: 'events:rendered'
|
||||
} as const;
|
||||
|
||||
// Type for the event values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue