Fuzzy find browser search

Created on 9 September 2024, 2 months ago

Problem/Motivation

We have had user feedback regarding small issues with searching, such as finding "in-line message" when typing "inline". I believe content authors could benefit from a fuzzy find search for block filter. I saw that this module creates a Javascript filter method to accomplish search/filter currently. I wondered if there has been any talk about possibly adding a dependency on a client-side fuzzy finder for the existing functionality since the dataset is hopefully considered small?

Steps to reproduce

  • Create a custom block named "in-line message"
  • Add this to LBB
  • Search for "inline"
  • Observe nothing displays as results

Proposed resolution

My initial thought was utilizing a JS fuzzy tool, like fusejs or the like that we could provide search to in order to keep the rest of the code the same, but I am open to ideas.

Remaining tasks

  • Find fuzzy find solution
  • Integrate into existing JS filter

User interface changes

  • Possibly allow toggle if this is too great of a change?

API changes

None (hopefully)

Data model changes

Depends on UI change decision for toggle setting

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dblanken Carmel, Indiana

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024