mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-25 22:09:36 +00:00
08e6801fc4
Widget: - home background stays pinned while the content scrolls, fade sits on it - one radius and shadow scale across cards, buttons and inputs - live search in the help tab with a "no results" state - attachment-only messages show "Image" in the conversation preview - launcher and panel use the same shadows as the header Admin: - preview column is a fixed width so zoom does not resize it, hidden on small screens - preview matches the real widget again - search spinner replaces the magnifier instead of covering the page Fixes: - deleting a proactive message did nothing, the dialog cleared the pending id before the handler read it - an inbox created through the API could not be saved from the form, it jumped to the pre-chat tab with no error Adds livechatWidgetTabs.cy.js covering the proactive message and help center tabs.
838 B
838 B
Livechat widget JWT test page
A single-file page for testing the livechat widget's JWT contact authentication locally. Signs an HS256 JWT in the browser from an editable payload and loads the widget with it, or as an anonymous visitor with the JWT checkbox off.
Run
Serve the file over HTTP (the widget won't load from file://):
python -m http.server 8005
Open http://localhost:8005, then fill in:
- baseURL: your Libredesk instance (default
http://localhost:8001- Default points to the widget dev server, not the API server) - inboxID: the livechat inbox's UUID (from the inbox's installation snippet)
- Signing secret: the "Secret Key" from the inbox form
exp is set to now + 1 hour on every generate. Use "Clear session" to drop the
widget's cookies and start over as a brand-new visitor.