Commit Graph

1301 Commits

Author SHA1 Message Date
Abhinav Raut 66cf21731f dedupe page visits for widget 2026-04-13 00:33:59 +05:30
Abhinav Raut c798c676a5 Hide server-side security fields in chat settings response and adjust iframe border radius 2026-04-12 23:17:11 +05:30
Abhinav Raut dcf45fd168 Skip already attached media in new conversation api.
Extract common logic for new message and convo api.
New helper functions to fetch multiple medias in 1 shot
2026-04-12 23:02:22 +05:30
Abhinav Raut 7524ba6c19 Add support for custom attributes to createConversationRequest
More polishes to notif panel
Add `You` for current agent in select combobox.
Remove unncesary checks for existing notifications while marking it as read.
Send oldest SLA notifcation first (update sql query)
2026-04-12 22:54:54 +05:30
Abhinav Raut 588c364821 Include visitor name in chat init response
Fixes for correctly conversations and messages
Rename establishSession to saveSess
2026-04-12 16:17:10 +05:30
Abhinav Raut 64eb4e4c8b Fix widget greeting overflow with long names. Sync messages on every WS connect 2026-04-12 13:10:17 +05:30
Abhinav Raut f487950fbb Polish notification panel 2026-04-12 03:35:32 +05:30
Abhinav Raut edb65650d9 Fix incorrect unread message count when a continuity message is auto sent in conversation
Remove dead widget code
Add config.toml to goreleaser
2026-04-12 03:18:47 +05:30
Abhinav Raut 8846ede8c7 standardize project name to lowercase "libredesk" across documentation, UI, and codebase.
Vue router console warning fixes
2026-04-10 16:33:27 +05:30
Abhinav Raut 0305fecaf0 Add csat uuid as available param to CSAT request template 2026-04-09 17:03:52 +05:30
Abhinav Raut fd750b8cf4 Add tag importer with file similar to agent import.
Update help text across many admin sections for clarity
2026-04-09 15:35:29 +05:30
Abhinav Raut a327ca69a7 Add new csat widget that just accepts 2026-04-09 13:55:39 +05:30
Abhinav Raut f6e099c696 Fix notification sound to only alert for new or hidden-tab conversations 2026-04-09 02:25:07 +05:30
Abhinav Raut 5b5b83728a Polish outer app login form layouts and improve email templates for consistency and clarity 2026-04-09 01:54:51 +05:30
Abhinav Raut ee26b62366 Disable widget actions when message is being sent
Fix widget input text area height
2026-04-09 01:25:51 +05:30
Abhinav Raut fa2d17ee15 Update conversation list item layout with channel indicator and improve SLA time format 2026-04-09 01:06:24 +05:30
Abhinav Raut 4c47dd8578 Drop redundant overdue text from compact SLA badges in conversation list 2026-04-09 00:41:23 +05:30
Abhinav Raut bb14b30121 Remove gravatar 2026-04-09 00:37:09 +05:30
Abhinav Raut de740245c1 Simplify custom static dir to single mapping that mirrors built-in static/ structure 2026-04-09 00:24:05 +05:30
Abhinav Raut 37269af934 Persist small screen overlay dismissal in session storage 2026-04-09 00:13:13 +05:30
Abhinav Raut 70f7b4f602 Add small screen overlay warning for agent dashboard on mobile devices 2026-04-09 00:10:07 +05:30
Abhinav Raut 88a58c0f3b Custom static directory support, self hosted installations can pass static dir path to override csat and other web-templates, js and css files. Allowing instances to be fully customizable.
- New meta JSONB field in CSAT responses to capture random adhoc data as that might be needed for custom CSAT pages.
- Add support prefilled rating for csat pages picked from query param
2026-04-09 00:04:00 +05:30
Abhinav Raut e7eac6eb94 Strip csat uui for agents (session) but keep for api consumers 2026-04-08 12:57:05 +05:30
Abhinav Raut bdaf9159a2 Add dynamic launcher size adjustment for mobile and desktop 2026-04-08 12:48:47 +05:30
Abhinav Raut aaff1b1427 assign oldest convos first in auto assigner 2026-04-07 16:32:03 +05:30
Abhinav Raut 14b29a7063 Resolve inline image CID references in message API responses instead of letting the api consumer handle it.
Fix make file go run cmd
2026-04-07 16:19:19 +05:30
Abhinav Raut bf7919747d Fix widget updateLastSeen firing on pre-load, skip for cached convo re-open 2026-04-06 15:18:33 +05:30
Abhinav Raut eea99130fa Defer widget launcher display until auth and conversation data are loaded 2026-04-06 14:21:36 +05:30
Abhinav Raut ceec9623cd Debounce update-last-seen on tab switch, throttle idle detection goOnline 2026-04-06 13:47:48 +05:30
Abhinav Raut 3e18ce15ad Polish sidebar page visits, make contact name linkable, fix redundant sync convo switch in widget on every tab change 2026-04-06 13:18:02 +05:30
Abhinav Raut 6dc2f1b1df Fix translations escape | 2026-04-06 11:58:00 +05:30
Abhinav Raut 3db51ec02d Fix consolidate duplicate i18n keys that have same values
Polish csat page
2026-04-05 22:05:23 +05:30
Abhinav Raut 21824f6de9 Polish UI: fix reply box cutoff, refine scrollbars and text rendering 2026-04-05 20:42:55 +05:30
Abhinav Raut 54ecfb1c84 Fix own messages showing as unread in widget 2026-04-05 19:06:23 +05:30
Abhinav Raut 3c3d6a6149 feat: replace widget JWT auth with Redis session tokens and parent-domain cookies Fix iOS Safari session loss by moving storage from iframe localStorage to first-party cookies.
Add /auth/exchange, /auth/me endpoints for the same.

