mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-23 02:53:32 +00:00
8cdfe861e8
Snippet import: new "Import from URL" flow fetches a page and stores its readable content as a snippet. Extraction uses the mackee/go-readability library (Mozilla Readability port) and outputs Markdown, so nav/footer boilerplate is dropped. The snippet list shows the source, and the edit dialog is now wider with a taller content box. Summarize: new "Summarize with AI" action on a conversation calls the AI and adds the result as a private note. It shows an info toast right away so the user knows it started, since the call can take a few seconds. This adds an "info" toast variant that any feature can use. Assistant languages: assistants can be given a list of allowed reply languages. The assistant replies in the customer's language when it is one of them, otherwise it falls back to the first. The preview also lists the knowledge sources it used. Cleanup: replace hardcoded gray/zinc/white colors with theme tokens (text-muted-foreground, text-foreground, bg-accent) across several components.