mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-12 01:56:43 -05:00
[PR #448] [CLOSED] feat: implement fuzzy search with Fuse.js for better template discovery #461
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/448
Author: @jaainil
Created: 10/12/2025
Status: ❌ Closed
Base:
main← Head:adding-fuse.js📝 Commits (2)
fdd59d8chore: add bun.lock file to lock project dependencies84efaa3refactor(code-editor): simplify completion options and add type assertions📊 Changes
7 files changed (+914 additions, -111 deletions)
View changed files
➕
app/bun.lock(+687 -0)📝
app/package-lock.json(+9 -0)📝
app/package.json(+28 -27)📝
app/src/components/Search.tsx(+71 -38)📝
app/src/components/TemplateGrid.tsx(+2 -20)📝
app/src/components/ui/code-editor.tsx(+7 -26)➕
app/src/hooks/useFuseSearch.ts(+110 -0)📄 Description
What is this PR about?
Implementation of Fuse.js fuzzy search to enhance template discovery with typo-tolerant, weighted search capabilities.
Changes Made
Features
useDeferredValuefor smooth typing without lagTechnical Implementation
Configuration
Checklist
Before submitting this PR, please make sure that:
Testing
Tested with various search queries:
Issues related (if applicable)
N/A - Enhancement feature
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.