Fix duplicate network calls, and agent notification for new conversations.
2026-04-05 18:58:45 +05:30
Abhinav Raut 235afb2b88 Play notification sound when tab is hidden and defer last-seen updates when tab is hidden
Update js template rendered to use pipe syntax for fallbacks
2026-04-05 01:51:45 +05:30
Abhinav Raut 2839dcff88 Fix send typing indicators every 3 sec
Fix vite config
2026-04-05 01:06:22 +05:30
Abhinav Raut 88bb199da2 Clear typing indicators after 5 sec 2026-04-05 00:54:29 +05:30
Abhinav Raut 20ff4a157a Sync msgs immediately once widget comes back online 2026-04-05 00:32:01 +05:30
Abhinav Raut a71432eff9 Sync missed messages on widget WS connect to fix automation replies not appearing
Automation replies sent before the widget's WebSocket connection was
established (e.g. first message from a new visitor) were silently lost
because LiveChat.Send() returned ErrClientNotConnected. Now the widget
syncs conversations and messages on every WS join, reconnect, and
network recovery - silently to avoid loader flashes.
2026-04-05 00:18:46 +05:30
Abhinav Raut 154be058e4 Fix widget mobile view zooming in for ios as the msg input had text size < 16 px.
More fixes for widget mobile view
Sync messages once websocket is connected
2026-04-05 00:09:37 +05:30
Abhinav Raut 5c29708cc9 Fix iframe src url 2026-04-04 22:58:59 +05:30
Abhinav Raut 02f7c19082 Move trusted domaisn check to middleware 2026-04-04 22:21:34 +05:30
Abhinav Raut 5367bafa09 fix chunking for widget app 2026-04-04 21:39:49 +05:30
Abhinav Raut 6abb6ad017 Move continuity config and intervals to live chat inbox form from toml.
- Refactor widget.js.
- Fix possible race conditions in inbox reload logic.
- Reload only the updated inbox when an inbox is updated / created not all.
- Retain last inbox while navigatin back from admin -> inbox
2026-04-04 21:35:04 +05:30
Abhinav Raut 87ab8f5c73 Fix sidebar user dropdown positioning and notification panel double-fetch 2026-04-04 18:52:20 +05:30
Abhinav Raut b34e581616 Skip redundant contact updates when JWT values unchanged 2026-04-04 18:42:44 +05:30
Abhinav Raut 73ea8741a2 Fix dev backend failing to start without the frontend being built. 2026-04-04 18:40:52 +05:30
Abhinav Raut 5a06a90152 Revert minification step for widget.js in production build process as the widget js is already very small and is not needed now 2026-04-04 18:36:36 +05:30
Abhinav Raut 0a9e57dcc5 Revamp live chat widget JS API, use inbox UUID, non-blocking installation
Update installation instructions for clarity
Remove unncessary convo custom attribs being passed in JWT tokens for live chat
2026-04-04 18:11:54 +05:30