chat-ai-widget

Build AI Chatbot in minutes with Sendbird Chatbot Widget.

MIT License

Downloads
5.5K
Stars
28
Committers
9

Bot releases are hidden (Show)

chat-ai-widget - v1.5.11

Published by liamcho 5 months ago

[1.5.11] (May 23 2024)

Feat:

  • Mssage input is now being disabled upon sending a message until a reply message is received from the bot and finished streaming

Chore:

  • Expand button is now being displayed only when callbacks.onWidgetExpandStateChange is given

Deprecated:

  • The autoOpen setting from the dashboard has been deprecated and is no longer being considered internally due to its use-case removal.
chat-ai-widget - ## [1.5.10] (May 23 2024)

Published by bang9 5 months ago

[1.5.10] (May 23 2024)

Fix:

  • Fixed a bug where the widget was not working when configureSession was set.

Chore:

  • Removed a @tanstack/react-query dependency
chat-ai-widget - v1.5.9

Published by liamcho 5 months ago

[1.5.9] (May 22 2024)

Feat:

Carousel message

Widget now supports carousel message for commercial shop items. Message with valid extendedMessagePayload?.commerce_shop_items value is displayed as carousel component that is interactable.

Others

  • Added enableResetHistoryOnConnect in Constant for allowing to reset chat history
  • Added onWidgetExpandStateChange to Constant.callbacks that will be called upon expanded state change event

Fix:

  • Fixed a bug where botStudioEditProps.botInfo.profileUrl is not applied to typing indicator bubble
  • Fixed a bug where suggested replies of botStudioEditProps.welcomeMessages are not being removed after a message is sent
  • Fixed a bug where injected welcome messages are not displayed when there is no message in the channel
  • Adjusted margins of message timestamp
  • Fixed a bug where message bubble width is incorrectly displayed depending on the length of text

Permanently removed

  • Following Constant properties are removed because they were not being considered internally:
    • instantConnect
    • botNickName
    • enableMobileView (use deviceType instead)
chat-ai-widget - [1.5.8] (May 17 2024)

Published by bang9 5 months ago

[1.5.8] (May 17 2024)

Fix:

  • Fixed a bug where styles were broken on some websites
chat-ai-widget - v1.5.7

Published by liamcho 5 months ago

[1.5.7] (May 15 2024)

Feat:

  • Added widgetOpenState and onWidgetOpenStateChange to Constant

Fix:

  • Fixed a bug where a message sent by a member that is not the current user nor the bot user is displayed incorrectly
chat-ai-widget - [1.5.6] (May 10 2024)

Published by bang9 5 months ago

[1.5.6] (May 10 2024)

Fix:

  • Fixed a bug where the widget wouldn't close in the mobile view when autoOpen was set to true.
chat-ai-widget - v1.5.5

Published by liamcho 5 months ago

[1.5.5] (May 10 2024)

Feat:

  • Added botStudioEditProps in Constant. Supports real time update of various injected states such as botInfo, aiAttributes, welcomeMessages, and styles

Fix:

  • Fixed a bug where sender name is overflowing in a bot message
  • Fixed a bug where message input is not being disabled when last message has a suggested replies
  • Fixed a bug where multi-line message data content is displayed incorrectly

Chore:

  • Increased channel header button sizes in mobile view
  • autoOpen is now applied in the mobile view as well
chat-ai-widget - [1.5.4] (May 8 2024)

Published by bang9 5 months ago

[1.5.4] (May 8 2024)

Feat:

  • Added a new optional property deviceType to Constant. When given, the app fixates its view type accordingly irregardless of change of screen width

Fix:

  • Fixed a bug where initial scroll position is not at the bottom when last message has suggested replies
  • Fixed a bug where margin between neighboring messages is not always 16px
  • Fixed a bug where users join empty channels when a bot is recreated with the same ID
  • Fixed a bug where modal components being rendered beneath chat component
chat-ai-widget - [1.5.3] (May 3 2024)

Published by bang9 6 months ago

[1.5.3] (May 3 2024)

Fix:

  • Fixed errors occurring when removing a channel or when the bot leaves.
  • Fixed types path correctly.
chat-ai-widget - [1.4.2] (April 23 2024)

