Conversation
- new vue app for serving live chat widget, created subdirectories inside frontend dir `main` and `widget` - vite changes for both main app and widget app. - new backend live chat channel - apis for live chat widget
move last message details in the `meta` JSONB column of conversations
feat: Add HTTP utility functions for trusted origin checks feat: Implement typing status broadcasting for live chat clients and agents. feat: Add support for signed URLs in media manager fix: Update database migration to handle duplicate visitors with same email address. feat: Add conversation subscription and typing message models for WebSocket communication feat: Implement conversation subscription management in WebSocket hub this is used for broadcasting typing indicator. feat: Revamp widget JavaScript to improve mobile responsiveness and show unread messages if any.
- show arrow down when when widget is open
…dget iframe. feat: more methods to toggle wiget visibility
Update user and inbox models, queries, and migrations
…er header instead of origin. - Removed the widgetOrigin middleware as it would have same origin as the iFrame URL, changed this to use `Referrer` header on initial iFrame load. - Feat(agent-view): Added external_user_id display in the conversation sidebar.
…TTP headers
- Add widgetAuth middleware to handle JWT and inbox validation consistently
- Move authentication logic from request body to standard HTTP headers:
* JWT: Authorization: Bearer <token>
* Inbox ID: X-Libredesk-Inbox-ID: <id>
- Refactor all widget handlers to use middleware context instead of duplicate auth code
- Frontend now sends auth headers via HTTP interceptor for all widget requests
…starting chat. fix: Chat initialization failing due to the JWT authenticated user doesn't exist in the DB yet. fix: Always upsert custom attribues instead of replacing.
- update file imports to use shared-ui utils and remove redundant file.js - Implement SignedURLStore interface for fs store
…-chat form. - Deleted the VisitorInfoForm.vue component and its associated schema. - Introduced a new preChatFormSchema.js to handle dynamic form validation. - Updated ChatView.vue to conditionally display the PreChatForm based on user session and conversation state. - Enhanced chat store to manage current conversation updates. - Implemented WebSocket event handling for conversation updates. - Updated localization files to include new terms related to the pre-chat form. - Modified conversation management logic to support broadcasting updates to widget clients. - Updated SQL queries to accommodate custom attributes for visitors.
update shadows for iframe and widget
…f they have a temporary ID
…ist, simplify chat conversation SQL queries. - add indexes to make conversation unread message count faster
Sign pending avatar urls
…essage input focus and pending cleanup
…conversation Return ChatMessage format in upload api Fix scroll on content replace
Owner
Author
|
There's a release candidate ready to check it out - #273 |
…al system from sidebar with encrypted payload in query parameters.
…e causing issues. Improve sidebar navigation to retain open conversation Fix notification when disabled app still tries sending emails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mainandwidgetCloses - #110