LibreChat/client/src/components/Input
Danny Avila c0845ad0b1
Fix Input losing focus (#382)
* fix(PaLM2): input losing focus on message stream ending

* fix(askOpenAI.js): fix typo in variable name from newUserMassageId to newUserMessageId

* feat(chatgpt-browser.js, askBingAI.js, askChatGPTBrowser.js): add onEventMessage callback to browserClient

Add onEventMessage callback to browserClient to handle event messages from the server. In askChatGPTBrowser.js, add a getPartialMessage variable to store the partial message text. In askBingAI.js, fix a typo in the variable name newUserMassageId to newUserMessageId. In askChatGPTBrowser.js, remove the preSendRequest parameter and move the sendMessage call to the onEventMessage callback. In askChatGPTBrowser.js, add a check for null or undefined value of getPartialMessage before appending it to the error message.

* fix(bing): input no longer loses input focus as convoId is persisted from beginning of convo

* refactor(Input): remove unused code and fix input autofocus
feat(package.json): add e2e:test-auth script to test authentication flow with saved storage
2023-05-26 14:32:13 -04:00
..
BingAIOptions refactor: reformat files to require parens around params (#316) 2023-05-18 14:44:07 -04:00
ChatGPTOptions refactor: reformat files to require parens around params (#316) 2023-05-18 14:44:07 -04:00
GoogleOptions refactor: reformat files to require parens around params (#316) 2023-05-18 14:44:07 -04:00
NewConversationMenu style(NewConversationMenu): add z-index to Dialog and DropdownMenuContent (#335) 2023-05-19 19:58:53 -04:00
OpenAIOptions refactor: reformat files to require parens around params (#316) 2023-05-18 14:44:07 -04:00
SetTokenDialog fix(Bing): Use full cookies string instead of just _U cookie (#369) 2023-05-23 13:58:18 -04:00
AdjustToneButton.jsx Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
Footer.jsx Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
index.jsx Fix Input losing focus (#382) 2023-05-26 14:32:13 -04:00
RowButton.jsx Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00
SubmitButton.jsx Build/Refactor: lint pre-commit hook and reformat repo to spec (#314) 2023-05-18 14:09:31 -04:00