LibreChat/client/src/store
Danny Avila 59c589114b
🪦 refactor: Remove Legacy Code (#10533)
* 🗑️ chore: Remove unused Legacy Provider clients and related helpers

* Deleted OpenAIClient and GoogleClient files along with their associated tests.
* Removed references to these clients in the clients index file.
* Cleaned up typedefs by removing the OpenAISpecClient export.
* Updated chat controllers to use the OpenAI SDK directly instead of the removed client classes.

* chore/remove-openapi-specs

* 🗑️ chore: Remove unused mergeSort and misc utility functions

* Deleted mergeSort.js and misc.js files as they are no longer needed.
* Removed references to cleanUpPrimaryKeyValue in messages.js and adjusted related logic.
* Updated mongoMeili.ts to eliminate local implementations of removed functions.

* chore: remove legacy endpoints

* chore: remove all plugins endpoint related code

* chore: remove unused prompt handling code and clean up imports

* Deleted handleInputs.js and instructions.js files as they are no longer needed.
* Removed references to these files in the prompts index.js.
* Updated docker-compose.yml to simplify reverse proxy configuration.

* chore: remove unused LightningIcon import from Icons.tsx

* chore: clean up translation.json by removing deprecated and unused keys

* chore: update Jest configuration and remove unused mock file

    * Simplified the setupFiles array in jest.config.js by removing the fetchEventSource mock.
    * Deleted the fetchEventSource.js mock file as it is no longer needed.

* fix: simplify endpoint type check in Landing and ConversationStarters components

    * Updated the endpoint type check to use strict equality for better clarity and performance.
    * Ensured consistency in the handling of the azureOpenAI endpoint across both components.

* chore: remove unused dependencies from package.json and package-lock.json

* chore: remove legacy EditController, associated routes and imports

* chore: update banResponse logic to refine request handling for banned users

* chore: remove unused validateEndpoint middleware and its references

* chore: remove unused 'res' parameter from initializeClient in multiple endpoint files

* chore: remove unused 'isSmallScreen' prop from BookmarkNav and NewChat components; clean up imports in ArchivedChatsTable and useSetIndexOptions hooks; enhance localization in PromptVersions

* chore: remove unused import of Constants and TMessage from MobileNav; retain only necessary QueryKeys import

* chore: remove unused TResPlugin type and related references; clean up imports in types and schemas
2025-12-03 14:27:21 -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-03 14:27:21 -05:00
families.ts 🪦 refactor: Remove Legacy Code (#10533) 2025-12-03 14:27:21 -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 👻 refactor: LocalStorage Cleanup and MCP State Optimization (#9528) 2025-09-09 17:32:10 -04:00
jotai-utils.ts 💡 feat: Improve Reasoning Content UI, copy-to-clipboard, and error handling (#10278) 2025-10-30 17:14:38 -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: Remove Legacy Code (#10533) 2025-12-03 14:27:21 -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 💬 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