LibreChat/client/src/store
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
..
agents.ts 🪄 feat: Artifacts Badge & Optimize Ephemeral Agent State (#8252) 2025-07-04 13:25:04 -04:00
artifacts.ts 🔄 refactor: Artifact Visibility Management (#7181) 2025-05-01 14:40:39 -04:00
endpoints.ts 🧹 chore: Remove Deprecated BingAI Code & Address Mobile Focus (#5565) 2025-01-30 17:22:29 -05:00
families.ts 🛡️ fix: Preset and Validation Logic for URL Query Params (#7407) 2025-05-15 17:46:48 -04:00
fontSize.ts ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -04:00
index.ts 👻 refactor: LocalStorage Cleanup and MCP State Optimization (#9528) 2025-09-09 17:32:10 -04:00
language.ts 🎙️ a11y: update html lang attribute (#3636) 2024-08-30 06:57:29 -04:00
mcp.ts 👻 refactor: LocalStorage Cleanup and MCP State Optimization (#9528) 2025-09-09 17:32:10 -04:00
misc.ts 🎨 feat: UI Refresh for Enhanced UX (#6346) 2025-03-25 18:50:58 -04:00
preset.ts ♻️ refactor: Logout UX, Improved State Teardown, & Remove Unused Code (#5292) 2025-01-12 12:57:10 -05:00
prompts.ts 🅰️ feat: Dynamic Font Size (#3568) 2024-08-07 14:23:33 -04:00
search.ts 🔍 refactor: Search & Message Retrieval (#6903) 2025-04-16 21:07:43 -04:00
settings.ts ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -04:00
submission.ts chore(Auth): reorder exports in Auth component 2023-08-18 12:49:35 -04:00
temporary.ts 💬 fix: Temporary Chat PR's broken components and improved UI (#5705) 2025-02-06 20:15:38 -05:00
text.ts refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
toast.ts feat(Toast): add Toast nearly identical to ChatGPT's (#1108) 2023-10-27 15:48:05 -04:00
user.ts 🤖 feat: Model Specs & Save Tools per Convo/Preset (#2578) 2024-04-30 22:11:48 -04:00
utils.ts 🗨️ feat: Prompts (#3131) 2024-06-20 20:24:32 -04:00