LibreChat/client/test
Marco Beretta 061b666f43
🧩 refactor: Move the Message Rows Into @librechat/chat (#17838)
* refactor: Move the Message Rows Into @librechat/chat

MessageRender, Message, MessageContent, ContentRender, MessageParts and the thread's ThreadMessage now live in the package, and the thread renders them directly, retiring MessagesHost.renderMessageRow. Pieces owned elsewhere reach the rows through new host slots.

* test: Render the Real Thread Message in the Thread Specs

The thread specs replaced ThreadMessage with a fabricated row, so sibling paging and edit assertions drove the stub. They now render the real row chain with fake hosts and page and edit through its real controls.

* test: Keep a 12,000-Message Chain Covered at the Row Resolver

The thread specs now render real rows, so their large-chain case was cut to 60 messages. The 12,000-message chain, which guards the iterative branch walk and row reuse on a long conversation, moves to the resolver spec where it does not mount every row.

* test: Keep the Child Thread Spec Rendering Real Rows Under the Client Mock

The child-thread spec relied on the test host's renderMessageRow slot to draw nothing. The thread now mounts the package rows directly, so the spec's agents map and client package mocks have to cover them.
2026-11-07 18:50:53 +01:00
..
babel-plugin-transform-import-meta-hot.cjs
canvasMock.ts 🎨 feat: Theme-Adaptive SVG Support for Custom MCP and Group Icons (#13817) 2026-09-04 10:49:43 -04:00
chatHost.tsx 🧰 refactor: Move useChatHelpers and ChatProvider into the Chat Package (#17446) 2026-10-26 22:47:11 +01:00
composerHost.tsx ⌨️ refactor: Move Composer Input Controls Into the Chat Package (#17551) 2026-10-30 00:24:35 +01:00
dropdown.ts
harness.tsx 🧭 refactor: Move the Chat Surface, Task Panel and Activity Group Into @librechat/chat (#17669) 2026-10-31 22:09:52 +01:00
intersectionObserver.mock 🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753) 2026-11-05 22:35:15 +01:00
itemFactories.ts
layout-test-utils.tsx
localStorage.mock
matchMedia.mock
messagesHost.tsx 🧩 refactor: Move the Message Rows Into @librechat/chat (#17838) 2026-11-07 18:50:53 +01:00
mockMorphIcon.tsx 🧹 refactor: Remove Dead Client Hooks, Store Modules and Utilities (#17111) 2026-10-15 12:22:13 +02:00
polyfills.js
resizeObserver.mock
setupTests.js 🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753) 2026-11-05 22:35:15 +01:00
steerHost.tsx 🧷 refactor: Require a Mounted Steer Host Instead of a Module Default (#17164) 2026-10-18 20:28:50 +02:00
streamHost.tsx 🛰️ refactor: Stream Assistants Turns Through @librechat/chat (#17697) 2026-11-02 18:36:32 +01:00
turnServices.ts 🏷️ refactor: Resolve the Turn Sender, Reasoning Override and Launch in @librechat/chat (#17762) 2026-11-03 21:43:31 +01:00