LibreChat/client/src
Danny Avila 8b2e1c6088
📝 fix: Prevent Deletion of User Input During AI Generation (#9719)
* bug: updating so text doesn't delete

* fix: preserve user input when typing during AI response

Previously, form.reset() would clear any text the user started typing while waiting for AI response. Now checks if textarea has new content before resetting, preventing text loss and improving UX.

* chore: revert useSubmitMessage changes

* fix: reduce debounce time for input handling in auto-save

* fix: improve debounce handling for auto-save input to enhance user experience

---------

Co-authored-by: Megan Greenberg <mgreenberg@networkninja.com>
2025-09-19 13:19:38 -04:00
..
@types 🔄 chore: Enforce 18next Language Keys (#5803) 2025-02-12 15:48:13 -05:00
a11y 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
common ✂️ refactor: Artifacts and Tool Callbacks to Pass UI Resources (#9581) 2025-09-11 14:34:07 -04:00
components 🔍 fix: Race Condition in Search Bar Clear Text Handler (#9718) 2025-09-19 07:52:16 -04:00
constants 🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804) 2025-08-13 16:24:17 -04:00
data-provider 🤖 refactor: Auto-validate IDs in Agent Query (#9555) 2025-09-10 18:38:33 -04:00
hooks 📝 fix: Prevent Deletion of User Input During AI Generation (#9719) 2025-09-19 13:19:38 -04:00
locales 🌍 i18n: Update translation.json with latest translations (#9704) 2025-09-19 06:06:40 -04:00
Providers 🧩 refactor: File Upload Options based on Ephemeral Agent (#9693) 2025-09-18 14:44:55 -04:00
routes 🔖 fix: Agent Marketplace Bookmark and New Chat buttons (#9549) 2025-09-10 19:01:34 -04:00
store 👻 refactor: LocalStorage Cleanup and MCP State Optimization (#9528) 2025-09-09 17:32:10 -04:00
utils 🔄 refactor: Convert OCR Tool Resource to Context (#9699) 2025-09-18 20:06:59 -04:00
App.jsx 🌐 feat: Add support to SubDirectory hosting (#9155) 2025-08-27 02:00:18 -04:00
main.jsx 🎨 feat: add copy-tex to improve copying KaTeX (#7308) 2025-05-15 12:08:47 -04:00
mobile.css 🧪 fix: Editor Styling, Incomplete Artifact Editing, Optimize Artifact Context (#8953) 2025-08-08 15:49:58 -04:00
style.css 🎨 style: Theming and Consistency Improvements for Agent Marketplace 2025-08-13 16:24:18 -04:00
vite-env.d.ts 🖱️ fix: Message Scrolling UX; refactor: Frontend UX/DX Optimizations (#3733) 2024-08-21 18:18:45 -04:00