LibreChat/client/src
Marco Beretta d41b07c0af
♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171)
* fix: reapply chat font size on load

* refactor: streamline font size handling in localStorage

* fix: update matchMedia mock to accurately reflect desktop and touchscreen capabilities

* refactor: implement Jotai for font size management and initialize on app load

- Replaced Recoil with Jotai for font size state management across components.
- Added a new `fontSize` atom to handle font size changes and persist them in localStorage.
- Implemented `initializeFontSize` function to apply saved font size on app load.
- Updated relevant components to utilize the new font size atom.

---------

Co-authored-by: ddooochii <ddooochii@gmail.com>
Co-authored-by: Danny Avila <danny@librechat.ai>
2025-10-18 05:50:34 -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: Side Panel Agent UI To Account For Ephemeral Agents (#9763) 2025-09-22 09:48:05 -04:00
components ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -04:00
constants 🔐 feat: Granular Role-based Permissions + Entra ID Group Discovery (#7804) 2025-08-13 16:24:17 -04:00
data-provider 🔗 fix: Add branch-specific shared links (targetMessageId) (#10016) 2025-10-10 08:42:05 -04:00
hooks ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -04:00
locales 🌍 i18n: Update translation.json with latest translations (#10070) 2025-10-10 07:43:11 -04:00
Providers 📎 feat: Direct Provider Attachment Support for Multimodal Content (#9994) 2025-10-06 17:30:16 -04:00
routes 🕵️ refactor: Optimize Message Search Performance (#9818) 2025-09-24 16:27:34 -04:00
store ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -04:00
utils 🛠️ chore: Add @radix-ui/react-tooltip to Artifact Dependencies (#10112) 2025-10-16 16:26:14 -04:00
App.jsx ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -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 📖 feat: Word Wrapping for Text and Markdown Code Blocks (#10055) 2025-10-11 10:39:33 -04:00
vite-env.d.ts 🖱️ fix: Message Scrolling UX; refactor: Frontend UX/DX Optimizations (#3733) 2024-08-21 18:18:45 -04:00