=== Admin Menu Filter ===
Contributors: alejandromorenomvd
Donate link: https://paypal.me/amorenomvd
Tags: admin menu, admin menu search, admin menu filter, admin filter
Requires at least: 4.6
Tested up to: 6.8.2
Stable tag: trunk
Requires PHP: 5.2.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Admin Menu Filter adds a search box to the WordPress admin interface that allows you to quickly filter and find menu items.

== Description ==

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:

1. For parent menu items: Matching items remain visible
2. For child menu items: Matching items stay highlighted and keep their parent visible
3. 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

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/admin-menu-filter` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress

== Frequently Asked Questions ==

= How about mobile devices? =

Could be added support on future versions. Currently it's thinking for desktop users

== Screenshots ==

1. Textbox filter
2. Match primary items
3. Match child items

== Changelog ==

= 0.3 =
* Complete rewrite: Remove jQuery dependency, vanilla JS implementation
* Add keyboard shortcuts (Ctrl/Cmd + F to focus, Escape to clear)
* Implement debounced search for better performance (150ms delay)
* Enhanced accessibility with ARIA labels and keyboard navigation
* Modern CSS with focus states and smooth transitions
* Modular JavaScript architecture with proper error handling
* Improved visual feedback with background highlighting
* Better DOM manipulation and event handling

= 0.2.7 =
* Optimize description, update styles

= 0.2.6 =
* Fix tagging and update WP 6.8.2 compat

= 0.2.5 =
* Improve Plugin Tagging

= 0.2.4 =
* WP 6.7.2 compat

= 0.2.3 =
* WP 6.1 compat

= 0.2.2 =
* Improve script init

= 0.2.1 =
* Remove Doc Ready wrapper

= 0.2 =
* Check compatibility WP 5.6

= 0.1 =
* First release