=== PageSpeedCare Social Chat Widget ===
Contributors: pagespeedcare
Tags: whatsapp, messenger, telegram, chat, contact
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://buymeacoffee.com/pagespeedcare

Ultra-fast floating social chat widget. Loads all CSS, JS, and SVG assets inline in the footer for zero additional HTTP requests and maximum speed.

== Description ==

PageSpeedCare Social Chat Widget is built for speed. Unlike other plugins that load multiple CSS and JS files, this plugin injects everything inline and only where it's needed.

Features:
* NEW: Modern Premium Dashboard with Tabbed Navigation.
* NEW: Live Visual Preview for instant customization feedback.
* NEW: "Icons Only" mode for a clean, professional circular look.
* NEW: Data Cleanup Control - option to delete data on uninstall.
* Enable/Disable widget easily.
* Add multiple social channels (WhatsApp, Messenger, Telegram, etc.)
* Customizable Icons (SVG), Colors, and Backgrounds.
* 4 Positioning options.
* Attention-grabbing text feature with float animation.
* Zero external requests - for maximum PageSpeed score.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to 'Settings > Social Chat Widget' to configure your widget.

== Frequently Asked Questions ==

= Does this plugin affect my PageSpeed score? =
No. It is designed to be ultra-lightweight. All assets load inline in the footer, so there are no extra HTTP requests that could slow down your site.

= Can I add custom SVG icons? =
Yes, you can paste your own SVG code directly into the social channel settings.

== Screenshots ==

1. Floating chat widget on the frontend with attention-grabbing tooltip.
2. Expanded widget showing multiple active social channels.
3. Modern Admin Dashboard: General Configuration with Live Preview.
4. Admin Dashboard: Appearance settings for colors and custom icons.
5. Admin Dashboard: Managing multiple Social Channels with deep links.

== Upgrade Notice ==

= 1.1.0 =
This update introduces a completely redesigned admin dashboard with a Live Preview feature and "Icons Only" mode. Highly recommended for a better management experience.

== Changelog ==

= 1.1.0 =
* Major Feature: Redesigned Admin Dashboard with Tabbed Navigation.
* Major Feature: Added Real-time Live Preview sidebar to the settings page.
* Feature: Added "Icons Only" mode for a more compact circular design.
* Improvement: Eliminated layout gap between attention text and icon for a cleaner look.
* Improvement: Switched to iOS-style Toggle Switches in the dashboard.
* Improvement: Card-based Social Channel management for better UX.
* Fix: Corrected positioning logic and resolved JS console errors.
* Compliance: Renamed all internal identifiers with `pscscw_` prefix for better compatibility.
* Compliance: Implemented proper WordPress asset enqueuing system.
* Compliance: Added `uninstall.php` for clean data removal (optional).
* Improvement: Expanded SVG whitelist for better custom icon support.
* Improvement: Added settings migration logic for seamless updates from older versions.

= 1.0.2 =
* Improved UX: Upward expansion logic (fixed trigger button).
* Added smooth slide-up and fade-in animations.
* Improved tooltip (attention text) positioning and animation.
* Logic to transform Chat icon to Close icon when open.
* Enhanced accessibility with ARIA labels.

= 1.0.1 =
* Refined SVG sanitization for better icon support.

= 1.0.0 =
* Initial release.
