• Extend filterTools query normalization with alpha+digit token concatenation (e.g. base + 64 -> base64)
• Document keyword-based synonym usage in filterTools
• Expand filterTools tests to cover alias-style queries like pdf join and base 64
Co-Authored-By: Warp <agent@warp.dev>
* Implement token-based, whitespace-robust search in filterTools:
* Normalize queries by trimming, lowercasing, and collapsing internal whitespace.
* Split normalized query into tokens and require every token to match at least one of: localized name, description, shortDescription, or keywords.
* Keep user-type filtering behavior the same and apply it before search filtering.
* Return all tools (post user-type filter) when the normalized query is empty or only whitespace.
* Make Hero autocomplete respect the new search behavior:* Use filterOptions={(options) => options} to disable MUI Autocomplete’s internal filtering.
* Rely solely on filterTools + filteredTools so queries like "pdf " behave the same as "pdf" and support multi-word, order-insensitive searches.
* Add unit tests for Phase 1 search behavior:
* New src/tools/index.test.ts covering:
* Empty and whitespace-only queries returning all tools.
* Word-order and extra-whitespace robustness for queries like "pdf merge" vs " merge pdf ".
* Case-insensitive matching and multi-word queries for the Base64 tool.
* Trailing spaces being ignored.
* Non-English behavior by using localized Spanish strings (e.g. "unir pdf") to confirm locale-agnostic token matching.
Co-Authored-By: Warp <agent@warp.dev>
This commit replaces the "Buy me a coffee" button with a
"Hire me" button in the navbar. It also updates the
corresponding translation in the `en/translation.json` file.
The icon has been changed to a job search icon, and the
link points to a Google Drive document.
feat: fix Blob type in tools (main)
This commit fixes a type-related issue. The 'Blob'
constructor was used without specifying 'as any' for the
data argument in several tools. This change ensures
correctness and prevents potential type errors.
The following files were modified:
- src/pages/tools/video/change-speed/index.tsx
- src/pages/tools/video/crop-video/service.ts
- src/pages/tools/audio/trim/service.ts
- src/pages/tools/video/merge-video/service.ts
- src/pages/tools/video/rotate/service.ts
- src/pages/tools/image/generic/rotate/service.ts
- src/pages/tools/pdf/merge-pdf/service.ts
- src/pages/tools/pdf/rotate-pdf/service.ts
- src/pages/tools/video/compress/service.ts
- src/pages/tools/video/flip/service.ts
- src/pages/tools/video/trim/index.tsx
- src/pages/tools/video/loop/service.ts
- src/pages/tools/audio/extract-audio/service.ts
- src/pages/tools/pdf/split-pdf/service.ts
- src/pages/tools/audio/change-speed/service.ts
- src/pages/tools/image/generic/resize/service.ts
- src/pages/tools/video/gif/change-speed/index.tsx
- src/pages/tools/audio/merge-audio/service.ts
- src/pages/tools/video/video-to-gif/index.tsx
This commit removes the temperature conversion tool from the
generic-calc tool. This is because the tool was causing issues.
The following files were modified:
- src/pages/tools/number/generic-calc/data/index.ts
- src/pages/tools/number/generic-calc/data/temperature.ts
- package.json
- .idea/workspace.xml