Skip to content

Commit

Permalink
Reset label (#23)
Browse files Browse the repository at this point in the history
* fixed chat reset and css issues

* removed commented code

* hide faq type in sources

* created iframe resizable chatBox

* removed user resizable feature

* rename folder and file name for embedded chat

* fixed design and responsiveness of embedded chat and removed header

* fixed bugs and added feature to remove float button if embedded

* file name update and button text change in embedded

* removed input ref focus for embedded chat

* fixed embedded chatbox width and height

* changed id name and entry points

* Minor css changes

* handled case if no embedded div found in dom and removed button

* added dynamic rendering of embedded chat and widget , reduced code size

* Add optional header removal
Fix mobile view

* use of reset lable

---------

Co-authored-by: Aaron Edwards <aaron@uglyrobot.com>
  • Loading branch information
yuvraj-singh-codes and uglyrobot authored Oct 11, 2023
1 parent 1fbe645 commit 22c9d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chatbot/Chatbot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export const Chatbot = ({ isOpen, setIsOpen, isEmbeddedBox }) => {
<div style={{ width: "100%" }}>
<button
onClick={() => setRefreshChat(!refreshChat)}
title="Reset conversation"
title={labels?.resetChat}
style={(isEmbeddedBox && hideHeader) ? { top: "2px" } : { top: "5px" }}
>
<FontAwesomeIcon icon={faRefresh} />
Expand Down

0 comments on commit 22c9d4c

Please sign in to comment.