Skip to content

New Feature: Bootstrap Icons: AI Search Fallback - #22221

Merged
raycastbot merged 10 commits into
raycast:mainfrom
RobErskine:feature/bootstrapicons-extension
Oct 16, 2025
Merged

raycastbot merged 10 commits into
raycast:mainfrom
RobErskine:feature/bootstrapicons-extension

Conversation

@RobErskine

Copy link
Copy Markdown
Contributor

Description

Got some user feedback today about how it would be cool if we used AI to find similar icons if no exact matches were found, like Raycast does in their Emoji search.

This PR adds this functionality if a user has AI enabled as part of Raycast.

Screencast

bootstrap-icons-4 bootstrap-icons-5

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: bootstrap-icons Issues related to the bootstrap-icons extension AI Extension platform: macOS platform: Windows OP is author The OP of the PR is the author of the extension labels Oct 16, 2025
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

You can expect an initial review within five business days.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Summary

This PR adds AI-powered fallback search to the Bootstrap Icons extension, similar to Raycast's Emoji search. When a user's search returns no results and they have AI access, the extension queries the AI model to suggest semantically similar icons.

Key Changes:

  • Implemented debounced AI search (500ms) that triggers only when regular search returns zero results
  • Added caching layer (max 50 queries) to prevent redundant AI API calls and improve performance
  • Used icon sampling (300 icons) to reduce prompt size while maintaining search effectiveness
  • Added proper loading states and user-friendly error handling with toast notifications
  • Added two new metadata screenshots demonstrating the AI search functionality
  • Updated changelog with the new feature

Implementation Notes:

  • The code gracefully handles cases where users don't have AI access
  • Duplicate request prevention ensures only one AI query runs per search term
  • Cleanup logic in useEffect prevents state updates on unmounted components

Confidence Score: 4/5

  • This PR is safe to merge with one minor typo fix needed
  • The implementation is well-structured with proper error handling, caching, debouncing, and cleanup logic. The code follows React best practices with proper useEffect dependencies and cancellation. There's only one minor typo in the changelog ("UI" should be "AI"). The feature is additive and gracefully degrades for users without AI access.
  • extensions/bootstrap-icons/CHANGELOG.md needs a typo fix

Important Files Changed

File Analysis

Filename Score Overview
extensions/bootstrap-icons/CHANGELOG.md 5/5 Added changelog entry for new AI fallback search feature with proper formatting
extensions/bootstrap-icons/src/search-bootstrap-icons.tsx 4/5 Implemented AI-powered fallback search with debouncing, caching, and proper error handling

2 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment thread extensions/bootstrap-icons/CHANGELOG.md Resolved
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@pernielsentikaer pernielsentikaer self-assigned this Oct 16, 2025

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 8fabbd7 into raycast:main Oct 16, 2025
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

