== Changelog ==

= 0.4.5 =
* Product names, categories and descriptions no longer show codes such as &#8211; or &amp; in the chat: they are decoded when synced and when displayed.

= 0.4.4 =
* Chat scrolling: replies taller than the chat open at their first line (not the end), scrolling is smooth, a “More below” button appears when there is more content below, and the position is corrected when the typing dots disappear.

= 0.4.3 =
* Lead form: kept across page changes until it is sent, and shown again when the visitor asks for it (the assistant no longer answers “it is above”).

= 0.4.2 =
* The summary shown before “Go to checkout” now includes a shipping line (method and cost, “Free”, or “calculated at payment from your address”) and the final total. The cart sent to the assistant carries the shipping and whether it is still pending, so it can answer “how much is shipping?” with real figures.
* Customer address in another country than the store’s no longer inherits the store’s default state (WooCommerce rejected it).

= 0.4.1 =
* The comparison table in the chat shows every feature of each product, in the store’s order, with ✓/✗ for yes/no and the differences first. Products now sync an ordered `specs` list: attributes, weight, dimensions and the spec tables / definition lists / “Label: value” bullets of the description. New filter tendr_product_specs to add features from custom fields (ACF…). The /tendr/v1/product endpoint also returns them.

= 0.4.0 =
* Lead capture: new collect_lead tool. The assistant opens a form inside the chat (fields configured in the dashboard), the visitor sends it, and the contact is stored in Tendr, emailed to the owner and, optionally, forwarded to Contact Form 7, WPForms, Gravity Forms, Fluent Forms or a signed webhook. New REST endpoints /tendr/v1/forms and /tendr/v1/lead (signed by the Tendr API).
* WooCommerce is now optional: without it the plugin registers its own admin menu, syncs pages and posts, hides cart and checkout features and uses WP-Cron instead of Action Scheduler.
* The widget sends the page’s sections (headings and forms with an id) so the assistant can scroll the visitor to them with scroll_to_section.
* Filter tendr_lead_received to route leads to your own CRM.

= 0.3.1 =
* New cart actions for the assistant: remove an item and change its quantity. Changing a variation is now remove + add, so the cart never keeps both.
* A product with variations is never added with a default option: the store is asked for its variations and the assistant has to ask the customer first.
* The cart sent to the assistant now includes the variation of each line, so it can act on the right one.
* After a cart action the assistant writes one short line and leaves the confirmation to the chat.

= 0.3.0 =
* Adding several products in a row from the chat is now reliable: cart actions run one after another, so two quick “add” actions can no longer end up in different carts.
* The chat only shows “added” once the store’s cart really contains the product; otherwise it says it could not be added.
* The assistant no longer tells the customer something is in the cart before the store confirms it.

= 0.2.9 =
* Sales from the chat on the WooCommerce → Tendr screen now show the currency symbol and amount on one line, without decimals for large amounts.
* New plugin icon and banner.

= 0.2.8 =
* Technical support: the assistant answers usage, assembly and warranty questions from the manuals and spec sheets you upload in the Tendr dashboard, following your own support guidelines.
* Animated chat themes (optional, from the Tendr dashboard) that keep your colour, corners and icons editable.
* Mascot themes: the chat button becomes an animated character (a robot, a blob, a one-eyed creature, a retro console, a cloud with its own weather, a fox or a jellyfish) that blinks, follows the pointer, falls asleep when idle and reacts while the assistant answers. Respects prefers-reduced-motion.
* Choose the send button icon.
* Assistant photo: pick one of the built-in avatars, use the initial or upload your own image (cropped to a circle) from the Tendr dashboard.
* The chat closes when you click outside it. If the assistant answers while the chat is closed, a preview bubble and an unread counter appear on the button (the mascot says it out loud).
* Redesigned WooCommerce → Tendr screen.
* After adding to the cart, the chat offers “Go to checkout” and “Keep browsing” buttons so customers can move on without typing.
* Avatar background colour can be changed.
* The chat keeps in sync with the real store: if the cart changes outside the chat (emptied, items removed, session expired) it tells the customer and the assistant; signing out starts a fresh conversation.
* Admin styles are now loaded as a stylesheet, and the setup notice can be dismissed and only shows on the Dashboard and Plugins screens.
* Mascots and themes are now independent: combine any mascot with any theme from the Tendr dashboard.
* Live support: the chat header shows whether your team is online (with your support hours and time zone, set in the dashboard); when nobody is around it says so and tells the customer when you are back. Messages from your team arrive in the chat in real time.
* Take over a chat from the Tendr dashboard: the assistant pauses, the chat header shows who is helping and your replies appear instantly (also if the customer changes page). Hand it back to the assistant whenever you want; it also takes over again on its own if nobody replies for 10 minutes.
* Support tickets: when the assistant can’t solve something (a damaged order, a return, a fault) it asks for the customer’s email and opens a numbered ticket. The customer sees the number in the chat and gets a link to follow it and reply; your team answers by email from the Tendr dashboard.

= 0.2.7 =
* Proactive prompt next to the chat button: on product pages it names the product and offers to compare it (configurable from the Tendr dashboard).
* Product-specific suggested questions when the prompt is clicked.
* If the store moves to a new domain, Tendr follows it and keeps its settings, catalog and stats.
* New service addresses: tendr.cc and api.tendr.cc.

= 0.2.6 =
* "Powered by Tendr" link is now off by default and optional.
* Full translations: English, Spanish, German, French and Italian.
* Multilingual stores: WPML and Polylang support.

= 0.2.5 =
* Chat interface in 5 languages; product language sent in the catalog sync.

= 0.2.0 =
* Custom launcher icons, open/close animations and optional sounds.
* Product hover previews and real shipping costs in answers.

= 0.1.0 =
* First release: recommendations, cart, assisted checkout, rules, licences.
