LibreChat/client/src/store
Danny Avila dc489e7b25
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
🪟 fix: Tab Isolation for Agent Favorites + MCP Selections (#11786)
* 🔧 refactor: Implement tab-isolated storage for favorites and MCP selections

- Replaced `createStorageAtom` with `createTabIsolatedAtom` in favorites store to prevent cross-tab synchronization of favorites.
- Introduced `createTabIsolatedStorage` and `createTabIsolatedAtom` in `jotai-utils` to facilitate tab-specific state management.
- Updated MCP values atom family to utilize tab-isolated storage, ensuring independent MCP server selections across tabs.

* 🔧 fix: Update MCP selection logic to ensure active MCPs are only set when configured servers are available

- Modified the condition in `useMCPSelect` to check for both available MCPs and configured servers before setting MCP values. This change prevents potential issues when no servers are configured, enhancing the reliability of MCP selections.
2026-02-13 14:54:49 -05:00
..
agents.ts 📛 feat: Chat Badges via Model Specs (#10272) 2025-10-27 19:46:30 -04:00
artifacts.ts 🔄 refactor: Artifact Visibility Management (#7181) 2025-05-01 14:40:39 -04:00
endpoints.ts 🪦 refactor: Remove Legacy Code (#10533) 2025-12-11 16:36:12 -05:00
families.ts ⏸ refactor: Improve UX for Parallel Streams (Multi-Convo) (#11096) 2025-12-25 01:43:54 -05:00
favorites.ts 🪟 fix: Tab Isolation for Agent Favorites + MCP Selections (#11786) 2026-02-13 14:54:49 -05:00
fontSize.ts 💡 feat: Improve Reasoning Content UI, copy-to-clipboard, and error handling (#10278) 2025-10-30 17:14:38 -04:00
index.ts 📌 feat: Pin Agents and Models in the Sidebar (#10634) 2025-12-11 16:38:20 -05:00
jotai-utils.ts 🪟 fix: Tab Isolation for Agent Favorites + MCP Selections (#11786) 2026-02-13 14:54:49 -05:00
language.ts 🎙️ a11y: update html lang attribute (#3636) 2024-08-30 06:57:29 -04:00
mcp.ts 🪟 fix: Tab Isolation for Agent Favorites + MCP Selections (#11786) 2026-02-13 14:54:49 -05:00
misc.ts 👨‍✈️ chore: Minor MCP-UI Logic Cleanup (#10950) 2025-12-12 17:10:57 -05: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 🚏 chore: Remove Resumable Stream Toggle (#11258) 2026-01-07 20:37:35 -05:00
showThinking.ts 💡 feat: Improve Reasoning Content UI, copy-to-clipboard, and error handling (#10278) 2025-10-30 17:14:38 -04:00
submission.ts chore(Auth): reorder exports in Auth component 2023-08-18 12:49:35 -04:00
temporary.ts feat: Add Default Temporary Chat User Setting (#10731) 2025-12-11 16:37:15 -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