mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 13:33:45 +00:00
* refactor: Derive a Send's Code Decision Inside @librechat/chat TurnServices.resolveCode computed the code workspace and approval a send carries in the app. It becomes readCodeInputs, a storage read of the raw values, and the package derives the decision through resolveTurnCode. The read goes through a ref updated each render, so a captured adapter still reads the newest render's values. * test: Close Mocked Readers Over Each Render in the Freshness Spec * test: Close the Mobile Drawer Through the Race-Tolerant Helper in Two Agent Specs Two specs closed the drawer after selecting an agent with a bare click on Close sidebar. The drawer closes itself as the selection lands, so the click waited on a button that stopped being visible and ran into the 120 s test timeout on phones. closeMobileDrawer, which #17764 added for this, handles that race and keeps the inert check. |
||
|---|---|---|
| .. | ||
| babel-plugin-transform-import-meta-hot.cjs | ||
| canvasMock.ts | ||
| chatHost.tsx | ||
| composerHost.tsx | ||
| dropdown.ts | ||
| harness.tsx | ||
| intersectionObserver.mock | ||
| itemFactories.ts | ||
| layout-test-utils.tsx | ||
| localStorage.mock | ||
| matchMedia.mock | ||
| messagesHost.tsx | ||
| mockMorphIcon.tsx | ||
| polyfills.js | ||
| resizeObserver.mock | ||
| setupTests.js | ||
| steerHost.tsx | ||
| streamHost.tsx | ||
| turnServices.ts | ||