Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP webchat docs * add configuration for webchat * add list of possible events for a webchat * add the id * update docs * load webchat when set * yarn build * dispatch webchat:loaded event * install floating-ui * WIP * append webchat to container * add css classes * update code * update styles * add padding * let the background come from the server * add controller for webchat * add styles for webchat popover * update width * update code * update styles * update border * update styles * remove border * update code * update styles * update code * update cursor * update padding * update code * update code * WIP webchat messages API * update code * focus the input when opening the webchat * reset input value when closing via escape * pass formData * update code * show error container when file-size is too much * update code. CI SKIP * adjust styles * remove border * update border radius * update code * update code * update code * update code * update styles * update code * add code for removing an attachment * update code * remove the specific attachment * remove the specifi file * append attachments from files * initialize files to an empty array * append the message when success * create websocket connection * update url * update code * update code * update code * update code * mount the webchat after the session is set * log received data * replace with raw websocket implementation * ignore pings * update code * append received messages * update styles * append attachments to new message * update code * only display attachments container when set * WIP new channels interface for websockets * update code * update code * update code * log the type * update code * listen for conversation assignment events * update code * update title and online status when conversation assigned user changes * append attachments when new message has it * update code * update code * update code * add styles * update styles * update styles * update styles * update code * add more styles * add more styles * update code * update styles * update code * revert style changes * update styles * update code * update code * update code * scroll to end of messages container * update code * update code * update code * update code * update code * update code * update code * update * refactoring * add pagination controller * update * update code * update code * update code * update code * append next page elements * update code * use prepend * update code * update code * update code * update code * update code * accept style overrides for webchat * support setting the behaviour of a webchat * update code * remove logs * dispath events when message is sent or received * dispath events when message is sent or received * scroll the element into view * scroll the new message onto the view * update code * handle classes and triggerClasses transformations * apply configured trigger and popover classes * remove webchat:loaded event * update docs * add base code for emoji tool * update code * dispatch the selected emoji * append the selected emoji * focus the input after appending the emoji * update * close emoji dropdown when clicked outside * update code * update code * update code * refactoring * only call callback when defined * update code * update code * show the online now badge when user agent becomes online * reset the offline timeout when new messages arrive * update code * append powered by when business has not enabled white label * append to the toolbar * rename web_chat config to webchat * rename web_chat to webchat in API * rename webchat * update tests * update webChat references to webchat * update tests * update references * update references * remove core-js and whatwg-fetch * only initialize webchat when webchat id has been set * update code * hook for message reactions * handle message reactions * handle reaction updates * set the message id from API response * link to hellotext * forward the session to Hellotext * save the open/close state of the webchat in local storage * show unread counter when new message arrives and webchat is hidden * flex * flex * default to +99 when unread count is greater than that * whatwg-fetch for testing * hide unread counter when webchat is opened * update code * update style key overrides * only accept hex or rgb/a in colors * update webchat docs * update docs * update updateSubscription * update channel * update code * update the subscription when conversation is created * update subscription correctly * update webchat channel * update code * mark unread messages as seen when popover is opened * pass the session
- Loading branch information