LibreChat/client/src/routes
Danny Avila 0c378811f1
🏷️ fix: Clear ModelSpec Display Fields When Navigating via Agent Share Link (#12274)
- Extract `specDisplayFieldReset` constant and `mergeQuerySettingsWithSpec`
  utility to `client/src/utils/endpoints.ts` as a single source of truth
  for spec display fields that must be cleared on non-spec transitions.
- Clear `spec`, `iconURL`, `modelLabel`, and `greeting` from the merged
  preset in `ChatRoute.getNewConvoPreset()` when URL query parameters
  override the conversation without explicitly setting a spec.
- Also clear `greeting` in the parallel cleanup in `useQueryParams.newQueryConvo`
  using the shared `specDisplayFieldReset` constant.
- Guard the field reset on `specPreset != null` so null values aren't
  injected when no spec is configured.
- Add comprehensive test coverage for the merge-and-clear logic.
2026-03-17 02:12:34 -04:00
..
__tests__ 🧭 fix: Subdirectory Deployment Auth Redirect Path Doubling (#12077) 2026-03-05 01:38:44 -05:00
Layouts 📍 feat: Preserve Deep Link Destinations Through the Auth Redirect Flow (#10275) 2026-02-25 22:21:19 -05:00
ChatRoute.tsx 🏷️ fix: Clear ModelSpec Display Fields When Navigating via Agent Share Link (#12274) 2026-03-17 02:12:34 -04:00
Dashboard.tsx 🗨️ feat: Prompts (#3131) 2024-06-20 20:24:32 -04:00
index.tsx 🔖 fix: Agent Marketplace Bookmark and New Chat buttons (#9549) 2025-09-10 19:01:34 -04:00
Root.tsx 💤 fix: Add inert to Hidden/Background Content (#12016) 2026-03-02 21:04:52 -05:00
RouteErrorBoundary.tsx 🌐 refactor: Interpolate Localization Keys (#10650) 2025-12-11 16:35:56 -05:00
Search.tsx 🔊 fix: Conversation Search Result Announcement (#11449) 2026-01-22 19:36:46 -05:00
ShareRoute.tsx 🚀 feat: Shared Links (#2772) 2024-05-17 18:13:32 -04:00
useAuthRedirect.ts 🔒 fix: Request interceptor for Shared Link Page Scenarios (#12036) 2026-03-03 12:03:33 -05:00