Published by bang9 6 months ago

[1.4.2] (April 23 2024)

Fix:

  • Fixed a DOMException issue in useDynamicAttachModal hook.

Chore:

  • Replaced a Sendbird AI Chatbot website link in ChatBottom component.
chat-ai-widget - [1.5.2] (May 2 2024)

Published by bang9 6 months ago

[1.5.2] (May 2 2024)

Fix:

  • Fixed an accidental disconnect issue.
chat-ai-widget - [1.5.1] (April 30 2024)

Published by bang9 6 months ago

Chore:

  • Reduced chat-ai-widget bundle size 402.12 kB -> 292.90 kB (gzip); 27.36%
    • Removed @sendbird/uikit-react dependency from package.json.
    • Linked the necessary code from sendbird/uikit-react github repository directly into packages/uikit/ dir through a Git submodule.
    • Updated our build process(Github workflow / Circleci config) to initialize and update the Git submodule, ensuring that the latest version of the code is always used.
chat-ai-widget - [Deprecated] [v1.5.0]

Published by AhyoungRyu 6 months ago

Deprecated version

chat-ai-widget - [1.4.7] (April 30 2024)

Published by bang9 6 months ago

[1.4.7] (April 30 2024)

Feat:

  • Added serviceName to chatbot configs

Fix:

  • Added missing property url in FunctionCallRequestInfo
chat-ai-widget - [1.4.6] (April 30 2024)

Published by liamcho 6 months ago

[1.4.6] (April 30 2024)

Fix:

  • Added missing callbacks property to Constant
chat-ai-widget - [1.4.5] (April 30 2024)

Published by liamcho 6 months ago

[1.4.5] (April 29 2024)

Feat:

  • Added new properties apiHost, and wsHost in Constant
  • Added FileMessage for displaying a file message content as image
  • Added a new property callbacks in ConstantContextProps
chat-ai-widget - [1.4.4] (April 25 2024)

Published by AhyoungRyu 6 months ago

Feat:

  • Added missing aria-label attributes to enhance accessibility, with corresponding ESLint rule settings to ensure continued compliance.
  • Removed the expand/collapse button from the WidgetWindow.

Fix:

  • Incremented the specifications for messageInputWrapper style to improve UI consistency.

Revert:

  • Reverted the addition of the slim version of Datadog RUM, removing related code. This reverts the changes initially introduced in commit f2bfe362.
chat-ai-widget - [1.4.3] (April 24 2024)

Published by AhyoungRyu 6 months ago

Feat:

  • Integrated Datadog RUM (Real User Monitoring) in a slimmed-down version to optimize performance monitoring without heavily impacting the application's load time.

Fix:

  • Made children prop type optional for component.
chat-ai-widget - [1.4.1] (April 22 2024)

Published by AhyoungRyu 6 months ago

Feat:

  • Implemented safe parsing of message.data to prevent errors in data handling.
  • Enhanced efficiency by reusing user and channel information stored in localStorage, reducing redundant data requests and improving user experience.
  • Established functionality to connect the ChatAiWidget upon component mounting, improving real-time interaction capabilities. This includes various improvements such as managing connections and handling UI behavior between mobile and desktop platforms.

Fix:

  • Corrected the position of the feedback dialog which used to be incorrectly placed after bumping up UIKit version.

Chore:

  • Updated key structures to include appId and boId, which allows better identification and tracking of business objects.
    • LocalStorage key format: @sendbird/chat-ai-widget/${appId}/${botId}
  • Cleanup of Unused Files and Dependencies: Removed unnecessary files and dependencies like dompurify to streamline the codebase.
chat-ai-widget - [1.3.9] (April 19 2024)

Published by AhyoungRyu 6 months ago

Feat:

  • Created an upload_to_s3 pipeline to facilitate file transfers to AWS S3.
  • Added automated workflows for publishing, enhancing deployment efficiency.

Fix:

  • Corrected the positioning of the feedback icon in the bot message UI

Chore:

  • Modified the build output path for better management of build artifacts.
  • Removed react-popper-tooltip library from the project dependencies to streamline the bundle size.
Package Rankings
Top 16.42% on Npmjs.org
Related Projects