=== Dhruval Admin Command Palette ===
Contributors: dhruvalbhansali1608
Donate link: https://inventkid.com/
Tags: admin search, settings search, quick navigation, dashboard helper, menu search
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Find any settings page instantly. Search your WordPress admin menu, settings, and WooCommerce screens in a single click.

== Description ==

Finding where specific settings are hidden in WordPress can be confusing and time-consuming. **Dhruval Admin Command Palette** is a simple, friendly search tool that helps you find and open any WordPress setting screen in seconds. 

It adds a clean, floating search box to your admin dashboard (which you can open by clicking the search bar or pressing `Ctrl + K` / `Cmd + K`). 

Instead of clicking through dozens of complicated menu options, just type what you want to do in plain, everyday language:
* *"I want to change shipping rates"* -> instantly opens WooCommerce shipping setup.
* *"Change site title"* -> goes directly to General Settings.
* *"Add new page"* -> opens the page editor page immediately.
* *"Manage users"* -> takes you straight to the members screen.

It is designed specifically for website owners, bloggers, WooCommerce store managers, and non-technical users who want to save time and manage their sites without frustration.

== Upgrade to Pro for Direct Settings Editing & Reverts ==

**Dhruval Admin Command Palette Pro** allows you to update your site's settings directly from the search bar without even opening the settings pages!

= Easy Pro Features: =
* **Instant Settings Updates**: Change your website name, update your email address, reset user roles, or edit WooCommerce prices and stock levels directly from the search box.
* **Before/After Previews**: Shows you a clear comparison of what is changing before you click save.
* **Database Safety Lock**: Double-checks and secures all updates so your website settings are never messed up.
* **One-Click Reverts (Undo)**: Keeps a list of all changes you make, so if you make a mistake, you can undo it with a single click.
* **Helpful Command Templates**: Displays friendly templates to click and use immediately.

[Get Dhruval Admin Command Palette Pro Now](https://inventkid.com/)

== Features ==

* **Plain English Search**: Understands synonyms, so typing "payments", "checkout", or "billing" will all guide you to the right place.
* **Quick Search Box**: Click the search box at the top of your page or press `Ctrl + K` (Windows) / `Cmd + K` (Mac) to open it.
* **Simple Keyboard Navigation**: Use the up and down arrow keys to highlight a result and press `Enter` to open it—no mouse click needed.
* **Typo Friendly**: Works even if you make a spelling error (like typing "settigns" instead of "settings").
* **Find New Plugins**: Search the WordPress.org directory for new features directly from your search box.
* **Dark & Light Mode Integration**: Automatically matches your dashboard colors to look clean and neat.
* **Lightweight & Fast**: Opens in a fraction of a second and won't slow down your website.

== Installation ==

1. Upload the plugin folder to your `/wp-content/plugins/` directory, or upload the ZIP file directly via the WordPress Plugins menu.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Click **Command Palette** in the admin sidebar or press `Ctrl + K` / `Cmd + K` to start searching!

== Frequently Asked Questions ==

= How do I open the search bar? =
You can click the search bar in your dashboard, or press `Ctrl + K` (on Windows/Linux) or `Cmd + K` (on macOS) from any page. Press `Escape` to close it.

= Will this plugin slow down my website? =
No. The search bar is optimized to run inside your browser. It doesn't load down your website server or database, keeping your admin area lightning-fast.

= Can I use it without a mouse? =
Yes! You can use your keyboard's up and down arrows to navigate the results list, and press `Enter` to select and go to that page.

= What settings does it search? =
It indexes all active settings pages generated by WordPress and third-party plugins like WooCommerce, Yoast SEO, Elementor, contact forms, and security plugins.

= Why are new plugin settings not showing up in search? =
If you recently activated a new plugin, click the **"Re-index Site"** button at the bottom of the search panel to update the search list.

= Can I update settings directly from the search bar? =
Updating settings directly from the search bar (like updating WooCommerce prices or changing passwords) is a premium feature of the **Pro version**. The free version focuses on helping you find settings pages quickly.

== Changelog ==

= 1.0.8 =
* Optimized search speed, responsiveness, and memory footprint.
* Improved search accuracy for natural settings queries.
* Handled typo tolerance and keyboard-first navigation upgrades.

= 1.0.7 =
* Fix Gutenberg Block Editor White Screen: Removed php-level script deregistration of wp-commands, allowing dependencies of the block editor to load correctly without conflict. Keyboard shortcut interception is handled gracefully inside Javascript.

= 1.0.6 =
* Go Pro Sidebar Redirection: Injects a custom sidebar submenu link to the product website if Pro is not active.
* In-Dashboard Upgrade Promo: Displays a modern linear-gradient promotional card on the Search Console dashboard page for free users.
* Pro-Aware Menu Visibility: Automatically hides all upgrade promotions when the Pro plugin is active.
* Context-Aware Modes: Supported Search, Update, and Logs modes inline on the search console page.

= 1.0.5 =
* Manual Reindexing Action Hook: Hooked `dacp_reindex_now` inside ajax_reindex_now, enabling Pro to rebuild settings indexes immediately on manual reindex requests.
* Advanced Query Parsing: Replaced regex checks with a smart keyword and preposition heuristic to detect Pro database updates anywhere inside natural language query sentences.
* Activation/Deactivation safety: Changed activation/deactivation hooks to set cache dirty status rather than executing index rebuilds immediately, preventing fatal errors with third-party plugins.
* WordPress.org Semantic Recommendation Resolver: Intercepts natural language synonym searches (cart abandonment, slow sites, rankings) and resolves them to high-precision terms before calling the WordPress.org Plugin API.
* Synonym & Intent Expansion Dictionary: Implemented query token synonym expansion for key topics (leaving the cart, abandoned checkout, speed optimization, search engine rankings).
* Synonym-Aware Subject Noun Discrimination: Allows synonym matches to successfully satisfy the mandatory subject noun validation.
* Cart Abandonment Synthetic Redirects: Automatically suggests optimized checkout flows and plugins to recover abandoned carts on WordPress.org.

= 1.0.4 =
* Semantic Topic Goal Boost Matrix: Added +500 points Intent Boost for primary subjects (comments, categories, taxonomies, shipping, users, themes, menus) to guarantee comments and settings screens take top priorities.
* Subject Noun Discrimination Engine: Intercepts queries targeting specific entities to eliminate unrelated pages (e.g. "add new user" excludes "Add New Post").
* Quoted Priority Parameter Extraction & Preposition Noise Filtering: Extracts explicit quotes first and filters sentence prepositions (that, starts with, named) from parameter extraction.
* Zero-Network Dependency Inline SVG Vectors: Replaced Unicode emojis with local inline vector graphics (.dacp-icon) to prevent broken icons on offline/firewalled sites.
* Dynamic Active Plugin Metadata Scanner & Subpage Origin Graph: Dynamically detects concepts and raises related pages of matching plugins.
* Critical AJAX Menu Population Fix: Forces WordPress admin menu file loading during AJAX/cron reindexing.
* Strict URL-level Result Deduplication: Prevents identical URLs from rendering duplicate search cards.
* Prevent conflicts with Core Command Palette: Dequeues core commands and handles keyboard overlay cleanup on escape.

= 1.0.0 =
* Initial release. Features TF-IDF vector search, word stemming, nonced AJAX recommendations, and parameter extraction.
