LibreChat/client/src/hooks
Danny Avila cebb3751c1
📣 a11y: Better Screen Reader Announcements (#3693)
* refactor: Improve LiveAnnouncer component

The LiveAnnouncer component in the client/src/a11y/LiveAnnouncer.tsx file has been refactored to improve its functionality. The component now processes text in chunks for better performance and adds a minimum announcement delay to prevent overlapping announcements. Additionally, the component now properly clears the announcement message and ID before setting a new one. These changes enhance the accessibility and user experience of the LiveAnnouncer component.

* refactor: manage only 2 LiveAnnouncer aria-live elements, queue assertive/polite together

* refactor: use localizations for event announcements

* refactor: update minimum announcement delay in LiveAnnouncer component

* refactor: replace *`_

* chore(useContentHandler): typing

* chore: more type fixes and safely announce final message
2024-08-19 03:51:17 -04:00
..
Assistants 🧹 chore: pre-release cleanup 2 (#3600) 2024-08-09 15:17:13 -04:00
Audio 🔀 refactor: Modularize TTS Logic for Improved Browser support (#3657) 2024-08-15 11:34:25 -04:00
Chat 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
Config 📊 feat: Google tag manager integration (#2469) 2024-06-15 08:09:18 -04:00
Conversations 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
Files 📂 fix: Add version selection for Assistants Endpoint uploads (#3236) 2024-06-29 21:56:03 -04:00
Input fix(useTextToSpeechBrowser): handle undefined window.speechSynthesis on some android devices 2024-08-16 02:49:59 -04:00
Messages 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
Nav 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
Plugins 🤖 feat: Model Specs & Save Tools per Convo/Preset (#2578) 2024-04-30 22:11:48 -04:00
Prompts 🗨️ fix: Reset prompt groups query when changing filters (#3294) 2024-07-10 16:43:02 -04:00
Roles 🗨️ feat: Prompts (#3131) 2024-06-20 20:24:32 -04:00
SSE 📣 a11y: Better Screen Reader Announcements (#3693) 2024-08-19 03:51:17 -04:00
ApiErrorBoundaryContext.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
AuthContext.tsx 🗨️ feat: Prompts (#3131) 2024-06-20 20:24:32 -04:00
index.ts 🔀 refactor: Modularize TTS Logic for Improved Browser support (#3657) 2024-08-15 11:34:25 -04:00
ScreenshotContext.tsx 🖌️ style: Update Light/Dark UI Themes (#1754) 2024-03-06 12:05:43 -05:00
ThemeContext.tsx 🎨 style: Enhance UI/UX for Font Size, Mentions, and Prompts (#3575) 2024-08-08 10:02:30 -04:00
useDelayedRender.tsx 🕑 fix: Add Suspense to Connection Error Messages (#3074) 2024-06-15 16:16:06 -04:00
useDocumentTitle.ts refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
useGenerationsByLatest.ts 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
useLocalize.ts 🚑 fix: Prevent Infinite Re-Rendering of the Password Reset UI (#2887) 2024-05-28 14:07:08 -04:00
useLocalStorage.tsx refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
useMediaQuery.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
useNewConvo.ts fix: Wait for Initial Message Save & Correct Latest Message (#3399) 2024-07-20 01:51:59 -04:00
useOnClickOutside.ts WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
useScrollToRef.ts feat: Optimize Scroll Handling with Intersection Observer (#3564) 2024-08-06 16:18:15 -04:00
useTimeout.tsx feat: OpenRouter Support & Improve Model Fetching ⇆ (#936) 2023-09-18 12:55:51 -04:00
useToast.ts 🔥🚀 feat: CDN (Firebase) & feat: account section (#1438) 2023-12-29 21:42:19 -05:00