=== iSupportive Admin Assistant ===
Contributors: isupportive
Tags: support, helpdesk, customer support, live chat, knowledge base
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress admin area to iSupportive so admins can access tickets, chat, billing, invoices, profile controls, and knowledge-base content from one compact support drawer.

== Description ==

iSupportive Admin Assistant connects a WordPress site to an iSupportive account and adds a floating support launcher inside `wp-admin`.

After connecting, the plugin can show a compact support drawer for allowed users and screens. The drawer loads your iSupportive workspace inside WordPress and gives access to:

* Support tickets and ticket history
* Live chat threads
* Billing and subscription controls
* Invoice access
* Profile management
* Knowledge-base content

Main features:

* OAuth-like connect flow from WordPress to iSupportive
* Floating admin launcher with left or right positioning
* Optional visibility restrictions by role, user ID, or admin screen
* Compact embedded workspace designed for narrow admin drawers
* Translation-ready strings
* Escaped admin output and WordPress-friendly coding practices

The plugin requires an iSupportive service endpoint. For local development you can use `http://localhost:8080` and `http://localhost:4400/api`. For production use the iSupportive service URLs.

== Installation ==

1. Upload the `isupportive-admin-assistant` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the `Plugins` screen in WordPress.
3. Open `iSupportive` in the WordPress admin menu.
4. Confirm the app URL and API URL.
5. Click `Connect with iSupportive` and authorize the website.
6. Save launcher visibility settings if you want to restrict access by role, user, or screen.

== Frequently Asked Questions ==

= Does the plugin work without an iSupportive account? =

No. The plugin is a WordPress bridge for the iSupportive platform and requires a connected iSupportive account.

= Can I limit the launcher to specific users or screens? =

Yes. You can restrict the drawer by WordPress roles, explicit user IDs, and admin screen IDs.

= Does the plugin load on the public site? =

No. The launcher is designed for `wp-admin` only.

= Can I use localhost for development? =

Yes. The plugin settings support local app and API URLs for development environments.

== Screenshots ==

1. Connection and launcher settings page in WordPress admin
2. Floating iSupportive launcher inside `wp-admin`
3. Compact embedded support workspace with tickets, chat, billing, and profile tools

== Changelog ==

= 0.1.0 =

* Initial release
* WordPress to iSupportive connection flow
* Admin launcher with configurable visibility and positioning
* Embedded support drawer for tickets, chat, billing, invoices, profile, and knowledge-base access
