Tags: ruby/rdoc
Tags
Fix search dropdown behaviour (#1512) After this change: | Scenario | Behavior | |----------|----------| | Type search, click result | Navigate without `?q=`, clean URL without dropdown | | Type search, press Enter | Navigate without `?q=`, clean URL without dropdown | | Land on URL with `?q=` param | Show dropdown with pre-filled query | | Click outside dropdown | Hide dropdown, keep input value | | Focus input with existing query | Show dropdown again |
Rebuild Aliki's searching mechanism (#1504) Rebuild Aliki's search mechanism with a custom search index and improved ranking algorithm. Key changes: - Aliki now generates its own search index (`js/search_data.js`) instead of using the shared JsonIndex generator (can be removed along with Darkfish in the future) - New search ranking algorithm with better prioritization: - Lowercase queries prioritize methods; uppercase queries prioritize classes/modules/constants - Exact matches rank higher; shorter names preferred - Class methods rank above instance methods (I don't have strong opinion on this one) - Search results now display type badges (class, module, const, method) - Constants are now included in search results Closes #1497 <img width="50%" alt="Screenshot 2025-12-16 at 17 57 50" src="https://github.com/user-attachments/assets/689cd862-3669-43f7-93e1-218923f3cd0e" />
PreviousNext