LibreChat/client/src/Providers
Marco Beretta 62cc2ffc19
🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753)
* refactor: Move the Messages View Provider Into @librechat/chat

* refactor: Render the Package Message List by Default in ChatScreen

* fix: Drop the Rail's IntersectionObserver Guard for a Package Spec Stub

Nothing renders the rail without a browser: its observer starts in an effect, which never runs in a server render. The guard existed only because jsdom lacks the API, so jsdom now gets inert observers and matchMedia from the package's jest setup, and the spec's own stubs, which no longer matched the DOM lib's IntersectionObserver type, are gone.

* test: Scroll a Sidebar Row Into View Before Dragging It

A row under the fold has no pixel the mouse can press, so the drag selected text instead. Whether a run hit it depended on which earlier specs shared its shard and left chats in the Running and Finished sections.

* test: Give the Client Specs an Inert IntersectionObserver

With the rail's guard gone, a client spec that renders the message list reaches the observer jsdom lacks. The shared setup provides an inert one, as the package's jest setup does, and the child-thread spec's partial client mock gains the rem scale hook the rail reads.

* chore: Retest Against Current Dev

* test: Give the Test Messages Host the Row Hook Members

The messages host gained the assistant, added-conversation, streamed-attachment and feedback hooks when the row hooks moved into the package, so the shared test host supplies them too.
2026-11-05 22:35:15 +01:00
..
__tests__ 🏷️ refactor: Paint the Provider Badge Over Media Through a Theme Role (#17681) 2026-10-31 22:48:10 +01:00
ActivePanelContext.tsx 🧭 fix: Land on Chat History Instead of the Last Sidebar Panel (#17083) 2026-10-14 11:09:45 +02:00
AddedChatContext.tsx 📜 refactor: Declare the Chat Context Contract (#16288) 2026-10-01 03:46:17 +00:00
AgentPanelContext.tsx 📲 fix: Close the Mobile Drawer When Selecting an Agent (#17696) 2026-11-01 00:29:00 +01:00
AgentsMapContext.tsx
AnnouncerContext.tsx
ArtifactContext.tsx
ArtifactsContext.tsx 🛰️ refactor: Move the Submitting Flag to Jotai in the Chat Package (#17121) 2026-10-15 19:04:21 +02:00
AssistantsMapContext.tsx
AuthorContext.tsx 🧷 refactor: Move the Message Row Contexts into @librechat/chat (#17674) 2026-11-02 00:43:24 +01:00
BadgeRowContext.tsx 💬 refactor: ChatForm UI redesign with unified palette (#14473) 2026-10-01 03:46:18 +00:00
BookmarkContext.tsx
bootVersion.ts 🎨 feat: Paint the Operator Theme on a First-Ever Visit (#16962) 2026-10-14 13:16:44 +02:00
ChatContext.tsx 📦 refactor: Move the useChat Facade and ChatContext into the Chat Package (#17445) 2026-10-26 22:46:55 +01:00
ChatFormContext.tsx
ChatHostContext.tsx 🛟 refactor: Move Resume-on-Load and Stream Steer State Into the Chat Package (#17565) 2026-10-30 00:23:33 +01:00
ChatSettingsContext.tsx 📦 refactor: Move the useChat Facade and ChatContext into the Chat Package (#17445) 2026-10-26 22:46:55 +01:00
ChatTransportContext.tsx 🚰 refactor: Move the Pure Stream Code into the @librechat/chat Core (#16979) 2026-10-11 23:04:47 +02:00
CodeBlockContext.tsx
ComposerHostContext.tsx 🔎 refactor: Move the Mention Popover Into the Chat Package as a Combobox (#17659) 2026-10-31 15:47:11 +01:00
CustomFormContext.tsx
DeploymentTheme.tsx 🎨 feat: Paint the Operator Theme on a First-Ever Visit (#16962) 2026-10-14 13:16:44 +02:00
Direction.tsx ↔️ fix: Follow the Interface Direction in Radix, the Composer and First Paint (#17264) 2026-10-19 23:10:06 +02:00
DragDropContext.tsx 🚚 feat: Route Attachments and Provision Tools Lazily (#15763) 2026-09-08 23:28:52 -04:00
EditorContext.tsx 🧽 refactor: Remove Dead Client Components, Providers and Barrels (#17116) 2026-10-15 12:27:00 +02:00
FileMapContext.tsx
FilesHostContext.tsx 📎 refactor: Move Composer Attachment Components Into the Chat Package (#17533) 2026-10-29 20:38:24 +01:00
index.ts 🧽 refactor: Import Composer State and Restore from the Chat Package (#17163) 2026-10-18 17:43:59 +02:00
MCPAppsPolicyContext.tsx 🫸 fix: Gate MCP App Views and Actions on User Intent (#16297) 2026-10-01 03:46:17 +00:00
MediaContext.tsx 🖼️ fix: Give a Phase's Files Their Own Media Row (#15435) 2026-08-31 22:05:27 -04:00
MessageContext.tsx 🧩 refactor: Route Message Parts Through a @librechat/chat Part Dispatcher and Host (#16976) 2026-10-14 11:10:28 +02:00
MessagePartsHostContext.tsx 💬 refactor: Move the Steer Part Into the Chat Package Behind Image and File Preview Slots (#17704) 2026-11-01 01:23:34 +01:00
MessagesHostContext.tsx 🪝 refactor: Move the Message Row Hooks Into @librechat/chat (#17802) 2026-11-05 17:19:22 +01:00
MessagesViewContext.tsx 🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753) 2026-11-05 22:35:15 +01:00
ProjectNamesContext.tsx fix: Verify Sidebar Status and Project Name Loading 2026-10-03 17:56:52 -04:00
PromptGroupsContext.tsx 🎴 feat: Use Langfuse Prompts from Cards and the Slash Command (#17104) 2026-10-24 13:51:01 +02:00
SearchContext.tsx
SetConvoContext.tsx
ShareContext.tsx 🏷️ fix: Keep a Configured Sender Label From Revealing the Model on Hover (#15489) 2026-09-13 11:57:12 -04:00
SteerHostContext.tsx 🚰 refactor: Move the Queue Drain, Reveal and Recovery Hooks into the Chat Package (#17170) 2026-10-19 15:52:50 +02:00
StreamHostContext.tsx 🛰️ refactor: Stream Assistants Turns Through @librechat/chat (#17697) 2026-11-02 18:36:32 +01:00
SubagentsHostContext.tsx 💬 refactor: Move the Steer Part Into the Chat Package Behind Image and File Preview Slots (#17704) 2026-11-01 01:23:34 +01:00
themeCache.ts 🎨 feat: Paint the Operator Theme on a First-Ever Visit (#16962) 2026-10-14 13:16:44 +02:00
ToolCallsMapContext.tsx
UploadModalContext.tsx 🫴 fix: Hand Composer Focus Back After Upload Dialogs (#15469) 2026-09-01 12:56:03 -04:00