Commit Graph

98 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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
Abhinav Raut 000fd83b30 Add uuid column to inboxes table to use as widget public identifiers
Auto focus on form inputs in widget
Use defer widget in widget installation script
2026-04-03 02:34:07 +05:30
Abhinav Raut 13db8d2843 Fix command palette macros not working due to previous variable rename causing issues.
Improve sidebar navigation to retain open conversation

Fix notification when disabled app still tries sending emails.
2026-03-30 18:51:23 +05:30
Abhinav Raut 2a8d4b3a96 Fix notification count in document title on navigation 2026-03-30 17:17:27 +05:30
Abhinav Raut 747d3ca781 Preserve notification count in document title on navigation 2026-03-30 17:08:04 +05:30
Abhinav Raut 3c00028c5b Fix gravatar not visible in convo list 2026-03-30 17:01:51 +05:30
Abhinav Raut b1bef238cf Feat: context links, context links allow admins to set urls to external system from sidebar with encrypted payload in query parameters. 2026-03-30 16:00:37 +05:30
Abhinav Raut 18409589ed Show default name and email fields in pre-chat form config 2026-03-30 03:05:22 +05:30
Abhinav Raut c06311b93b Rename AdminPageWithHelp to AdminSplitLayout 2026-03-29 16:52:38 +05:30
Abhinav Raut ed9b97f16e Polish message bubble envelope 2026-03-29 14:13:32 +05:30
Abhinav Raut 789a58ed0c Add echo_id for pending message matching, show ext_id in contact search, minor UI polish 2026-03-29 13:32:38 +05:30
Abhinav Raut 653266c6bc Remove unused readme file
Remove participant tooltip for message bubbler as activity log takes care of it
Fix create sender before creating conversation
2026-03-28 22:51:35 +05:30
Abhinav Raut 11eb4d0edc Translate remaining hardcoded eng strings. 2026-03-28 21:48:19 +05:30
Abhinav Raut 42f5a7faf5 Show ext id in contact list 2026-03-28 19:59:13 +05:30
Abhinav Raut ea0443e80b Fix contact detail: consistent text-xs font size, add icons for external ID and created date 2026-03-28 19:47:44 +05:30
Abhinav Raut 6a7ecf6b8a Resolve sender using conversation context, show ext_id on contact detail 2026-03-28 18:44:57 +05:30
Abhinav Raut a67f14ce5e Play notification sound only on messages from agents 2026-03-28 18:15:35 +05:30
Abhinav Raut 6ae73eef06 Check meta.from vs contact email for participant indicator 2026-03-28 15:48:31 +05:30
Abhinav Raut 1a148bd8ec Show unread notification count in browser tab title 2026-03-28 15:03:14 +05:30
Abhinav Raut 975b996a2c fix: remove duplicate useI18n declaration 2026-03-28 14:54:42 +05:30
Abhinav Raut c3f0b18392 Add participant activity note and visual indicator for non-contact senders 2026-03-28 14:50:58 +05:30
Abhinav Raut 1d36ddde91 Make first name mandatory for live chat jwt 2026-03-28 13:46:23 +05:30
Abhinav Raut c057560251 Sync prechat form labels with custom attributes; hide stale messages during chat load. 2026-03-25 11:16:30 +05:30
Abhinav Raut 8b556d95a6 Polish auth pages, contact detail, and avatar upload UX. 2026-03-25 01:51:05 +05:30
Abhinav Raut 64ffd558d5 Polish automation UI: theme-aware colors, accessibility, and cleanup. 2026-03-25 01:34:45 +05:30
Abhinav Raut 969b5be9a3 Fix mention styling in messages, improve notification panel UX 2026-03-25 01:18:08 +05:30
Abhinav Raut 8fd05667ac Improve sidebar semantics, form label hierarchy, and translate remaining hardcoded strings 2026-03-25 00:47:18 +05:30
Abhinav Raut 9652c6d4bc Clean up i18n keys, sort language files, and refactor admin UI components. 2026-03-24 01:42:35 +05:30
Abhinav Raut 802987dcad Reorder livechat inbox form fields; show reply expectation message when agent is offline during business hours 2026-03-24 00:16:16 +05:30
Abhinav Raut 395a4e80df Refactor ws updates to use direct json payloads instead of prop value pattern.
Add real-time agent availability status updates to widget.

Consolidate multiple WS broadcasts into single calls
2026-03-22 19:34:21 +05:30
Abhinav Raut 48175300ab Add rate limiting to public endpoints (auth, CSAT), fix rate limiter race condition and missing Content-Type header. Refactor rateLimitWidget into generic rateLimit middleware with config defaults. 2026-03-22 16:59:55 +05:30