Commit Graph

1543 Commits

Author SHA1 Message Date
Abhinav Raut b65d9679ae fix: scroll to target message on scrollTo deep-link instead of bottom 2026-05-27 02:14:23 +05:30
Abhinav Raut 0654e3bd2f fix: skip empty incoming attachments; assign team/agent before running post message hooks this allows automations to see the conversations assigned agent & team. 2026-05-27 00:24:27 +05:30
Abhinav Raut f58149291d refactor: dedupe overview report fetch/handler boilerplate 2026-05-26 12:52:07 +05:30
Abhinav Raut 214cc60374 fix: derive conversation list link context from route params, not name substring
route.name.includes('view') also matched 'overview', causing vue-router to
throw "Missing required param viewID" when the kept-alive conversation
list recomputed its links from /reports/overview. Switch to checking
route.params.teamID / route.params.viewID directly.
2026-05-26 12:07:34 +05:30
Abhinav Raut eb4e49adf0 fix: gate mark-as-read by route, clear stale lastInboxPath on load 2026-05-26 03:31:49 +05:30
Abhinav Raut 9f09d8c521 fix: dedupe parallel custom-attribute fetch, cache AI prompts in store 2026-05-26 03:06:35 +05:30
Abhinav Raut cd8eb5ee26 perf: keep-alive inbox layout to skip refetch on admin round-trip 2026-05-26 03:00:02 +05:30
Abhinav Raut e5ffe11394 Fix edge cases in auto scrolling behavior.
Extract sticky scroller to a composable for main & widget apps.
2026-05-26 02:18:48 +05:30
Abhinav Raut 0a0500f29a refactor: fold widget availability broadcast into BroadcastAgentAvailability 2026-05-26 00:21:15 +05:30
Abhinav Raut 92fe4f4539 tweak: scope conv list refresh interval to InboxView, bump to 2m 2026-05-25 23:18:34 +05:30
Abhinav Raut 2874e78e97 fix: mark-unread no-op when latest message is a continuity email 2026-05-25 01:59:56 +05:30
Abhinav Raut ad089fc79f fix: hide conv list items while skeleton is visible 2026-05-22 22:37:29 +05:30
Abhinav Raut e4fae78c2b tweak: bump skeleton minVisibleMs 300 -> 500ms 2026-05-22 22:23:38 +05:30
Abhinav Raut 46d56800b1 fix: skeleton not showing on slow network - View Transition was freezing render
`await fetchConversation` inside `document.startViewTransition` held the BEFORE
snapshot for the full fetch duration, hiding the in-flight skeleton. Reverting
to fire-and-forget; the view transition completes instantly and the fetch runs
in background so delayedLoading's 300ms skeleton renders normally.
2026-05-22 22:17:48 +05:30
Abhinav Raut 183c83b5e6 fix: prod crash from private methods, plus PR #336 review fixes 2026-05-22 21:29:57 +05:30
Abhinav Raut a502039e59 perf: WS push for conv list, store/cache cleanups, ad-hoc UI polish
Convs and messages now push the full list-row payload to perm-authorized agents on create/assign/message, so livechat returning customers bubble up instantly without waiting for the timer refresh. Background list refresh bumped 30s ->  60s as a drift safety net.
2026-05-22 20:47:36 +05:30
Abhinav Raut aa972d53e2 Merge pull request #334 from abhinavxd/dependabot/npm_and_yarn/frontend/yaml-2.9.0
build(deps): bump yaml from 2.7.1 to 2.9.0 in /frontend
2026-05-21 22:29:16 +05:30
dependabot[bot] 735f5da1a8 build(deps): bump yaml from 2.7.1 to 2.9.0 in /frontend
Bumps [yaml](https://github.com/eemeli/yaml) from 2.7.1 to 2.9.0.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.7.1...v2.9.0)

---
updated-dependencies:
- dependency-name: yaml
  dependency-version: 2.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 16:19:50 +00:00
Abhinav Raut ba64f55d36 Merge pull request #333 from abhinavxd/perf-optimizations-2
WS rewrite: per-client subscriptions and perf improvements
2026-05-21 21:47:31 +05:30
Abhinav Raut ee4ddae407 fix: log team-member fetch errors during cache invalidation 2026-05-21 21:44:25 +05:30
Abhinav Raut edc82e9e55 refactor: drop Casbin, centralize agent cache invalidation, dedupe pending SLAs 2026-05-21 21:24:42 +05:30
Abhinav Raut 33572efa04 fix: address WS PR review - stale cache retry, livechat buffer, last_active TOCTOU 2026-05-21 00:46:43 +05:30
Abhinav Raut 7a8efcde16 fix: widget ping interval, last_active flush, ws ping error, slim new_message payload 2026-05-21 00:13:33 +05:30
Abhinav Raut 43ebed1c3a WS rewrite: per-client subscriptions and perf improvements
Targets broadcasts via per-tab list and open subs (validated at subscribe time)
instead of broadcasting message uuid to all agents. Adds frontend list typing, throttled sound,
and many perf improvements to reduce cpu memory & database queries.
Other fixes: Enforce message-to-conversation binding in handleGetMessage
2026-05-20 23:42:07 +05:30
Abhinav Raut 68d63948c3 Merge pull request #332 from abhinavxd/fix-attch-download-for-s3
fix: S3 attachment URLs and missed conversation list updates
2026-05-19 22:16:24 +05:30
Abhinav Raut 2b6fd313d4 fix: S3 attachment URLs and missed conversation list updates 2026-05-19 21:27:04 +05:30
Abhinav Raut 68d1b8117f fix: attachment download through backend for S3 stores 2026-05-19 15:24:54 +05:30
Abhinav Raut 35d5f1be86 Merge pull request #330 from abhinavxd/fix/yahoo-quoted-text
fix: hide Yahoo + Gmail forward quoted text.
2026-05-19 15:00:46 +05:30
Abhinav Raut 9dfcb6bc90 fix: hide Gmail forward quoted text
Gmail forwards wrap content in <div class="gmail_quote gmail_quote_container">
instead of a blockquote, so the existing detector missed them.
2026-05-19 14:56:01 +05:30
Abhinav Raut c03477a066 fix: hide Yahoo Mail quoted text
Yahoo Mail wraps replies in <div class="yahoo_quoted">, which the quoted
text handling added in bae4c23b did not detect. Add the marker to the JS
detector and an attribute-suffix selector to .hide-quoted-text so the
"Show quoted text" toggle appears and the quote is hidden by default.
2026-05-19 14:49:05 +05:30
Abhinav Raut 10b0d81436 Merge pull request #329 from abhinavxd/feat-show-inbox-name
feat: show inbox name in conversation sidebar
2026-05-19 14:43:28 +05:30
Abhinav Raut 1607997df3 feat: show inbox name in conversation sidebar 2026-05-19 14:19:44 +05:30
Abhinav Raut 6bc3698334 Merge pull request #328 from abhinavxd/hotfix-media-empty-uuid-cast
fix: harden media + conversation queries against empty-uuid casts
2026-05-19 14:18:01 +05:30
Abhinav Raut 4e13e72cc3 fix: harden media + conversation queries against empty-uuid casts 2026-05-19 14:13:56 +05:30
Abhinav Raut df1d5815ce fix: show "1 selected" in conversation bulk action toolbar 2026-05-19 11:26:15 +05:30
Abhinav Raut 5f0fed695f fix: make CSAT template insert idempotent in v2.0.0 migration 2026-05-19 11:03:48 +05:30
Abhinav Raut a6c86282aa Merge pull request #320 from csr4422/feat/contact-notes-conversation-sidebar
Add contact notes to conversation sidebar
2026-05-18 21:35:07 +05:30
Abhinav Raut 15ca569610 fix: skip stale toasts and invalidate in-flight fetches on contact reset 2026-05-18 21:30:07 +05:30
Abhinav Raut 259b2abb27 fix: gate contact notes sidebar by read perm and add bottom padding to contact page 2026-05-18 21:22:38 +05:30
csr4422 a59f40e165 fix: prevent out-of-order responses in contact notes fetch 2026-05-18 20:54:48 +05:30
csr4422 fd2156006e feat: limit contact notes to 10 with view more button 2026-05-18 20:54:48 +05:30
csr4422 860527ab64 fix: reduce spacing in contact notes component 2026-05-18 20:54:48 +05:30
csr4422 444530bd7f i18n: add contact notes key for conversation sidebar 2026-05-18 20:54:48 +05:30
csr4422 b2a2fc320b fix: refetch notes on contact change in conversation sidebar 2026-05-18 20:54:48 +05:30
csr4422 82b419de80 feat: add contact notes accordion section to conversation sidebar 2026-05-18 20:54:48 +05:30
Abhinav Raut d96a37d337 Merge pull request #327 from abhinavxd/perf/conversation-store
Perf/conversation store
2026-05-18 19:04:26 +05:30
Abhinav Raut b15c776142 update migration to version 2.3.0 2026-05-18 18:56:31 +05:30
Abhinav Raut 41ef3fed90 fix conversation list fetch races and scope notification sound to current list and only play when tab is not open like whatsapp.
Remove unused fetch participants API.
Fix incorrect default language in schema.sql
Show correct draft preview when text editor only has
2026-05-18 18:40:25 +05:30
Abhinav Raut 4c63152c5b Rename migration file v2.2.2 to v2.3.0 2026-05-18 17:30:29 +05:30
Abhinav Raut bbc8e556f7 Merge pull request #318 from jleroy/bugfix/i18n-keys-2026-04-18
Fix some minor translations-related issues
2026-05-18 17:28:14 +05:30