LibreChat/client
Danny Avila 947a370129
💭 fix: Settle Finished Grouped Thoughts and Steady Four Flaky UI Scenarios (#18062)
* 🧪 test: Keep the Service Worker Out of Scenarios That Hold a Request After Load

The sidebar row scenarios and the streaming dot scenario install a route on a
page that has already loaded, to hold one request open. The PWA service worker
finishes installing and takes control of that page at about the same time, and
a route installed in the few milliseconds around that handover is never
consulted: the request goes straight to the server and Playwright stops seeing
the page's requests at all.

In the sidebar scenarios the archive completed while the test waited on a
promise only the route could resolve, so the test sat until its 60 second
timeout. In the streaming dot scenario the held turn simply finished and the
dot was gone. Both specs now block service workers, as the other specs that
depend on a route already do, and the archive wait fails with a named
expectation instead of running out the clock.

* 🧪 test: Wait for the Prompt Filter to Apply Before Opening Row Menus

The prompts panel applies a filter half a second after typing stops, and does
it by replacing the rows with the filtered request's answer. The scenario
opened a row's menu straight after typing, on a row that was about to unmount,
so when the swap landed between the menu opening and the test reading its
items the menu was gone and the test read an empty list.

Typing the filter now waits for the filtered request to finish, so the rows
the test opens are the ones the filter produced.

* 💭 fix: Settle a Grouped Thought Once the Run Has Moved Past It

A thought folded into a tool group decided it was still streaming by comparing
its index with the tail of the body it renders in. Every settled activity
phase renders in a body of its own and so has a tail too, which left the last
thought of a finished phase reading "Thinking..." with its live peek whenever
that body was on screen while the run went on. At the end of a run a summary
card folds in over the phase with its panel open, so the finished thought
flashed its peek for about a tenth of a second under the completed reply.

The group now applies the rule a lone thought already follows: only the body
that holds the message's cursor has a part still being written.

The scenario that guards this sampled the peek ten times a second and stopped
at the final text, so it saw the flash only when a sample happened to land in
it. The page now counts every appearance itself, through the end of the run.

* 🧪 test: Count Thought Peeks Inside the Conversation Only

The count the page keeps looked for the peek anywhere in the document, where
the samples it replaced looked inside the message view. It now matches them.
2026-11-11 16:23:01 -05:00
..
public 🐛 fix: Restore MCP App Rendering and Actions (#16382) 2026-10-16 13:27:29 -07:00
src 💭 fix: Settle Finished Grouped Thoughts and Steady Four Flaky UI Scenarios (#18062) 2026-11-11 16:23:01 -05:00
sw
test 🪟 feat: Add Welcome Footer and Response Author Options and Tidy the Chat Chrome (#17879) 2026-11-08 14:57:59 +01:00
babel.config.cjs 🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702) 2026-11-01 01:23:47 +01:00
check_updates.sh
index.html ↔️ fix: Follow the Interface Direction in Radix, the Composer and First Paint (#17264) 2026-10-19 23:10:06 +02:00
jest.config.cjs 🐣 chore: Prepare v0.8.9-rc1 Release (#17336) 2026-10-22 08:56:53 +00:00
jest.resolver.cjs
nginx.conf
package.json ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
postcss.config.cjs
tailwind.config.cjs 📊 refactor: Move the Context Usage Popover Into @librechat/chat (#17799) 2026-11-05 22:36:51 +01:00
tsconfig.json
vite.config.ts 🪶 perf: Load MCP UI and Export Libraries on Demand (#17975) 2026-11-10 19:20:22 +01:00