Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Conversation

@xy9iao
Copy link
Contributor

@xy9iao xy9iao commented Jul 2, 2025

EditorImageNode Search #255

Summary

The original issue requested to implement a search bar in the EditorImageNode "Select Image" modal to help admins search images by filename.
Note: The basic search functionality was already implemented in the codebase before I started working on this issue.

What I Added

  1. Fuzzy Search:
    Upgraded the search to use Fuse.js for fuzzy, typo-tolerant matching, making it easier to find images.
  2. Consecutive Match Highlighting:
    The modal now highlights the exact consecutive substring in each filename that matches the input.
  3. Recent Images Section:
    Added a “Recent Images” section at the top of the modal, showing the last 5 images selected by the user.

@xy9iao xy9iao requested a review from some-molasses July 2, 2025 16:34
@some-molasses some-molasses merged commit 0e7ed4d into main Jul 31, 2025
3 checks passed
@some-molasses some-molasses deleted the editorImageNode-search branch July 31, 2025 03:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants