Commit Graph

1204 Commits

Author SHA1 Message Date
Abhinav Raut a67f14ce5e Play notification sound only on messages from agents 2026-03-28 18:15:35 +05:30
Abhinav Raut b04d9d6f8d Sign all avatar URLs in widget endpoints and WS broadcasts 2026-03-28 18:03:33 +05:30
Abhinav Raut 3b482e37c6 Fix widget: re-fetch convos on JWT set, prevent double conversation creation 2026-03-28 17:45:17 +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 4e0f781bd7 enrich exit only if not already set 2026-03-28 13:23:58 +05:30
Abhinav Raut 1344700973 Remove insecure ref number matching, relax email constraint for ext_id contacts 2026-03-28 13:07:21 +05:30
Abhinav Raut 23e6a70844 Allow contacts with different external_user_ids to share email, add enrichment and remove email check from conversation matching 2026-03-28 12:29:44 +05:30
Abhinav Raut b8519b9070 Fix frontend build warnings: modern Sass API, split codemirror chunk. 2026-03-25 12:10:34 +05:30
Abhinav Raut 14a7bf4435 Add widget.js minification step to build; subtle shadows. 2026-03-25 11:26:08 +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 2233712f85 Polish widget UX: accessibility, tab nav, expand/collapse, conversation list, and mobile fixes. 2026-03-25 02:28:43 +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 f26602152b Fix widget unread badge not restoring when chat is closed
showChat() unconditionally hides the unread badge, but hideChat()
never re-evaluates it. If the visitor opens and closes the widget
without viewing any conversation, the badge stays hidden even though
unread messages remain.
2026-03-22 17:33:08 +05:30
Abhinav Raut da2a706a7a Don't show widget launcher until conversation data is loaded. Hide widget on fatal errors (expired JWT, server errors, init failures). 2026-03-22 17:25:02 +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
Abhinav Raut bcd0ed4fd1 Show conversation status in search results 2026-03-22 15:17:07 +05:30
Abhinav Raut 34aecd268f Fix widget business hours: use assigned team hours instead of always defaulting, fix timezone offset calculation. Show continuity email indicator in agent UI, broadcast email replies to widget as a user could have widget open and reply from email at the same time. 2026-03-18 10:50:55 +05:30
Abhinav Raut a788553137 Use first unread message as subject for continuity emails, add ref number to continuity email subject.
- Continuity email layout fixes and improvments.
- Replace haikunator with email local part for visitor names, fallback to "Visitor"
- Add optional website_url config field for "go to chat" link in continuity email footer
- Remove unused / unncessary i18n keys.
2026-03-16 00:49:20 +05:30
Abhinav Raut b0f0215952 Fix attachment previews in pending messages
- Fix ci
2026-03-15 21:36:02 +05:30
Abhinav Raut b8e236713d Merge branch 'main' into feat/live-chat-channel 2026-03-15 21:09:21 +05:30
Abhinav Raut e7ab571c48 add reply guards, gravatar fallbacks for avatars, draft preview in conversation list, clickable agent avatars. Show sent messages immediately instead of waiting for WebSocket response. 2026-03-11 14:52:21 +05:30
Abhinav Raut 678239027e Refactor incoming message flow, add visitor upgrade on email reply, rate-limit livechat conversations 2026-03-11 12:19:58 +05:30
Abhinav Raut eb0a7b437d Add page visit tracking to widget
- fix duplicate initialization guard
- notification bell for agents
- Refactor and clean up dead code
- Fixes to pre chat form
- Add new column country to users table
- Update ratelimit pkg to be generic
2026-03-11 03:52:07 +05:30
Abhinav Raut 384dad0276 Update README.md 2026-03-09 22:18:21 +05:30
Abhinav Raut b277b30c4c Create issues.yml 2026-03-09 22:16:37 +05:30
Abhinav Raut 36e2bd971b Create issues.yml 2026-03-09 22:15:40 +05:30
Abhinav Raut 68ed6b2df5 Update ROADMAP.md 2026-03-09 00:02:35 +05:30
Abhinav Raut 0a662b081c Add widget js API (hideDefaultLauncher, setUser, logout), fix static methods, update installation tab 2026-03-03 16:53:38 +05:30
Abhinav Raut 18764cb562 Redact websocket message content and let clients fetch the full message once they receive this event, this will make sure a client actually has permission to fetch that message.
- Reduce exessive GETs on WS events, debounce such requests.
2026-02-26 16:19:09 +05:30
Abhinav Raut d0997d0041 Fix permission denied toast errors on WS updates for restricted agents
Ref #252
v1.0.3
2026-02-26 11:20:57 +05:30
Abhinav Raut 0b7c816407 Allow live chat widgets to detect lang from user browser and fallback to defaults set by admin.
New handler to return all available langs, remove hardcoded langs
2026-02-26 01:54:34 +05:30
Abhinav Raut 45a80118cc Fix CSAT responses not visible agent message bubble
- Fix csat form submission in widget
- Update vite config to allow cross origin requests
2026-02-26 00:35:49 +05:30
Abhinav Raut aeb153b15d fix: message meta not being saved 2026-02-25 23:32:02 +05:30
Abhinav Raut 1ab78259ab Restrict message retries only to sender agent & failed messages 2026-02-24 23:59:05 +05:30
Abhinav Raut 53181af680 Merge branch 'main' into feat/live-chat-channel 2026-02-24 23:09:51 +05:30
Abhinav Raut 131d32e320 Translate search result tabs
- Translate sort options
- Correct button size in ProfileEditView
2026-02-24 22:54:40 +05:30
Abhinav Raut 9b3e3f114d Fix: tag input in automations not being selected
- Add translated error messages for invalid automation rules.
- add support for warning sooner

Fixes #251 #230
v1.0.2
2026-02-24 22:30:14 +05:30
Abhinav Raut 4eb5dce12c Merge branch 'main' into feat/live-chat-channel 2026-02-22 15:13:36 +05:30
Abhinav Raut 81847c7f4e i18n: fix localization issues (#231)
Not backported to main due to extensive i18n refactoring changes in this branch.
2026-02-22 15:12:00 +05:30
Abhinav Raut 89141a83c9 Merge pull request #247 from josephsellers/show-subject-in-list
feat: display conversation subject in list view
2026-02-20 01:07:01 +05:30