LibreChat/client/src/components/Nav
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
..
Bookmarks 🔖 fix: Agent Marketplace Bookmark and New Chat buttons (#9549) 2025-09-10 19:01:34 -04:00
ExportConversation 🔧 fix: Apply Convo Export filename sanitization at export, not input (#8779) 2025-07-31 07:28:33 -04:00
SettingsTabs ♻️ refactor: Replace fontSize Recoil atom with Jotai (#10171) 2025-10-18 05:50:34 -04:00
AccountSettings.tsx 🎭 refactor: Avatar Loading UX and Fix Initials Rendering Bugs (#9261) 2025-08-25 12:06:00 -04:00
AgentMarketplaceButton.tsx 🪟 style: Agent Marketplace UI Responsiveness, a11y, and Navigation (#9068) 2025-08-15 14:59:10 -04:00
index.ts 🎨 refactor: UI stlye (#4438) 2024-10-19 08:30:52 -04:00
MobileNav.tsx 🔃 refactor: Streamline Navigation, Message Loading UX (#7118) 2025-04-28 18:18:13 -04:00
Nav.tsx 🪟 style: Agent Marketplace UI Responsiveness, a11y, and Navigation (#9068) 2025-08-15 14:59:10 -04:00
NavLink.tsx 👐 style: Improve a11y/theming for Settings Dialog, Dropdown Menus; fix: SearchBar focus issues (#4091) 2024-09-21 22:45:50 -04:00
NavToggle.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
NewChat.tsx 🪟 style: Agent Marketplace UI Responsiveness, a11y, and Navigation (#9068) 2025-08-15 14:59:10 -04:00
SearchBar.tsx 🔍 fix: Race Condition in Search Bar Clear Text Handler (#9718) 2025-09-19 07:52:16 -04:00
Settings.tsx ️ fix: Accessibility, UI consistency, dialog & avatar refactors (#9975) 2025-10-07 14:12:49 -04:00