=== Hadeel ===
Contributors: hadeelapp
Tags: chat, live chat, customer service, ai, arabic
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds the Hadeel chat button to your site: an AI customer-service assistant that answers in Saudi Arabic 24/7, books appointments and takes requests.

== Description ==

Hadeel («هديل») is an AI customer-service employee for small businesses — clinics, salons, restaurants, shops and service companies. This plugin puts the “Talk to Hadeel” («تكلّم مع هديل») button on every page of your WordPress site, so visitors can ask about your services, prices and opening hours, book an appointment or leave a request, by text or voice.

* One-click connect: Settings → Hadeel → “Connect with Hadeel”. No code to copy.
* Or paste your widget key manually.
* Optional custom button text.
* Arabic admin screen (English when the site language is not Arabic).
* Lightweight: one asynchronous script, loaded only when a key is set.

You need a Hadeel account (https://hadeel.app). Your first 5 conversations are free.

== External services ==

This plugin connects your site to the Hadeel service operated by Yamama (https://hadeel.app):

* On every front-end page, when a widget key is saved, the browser loads `https://hadeel.app/launcher.js`. The script shows the chat button and, when a visitor opens it, loads the Hadeel chat from hadeel.app. It sends the page address and origin so the service can confirm the installation, and whatever the visitor types or says in the chat so Hadeel can answer.
* The “Connect with Hadeel” button opens `https://hadeel.app/app/#/wp-connect` with your settings page address and a one-time WordPress nonce; after you confirm, hadeel.app sends you back to that page with your widget key. No password or personal data is sent to your site.

Terms of service: https://hadeel.app/terms/
Privacy policy: https://hadeel.app/privacy/

== Installation ==

1. Plugins → Add New → search “Hadeel” (or Upload Plugin with the zip from Hadeel → Channels).
2. Activate the plugin.
3. Settings → Hadeel → “Connect with Hadeel”, sign in, press “Connect now”.

== Frequently Asked Questions ==

= Does it work on WordPress.com? =
Free and lower WordPress.com plans do not allow plugins. Use your direct Hadeel link (Hadeel → Channels) as a button or menu link instead.

= Where is my widget key? =
In Hadeel → Channels → Hadeel on your website: the part starting with `wk_` inside the code.

= Does it slow my site down? =
It adds one small asynchronous script; the chat itself only loads when a visitor opens it.

== Screenshots ==

1. The settings page with the one-click connect button.
2. The “Talk to Hadeel” button on a site.

== Changelog ==

= 1.0.0 =
* First release: one-click connect, manual key, custom button text, Arabic admin screen.

== Upgrade Notice ==

= 1.0.0 =
First release.
