mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 21:08:17 +00:00
* refactor: Supply saveDrafts and isTemporary Through Chat Settings Both preferences are app-global: the settings dialog writes saveDrafts, and the chat route and keyboard shortcuts write isTemporary. Every chat reader (composer, autosave, pasted-text edit, new chat and new convo, file uploads, submissions, the temporary toggle, landing, run code) now takes them from the host ChatSettings context, which the app fills from its store. ChatView still reads saveDrafts from the store while #15911 owns it. * test: Cover Chat Settings Preferences End to End * fix: Read the Temporary Flag at Run Time in Run Code * test: Supply saveDrafts Through Chat Settings in the Hook Specs * test: Pin the Run Code Retention Flag With a Stable Code Ref * test: Turn Temporary Chat On Through Its Toggle in the Scenario * refactor: Move the Queue Run-End Atoms to Jotai The follow-up queue, its settled receipts and pending enqueue ids, the pane and parked run-end signals, and the interrupt-drain flag are written and read only by chat logic (queue drain, steering, the SSE hook, the queue rail). They now live in store/queue as Jotai atoms with every consumer converted. The run-end FIFO keeps its nullable one-shot API as a writable derived atom. * test: Cover the Chat-Owned Queue State End to End * test: Give Each Queue Rail Its Own Store in the Split-View Spec * test: Drop the Parked Run-End Scenario Canary Does Not Meet * refactor: Keep the Queue State Inside the Chat Feature The queue atoms and their types move from store/queue to hooks/Chat/queue, next to the drain that owns them. store/families re-exports the types so existing imports keep working. * refactor: Import the Queue Types From the Chat Feature * test: Scope the Split-View Queue Spec to What Its Harness Proves * test: Run the Split-View Queue Spec on One Shared Store |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| Agents | ||
| Artifacts | ||
| Assistants | ||
| Audio | ||
| Auth | ||
| Chat | ||
| Config | ||
| Conversations | ||
| Endpoint | ||
| Files | ||
| Generic | ||
| Input | ||
| MCP | ||
| Mermaid | ||
| Messages | ||
| Nav | ||
| Plugins | ||
| Prompts | ||
| Roles | ||
| Sharing | ||
| Skills | ||
| SSE | ||
| ApiErrorBoundaryContext.tsx | ||
| AuthContext.tsx | ||
| index.ts | ||
| ScreenshotContext.tsx | ||
| useAdaptiveIcon.ts | ||
| useCatalogWarmup.ts | ||
| useChatBadges.ts | ||
| useClockFormat.ts | ||
| useDocumentTitle.ts | ||
| useFavorites.ts | ||
| useFocusTrap.ts | ||
| useGenerationsByLatest.ts | ||
| useGreeting.ts | ||
| useIsActiveItem.ts | ||
| useKeyboardShortcuts.spec.tsx | ||
| useKeyboardShortcuts.ts | ||
| useLocalize.ts | ||
| useLocalizedConfig.ts | ||
| useLocalStorage.tsx | ||
| useLocalStorageAlt.tsx | ||
| useNewConvo.ts | ||
| usePersonalizationAccess.ts | ||
| useRenderChangeLog.ts | ||
| useResourcePermissions.ts | ||
| useRoleSelector.ts | ||
| useScrollFade.ts | ||
| useScrollToRef.ts | ||
| useTimeout.tsx | ||
| useTimeTick.ts | ||
| useToolFavorites.ts | ||
| useVirtualGrid.ts | ||
| useWakeLock.ts | ||
| useWeekStart.ts | ||