mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
0b4f6ca392
Addresses PR #5823 review (MikeRyanDev + marthakelly): - core/threads.ts: a full-list refetch (filter-change / retry) now clears fetchMoreError on both listRequested and listSucceeded, so the inline 'couldn't load more - retry' banner no longer survives onto a fresh list. - web-components: Escape while the confirm-delete <dialog> is open is now consumed by a confirm guard in the host keydown handler; previously the bubbled keydown fell through to the mobile branch and closed the whole drawer along with the confirmation. - web-components: an open kebab popover now shields the rest of the list - .list.menu-open .row:not(.menu-open) gets pointer-events:none so other rows no longer reveal their kebab or paint a host ::part(row):hover background around/behind the menu. Click-away dismissal is preserved via the existing document pointerdown handler. - README: drop the removed --cpk-drawer-rail-width from the documented tokens. Tests: core clears-fetchMoreError-on-refetch; web-components Escape-while- confirming, confirm-dialog backdrop-click, menu-open row shield; Angular scoped-chat-input focus (ancestor copilot-chat-view over the global fallback). Menu-shield verified live in the langgraph-js example (:3002).