tktcorporation added a commit to tktcorporation/extensions that referenced this pull request Nov 2, 2025
- chore: add assets and metadata for store submission
- docs: add comprehensive documentation
- test: add comprehensive test coverage
- feat: implement UI components and main search interface
- feat: add internationalization support
- feat: add AI-powered query interpretation
- feat: implement core app search functionality
- feat: add type definitions and fuzzy matching utilities
- feat: initialize app-search extension with project configuration
- Update CODEOWNERs (7b1e59c4)
- Add kagi-news extension (#22389)
- brew: Change "formula" to "formulae" (#22518)
- Update CODEOWNERs (257af696)
- Add string-formatter extension (#21859)
- Update CODEOWNERs (2a0fab28)
- Add helium extension (#22290)
- feat(markdown-codeblock): add newline prefix (#22369)
- Update CODEOWNERs (b20058a1)
- Docker/add windows support (#22455)
- Add Windows platform support (#22453)
- Update CODEOWNERs (aa68611f)
- Add xkcd-password-generator extension (#22433)
- Update CODEOWNERs (8bf2a9d9)
- Add Stagehand extension (#22179)
- Update CODEOWNERs (59d237b7)
- Add micro-snitch-logs extension (#22390)
- Update CODEOWNERs (238052ee)
- Update github extension (#22384)
- Docs: Update the utils docs
- Update CODEOWNERs (42e307ec)
- Add ivpn extension (#22149)
- Add Pagination to List of Playlist Songs (#22145)
- [Update] [Things] Increase timeout in AppleScript and update Node packages to latest (#22512)
- Update figma-files-raycast-extension extension (#22254)
- Update prism-launcher extension (#22458)
- Update unicode-symbols extension (#22510)
- Update jsr extension (#22503)
- Update CODEOWNERs (0fd5ad08)
- Add keeper-security extension (#22296)
- Update filemaker-snippets extension (#22509)
- Update CODEOWNERs (e858971c)
- Add paynow extension (#22380)
- [ipapi.is] fix error when some location field is invalid (#22493)
- Update CODEOWNERs (ccfa9932)
- Update zen-browser extension (#22491)
- Update tembo extension (#22471)
- Delete .github/workflows/add-approve-label.yml (#22501)
- Update `Chatwoot` extension - Add "My Inbox" command + Fix "List Messages" command (#22490)
- [Linear] Use API-provided notification presentation (#22285)
- Update CODEOWNERs (1a7209ee)
- Update harvest extension (#22256)
- Update CODEOWNERs (13787cdf)
- Fix finding button in Tahoe. (#22330)
- Update GitHub Actions workflow for PR approvals (#22487)
- Docs: update for the new API release
- Update CODEOWNERs (77f64775)
- Added support for Asana sections (#21912)
- Update auto-label workflow for PR approvals (#22484)
- Update GitHub Actions workflow to set effective token (#22482)
- Update workflow to use pull_request_review event (#22479)
- Update CODEOWNERs (d5727aab)
- Add action to generate and copy private links (#22273)
- Enhance PR approval labeling workflow (#22477)
- Chatgpt atlas bookmarks improvement (#22371)
- Add windows support  (#22367)
- Update diskutil-mac extension (#22307)
- [Secret Browser Commands] add ChatGPT Atlas, etc (#22348)
- Update deployhq extension (#22319)
- [Serie A] Update extensions (#22427)
- Update CODEOWNERs (a0f6527b)
- Update arc extension (#22272)
- Update CODEOWNERs (82962ede)
- Add file-info extension (#22259)
- [LaLiga] Update extensions (#22452)
- Update CODEOWNERs (9f49ac17)
- Update jotoba extension (#22379)
- Update capture fullpage of website extension (#22392)
- Update CODEOWNERs (9eeb19ae)
- Add `Formizee` extension - The Open-Source Forms Platform (#22281)
- Update CODEOWNERs (3878eb92)
- [Video Downloader] ADD "Open in Explorer" for Windows users. (#22300)
- Add `Sevalla` extension  (#22407)
- Update CODEOWNERs (c4582cbb)
- Add `Attio` extension - Objects, Tasks, Webhooks, Lists, Notes, Members and Teams (1st version) (#22432)
- Update CODEOWNERs (04f103bd)
- Update google tasks extension (#22439)
- Update CODEOWNERs (1e072cd8)
- feat: add KeePassXC entry placeholder support (#22357)
- Update ton-address extension (#22370)
- [Postiz] Fix Creation Failing + Post Enhancements (#22372)
- Update comet extension (#22381)
- Update CODEOWNERs (291204ff)
- [Random] Update dependencies, release for Windows (#22353)
- Update CODEOWNERs (eeb3d87a)
- Update capture fullpage of website extension (#22304)
- Update CODEOWNERs (5204e8d4)
- Add `HomeBox` extension - A simple home inventory management software (#22264)
- Update docklock-plus extension (#22240)
- Update `Autumn` extension - New Features command + Windows Support + Enhancements (#22311)
- Update CODEOWNERs (7385f9dd)
- Update paste as plain text extension (#22328)
- Update CODEOWNERs (0ad576af)
- Add `Vartiq` extension - Manage Projects, Apps, Webhooks, Webhook Messages (#22324)
- Update CODEOWNERs (f28be428)
- Update browser bookmarks extension (#22343)
- Update CODEOWNERs (85c4dc01)
- Update chatgpt atlas extension (#22351)
- Update CODEOWNERs (2468906f)
- Add ChatGPT Atlas extension (#22340)
- Docs: update for the new API release
- Update nightscout extension (#22293)
- Threads: ESLint simplification, dependency updates, new commands, and documentation (#22276)
- Update CODEOWNERs (a2bc7743)
- Add wled-controller extension (#22258)
- Update CODEOWNERs (12a75181)
- Update jetbrains extension - Add Support for Toolbox V3  (#22265)
- Update CODEOWNERs (3c3bfba8)
- Add fathom extension (#22187)
- Update youtube extension (#22250)
- Update CODEOWNERs (2ddb7251)
- Update fetch youtube transcript extension (#22220)
- docs: [YouTube] reflect YouTube extension features instead of the GitLab extension (#22246)
- Update kimai extension (#21809)
- Update multiple extensions to address security vulnerabilities. (#22241)
- Update linkding extension (#22231)
- Update CODEOWNERs (f24e76f7)
- Add http-observatory extension (#22219)
- Update dig extension (#22213)
- Update CODEOWNERs (4dd7c9d8)
- Update apple-reminders extension (#22182)
- Update CODEOWNERs (6336d869)
- Add `Paymenter` extension - View Invoices + View Tickets + View & Create Users (#22232)
- Update CODEOWNERs (f7242a65)
- Update nhl extension (#22237)
- Update CODEOWNERs (6d84bbb2)
- Update obsidian-tasks extension (#21863)
- Update harvest extension: Add favorites command (#22210)
- Update CODEOWNERs (e8d487be)
- Add tududi extension (#22165)
- Update raycast-zoxide extension (#22218)
- Update CODEOWNERs (00c88e12)
- Update cheatsheets extension (#22226)
- New Feature: Bootstrap Icons: AI Search Fallback (#22221)
- Update `Unkey` extension - move to Unkey SDK w/ v2 Endpoints for better performance (#22214)
- feat(nuxt): add Windows compatibility (#22209)
- Update CODEOWNERs (4e5503af)
- Add forscore extension (#22204)
- tabler: handle pagination/search APIs (#22189)
- Update CODEOWNERs (72e0c46f)
- Update plane extension (#22198)
- Update CODEOWNERs (a15e7275)
- Add haysta