Sometimes you may have a lot of admin menu items based on your WordPress installation. With this plugin, you only need to type a few letters of the item name you're looking for and voila! The plugin uses modern vanilla JavaScript to filter menu items efficiently with case-insensitive matching.
Key Features:
- No jQuery dependency - Pure vanilla JavaScript for better performance
- Debounced search - Optimized filtering with 150ms delay for smooth typing
- Keyboard shortcuts - Ctrl/Cmd + F to focus search, Escape to clear
- Accessibility support - Proper ARIA labels and keyboard navigation
- Modern CSS - Smooth transitions and visual feedback
- Performance optimized - Efficient DOM manipulation and event handling
How it works:
The plugin adds a search input at the top of the admin menu and follows these filtering rules:
- For parent menu items: Matching items remain visible
- For child menu items: Matching items stay highlighted and keep their parent visible
- Visual feedback: Filtered items are hidden, active items get subtle background highlighting
Technical Improvements in v0.3:
- Complete rewrite - Eliminated jQuery dependency for faster loading
- Enhanced UX - Added keyboard shortcuts and better visual states
- Better architecture - Modular JavaScript with proper error handling
- Improved accessibility - Screen reader support and keyboard navigation
- Modern styling - Updated CSS with focus states and transitions