Repository navigation
feat(web-components,react,vue,angular): CopilotThreadsDrawer UX redesign (ENT-1051) - #5823
Conversation
…pover [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…NT-1051] Add the optional header projection slot back to the redesigned icon-row header (flex:1 so empty keeps icons right-aligned, filled fills the left), keep `label` driving the region + listbox accessible names only, drop the retired visible-title expectations from the two label tests, and remove the orphaned --_rail-width token and .row-action.danger rule. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ough [ENT-1051] Also re-exports SearchDetail from @copilotkit/web-components/threads-drawer so the React wrapper's type import resolves. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/bot
@copilotkit/bot-discord
@copilotkit/bot-slack
@copilotkit/bot-teams
@copilotkit/bot-telegram
@copilotkit/bot-ui
@copilotkit/bot-whatsapp
@copilotkit/core
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
|
Size Change: +797 B (+0.07%) Total Size: 1.16 MB 📦 View Changed
ℹ️ View Unchanged
|
…per Figma [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…le [ENT-1051] Adds the 'a filter is applied' dot (part=filter-indicator, --cpk-drawer-indicator, default #5b94e4) shown on the funnel when the active filter is not the default, matching the Figma archived view. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
- Search toggle-close clears the query and emits search{query:""} via a shared
_closeSearch() helper, so it no longer leaves a stale, invisible list filter.
- Escape-close routes through _closeSearch() too, so a consumer's onSearch is
never left holding a stale query.
- Composed document pointerdown listener (bound/removed in connected/
disconnectedCallback) dismisses the funnel popover and row kebab menu on
outside clicks; selecting a thread row also closes an open menu.
- Kebab popover no longer clipped by the list overflow for bottom rows:
lower-half rows open the menu upward (menu-up -> bottom-anchored popover).
- Locked/unlicensed view no longer renders the search toggle, search input, or
"New Conversation" row — only the Upgrade panel (collapse toggle kept).
- Row-action aria-labels use the shared hasName?name:"New thread" fallback so an
empty-string name never announces a trailing blank.
- Hardened CSS-contract tests: archived-italic and :host height:100% match
selector+declaration as a unit; muted-not-struck checks color + no line-through.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…en-state/focus + parity nits [ENT-1051]
D2 — wire fetchMoreError end-to-end:
- core: add a dedicated `fetchMoreError` channel to the thread store, tracked
separately from the initial-list `error`. `nextPageFailed` now writes
`fetchMoreError` (was `error`), so a paginated-load failure preserves the
loaded list and drives the element's inline "couldn't load more — retry"
panel instead of a full-panel error. Cleared on fetch-more request (retry),
on success, and reset on context change / stop. New symbols:
* `ThreadState.fetchMoreError`
* `ThreadSelectors.fetchMoreError` + `ɵselectFetchMoreError`
Call sites of `ɵselectFetchMoreError`:
* packages/core/src/threads.ts (export)
* packages/react-core/src/v2/hooks/use-threads.tsx (selector read)
* packages/vue/src/v2/hooks/use-threads.ts (bindThreadStoreSelector)
* packages/angular/src/lib/threads.ts (bridge to signal)
* packages/vue/src/v2/hooks/__tests__/use-threads.test.ts (core mock)
Call sites of `ThreadSelectors.fetchMoreError` (mock objects updated):
* packages/core/src/__tests__/core-thread-store-auto-unregister.test.ts
* packages/core/src/__tests__/thread-store-registry.test.ts
- react/vue/angular: expose `fetchMoreError` on the hook/composable/store and
push it onto `el.fetchMoreError`, making the dead `retry{scope:"fetch-more"}`
handler reachable. Initial-list error behavior unchanged.
D1 — Angular wrapper open-state coordination: drive `el.open` from the config's
`drawerOpen` (default CLOSED) so the element no longer springs open full-screen
and scroll-locks on mobile load; handle `(open-change)` -> `config.setDrawerOpen`
with a provider-less local-state fallback; call `config.registerDrawer()` with
cleanup on destroy. The config's drawer members were fully functional (only
marked "RESERVED/unwired") — wiring them makes them consumed, so their comments
were updated accordingly (no reservation conflict).
D3 — Angular focus-return: add a `findChatInput` scoped to the Angular chat
selectors (`copilot-chat-view` container, `textarea[copilotChatTextarea]`) and
focus it on thread select, mirroring React/Vue.
A6 — react wrapper comment rot: "nine outbound events" -> "eleven" (2 spots).
DEFAULT_AGENT_ID parity (react): import `DEFAULT_AGENT_ID` from
`@copilotkit/shared` instead of hardcoding `"default"` (equal value).
Angular test isolation: three list-path tests now set `licenseStatusSignal`
explicitly instead of relying on inherited module-level state.
Tests: core 552, react-core 1417, vue 1068, angular 176 — all pass;
check-types passes for all four packages.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…t + dead-CSS/comment/test cleanup [ENT-1051]
Bucket A — mobile open-flash:
- Default the drawer element's `open` property to `false`. On a mobile viewport
the previous `open = true` default made the first render satisfy
_isMobileModalOpen(), painting the modal + body scroll-lock + focus steal for
one frame before any wrapper effect could close it. Desktop is unaffected
(only .root.mobile.open / _isMobileModalOpen() consume `open`).
- Element tests: added an `open` option to setup(); updated the 6 mobile/desktop
tests that relied on the old open=true default to opt in explicitly; added a
regression test asserting a fresh mobile element defaults open=false and paints
no backdrop / applies no scroll-lock until opened.
Bucket B — dead CSS + inert `confirming` machinery:
- styles.ts: removed the `.row-action[data-tooltip]` hover/focus tooltip rules
and the `.root.confirming .row-action[data-tooltip]…` suppression rules — no
rendered .row-action carries data-tooltip anymore (row actions moved into the
kebab menu as labeled .row-menu-items). Kept the .row-action base rules (still
used by the confirm-dialog Cancel button + fetch-more retry).
- element: removed the now-inert `confirming` root class (it gated only the
dead CSS above) and its stale comment; deleted the test asserting the no-op
tooltip suppression. Refreshed two comments that referenced the removed
row-action tooltip lineage.
Bucket B — comment/test hygiene:
- react-core CopilotThreadsDrawer.tsx: reworded the imprecise event-rebind
comment to describe the actual [mounted] deps.
- angular spec: added a beforeEach resetting the module-level threadsState
signals + clearing mock fns to remove order-coupling (parity with react/vue).
- vue use-threads.test.ts: aligned MockThreadStore.unarchiveThread + its
assertion to the real core contract (PATCH /threads/{id} { archived:false },
not POST /threads/{id}/unarchive).
Verified: web-components (89), vue (1068), angular (176), react-core suites all
green; web-components + react-core builds green.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
… tooltips, collapsible + collapse-change [ENT-1051]
- Search: the magnifier now expands an inline search input in the header icon
row and focuses it; it auto-collapses back to the icon on blur when the query
is empty/whitespace, but stays open while a non-empty query is active.
Toggle-click and Escape still close + clear + emit search{query:''}.
- Remove all clipped-name tooltip machinery (data-tooltip attr,
_syncNameClipping + its updated() call, name-clipped toggling, the tooltip
::after/::before CSS, and the name-clipped:hover z-index lift). Ellipsis
truncation is kept.
- Add reactive collapsible property (default true, mirrors licensed): when
false the header omits the collapse toggle and the collapsed cluster never
renders (drawer stays expanded). Mobile off-canvas is unaffected.
- Add collapse-change event + CollapseChangeDetail (types + index re-export);
the collapse toggle and cluster-expand route through _toggleCollapsed(), which
flips collapsed and emits collapse-change with the new value (user-driven only).
…eChange passthrough [ENT-1051] Mirror the existing recentLabel (passthrough) and onSearch (element-event) props with two additive props targeting the element's forthcoming `collapsible` property and `collapse-change` event. - react: add `collapsible?: boolean` (pushed as an element PROPERTY, like the default-true boolean `licensed`) and `onCollapseChange?: (collapsed) => void` (wired via the handler-ref addEventListener block, like onSearch). - vue: add `collapsible?: boolean` (imperative property push in the watchEffect, like `licensed`) and re-emit the element's `collapse-change` event as `collapse-change(collapsed)` (matching the `search` emit convention). - angular: add a `collapsible` signal input (property push in the effect, like `licensed`) and `@Output() collapseChange = new EventEmitter<boolean>()` wired from the element's `collapse-change` event (like `search`). CollapseChangeDetail is declared locally in each wrapper with a TODO to switch to the package export once the parallel element PR that adds the collapse feature lands and is published (the built element types in this worktree predate it). Testing: added mirrored tests per framework (property-set + event-passthrough); full nx test suites green (react-core 1420, vue 1070, angular 178); check-types and build green for all three packages. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ENT-1051] Element-only; downstream wrappers' search removal lands in the paired commit. Verified in isolation: @copilotkit/web-components test (86) + build green. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…gh [ENT-1051] Also fixes the collapsible-default test assertion (element defaults collapsible=true, mirroring licensed; the prior undefined assertion only passed vs a stale dist). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…m threads drawer [ENT-1051] The thread panel is a persistent always-visible sidebar on desktop; the Figma "closed" mockup is the MOBILE state, already covered by off-canvas behavior. - web-components: remove the `collapsed`/`collapsible` properties, `_toggleCollapsed`, the header collapse-toggle button, and the collapsed-cluster render branch; render() always paints the full panel body. Gate the now control-less header on a `_hasHeader` slotchange flag so no empty bar renders. Drop the unused `iconSidebar`, the `CollapseChangeDetail` type + `collapse-change` event-map entry, the index re-export, and the `.root.collapsed`/`.collapsed-cluster` styles. - react: drop the `collapsible` prop + property assignment, the `onCollapseChange` prop + `collapse-change` listener/handler, and the local `CollapseChangeDetail` type. - vue: drop the `collapsible` prop + element binding, the `collapse-change` emit + `@collapse-change` handler, and the local `CollapseChangeDetail` type. - angular: drop the `collapsible` input + property push, the `collapseChange` @output + event wiring (and now-unused EventEmitter/Output imports), and the local `CollapseChangeDetail` type. - tests: remove all collapse tests across the four packages; add an element header-gating test. Mobile off-canvas (open-driven) behavior is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…d-name edge; add top space [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…n the tall .root [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ever under other UI) [ENT-1051] The confirm-delete overlay was a CSS-positioned div trapped in the drawer host's stacking context, so it could paint under other UI (e.g. the chat's welcome view). Render it as a native <dialog> opened with showModal(), which lives in the browser top layer and can never be occluded. The <dialog> is always present so updated() can drive showModal()/close() from _confirmingDeleteId; jsdom implements neither method, so a feature-detect falls back to toggling the `open` attribute (which HTMLDialogElement.open reflects) to keep unit tests observing open/closed state. Native Escape is handled via the dialog's `cancel` event (the manual confirm-Escape branch in _onKeyDown is removed); backdrop clicks dismiss via a target===currentTarget check. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
… internally (pin header) [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…rnally (pin header) [ENT-1051] Add grid-template-rows: minmax(0, 1fr) to the drawer-hosting grid layout in the integration examples that were missing it, mirroring the langgraph-js fix. Without a bounded row the single grid track sizes to content, so a long thread list makes the drawer grow past the viewport (page scrolls, header scrolls away) instead of scrolling internally with the header pinned. Examples touched: - a2a-middleware - adk - agno - crewai-crews - crewai-flows - langgraph-python - llamaindex - mastra - mcp-apps - ms-agent-framework-dotnet - ms-agent-framework-python - pydantic-ai - strands-python
… sweep) [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…r header [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…e (launcher + mobile close) [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ader bar supplies it) [ENT-1051] Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
… PR [ENT-1051] The threads-list internal-scroll fix (grid-template-rows: minmax(0,1fr)) for the integration examples is pulled out of the drawer-redesign PR. It ships in a separate PR (branch ben1/ent-1051-example-grid-followup) once the redesigned drawer packages are released, alongside the examples' dependency bumps to the new versions.
… [ENT-1051] The drawer wrapper loads the Lit `<copilotkit-threads-drawer>` element via a client-only dynamic import of @copilotkit/web-components/threads-drawer. That package was not in rollupOptions.external, so vite bundled the whole element + a second copy of lit-html inline into the vue dist (a ~1MB chunk). Under Vite/Nuxt consumers this inlined duplicate lit-html produced a fatal "Identifier 'h' has already been declared" parse error (h = lit-html's minified `html`), and it also risks double custom-element registration. Externalizing it (as @copilotkit/core, @copilotkit/shared, @copilotkit/web-inspector already are) makes the dynamic import resolve to the single real package at runtime. Verified live: the redesigned drawer now renders + operates in the Nuxt vue demo (licensed, real threads, kebab Archive/Delete, top-layer delete dialog, mobile off-canvas + sidebar-glyph close). Vue wrapper unit tests: 29/29 pass.
…y build [ENT-1051]
Parity with the vue fix: the react-core drawer wrapper references the Lit
`<copilotkit-threads-drawer>` element from @copilotkit/web-components, which was
not externalized in the main ESM/CJS build entry — so tsdown inlined the whole
element + a second copy of lit-html into the react-core dist.
This bloats the library and breaks Vite-based React consumers with a duplicate
lit-html binding ("Identifier 'h' has already been declared"); webpack/Next
consumers dedupe it so it went unnoticed. Externalizing it (as @copilotkit/core,
@copilotkit/shared, @copilotkit/web-inspector, @copilotkit/a2ui-renderer already
are) resolves the import to the single real package at runtime. The self-contained
UMD builds intentionally keep it inlined.
react-core test suite: 1416/1416 pass.
|
…tered modal [ENT-1051] Design iteration (Ben's designer): - RESTORE desktop collapse. Re-add collapsed/collapsible + collapse-change (element + all three wrappers, lockstep), the desktop header collapse toggle, and the CollapseChangeDetail type/re-export. Default is EXPANDED. - UNIFY the closed affordance into one floating cluster (Figma 'closed' mockup): a sidebar-glyph toggle + a New Conversation (+) icon button, shown in BOTH the mobile-closed state (adds New Conversation to the old single launcher) and the desktop-collapsed state. Parts: launcher-cluster, launcher, launcher-new-thread. - COLUMN RECLAIM (no empty reserved gap): on desktop-collapse the element sets --cpk-drawer-reserved-width: 0px on the document root (reaches the grid past the wrapper host via :root inheritance); hosts read it in grid-template-columns. Default expanded never sets it, so no hydration flicker. - DELETE MODAL centered over the DRAWER PANEL, not the viewport: keeps the top-layer showModal() robustness (never clipped) but drives --confirm-cx/cy from the visible .root rect and caps width to the drawer band. - Vue fix: default collapsible to true in the wrapper. Vue coerces an omitted Boolean prop to false, which was silently forcing collapsible=false (collapse toggle vanished) — React/Angular pass undefined and keep the element default. Validated live in the Nuxt (Vue) and Angular demos against managed Intelligence: collapse/expand, cluster + New Conversation, column reclaim, drawer-centered top-layer modal, mobile cluster. Tests: web-components 89, react-core 1419, vue 32, angular 34 — all green.
…eader [ENT-1051] Move the collapse toggle after the header slot so it right-aligns (the slot has flex:1 and pushes it over), matching the mobile close button — it was reading as left-aligned above New Conversation, which the designer flagged.
…x [ENT-1051] Intersect the .root rect with the viewport before centering the confirm dialog. A host grid that doesn't bound the drawer's row lets .root grow to content height, so centering over the raw rect dropped the modal far down the page (seen in the langgraph-js example, whose grid has no row bound). Clamping to the on-screen band keeps it centered in the visible drawer regardless of host sizing.
…ed-row border, cap radius at 4px [ENT-1051] - Floating cluster/launcher default gutter → 24px on both top and left (was 12px). - Selected row: drop the border-color; the background change alone marks it (base row keeps its 1px transparent border for layout stability). - Cap --_radius at 4px via min(theme, 4px) and lower the hardcoded 6px button radii to 4px, so no bordered element exceeds a 4px corner radius.
… now the header shows [ENT-1051] The collapse toggle keeps the header bar visible on desktop, so the row's 12px top margin doubled up with the header's padding (extra gap vs mobile). Make the top margin conditional on the header being HIDDEN (collapsible=false + no header slot) via .header[hidden] + .new-conversation; otherwise the header supplies the top spacing on both breakpoints.
MikeRyanDev
left a comment
There was a problem hiding this comment.
Found two issues that should be fixed before merge. Also confirming the current head has no search UI/event/wrapper API; the remaining search mentions are stale PR description/comment text, not shipped code.
-
packages/core/src/threads.ts: successful full-list refetches do not clearfetchMoreError.fetchNextPageRequestedandnextPageSucceededclear the dedicated channel, butlistRequested/listSucceededleave it intact. Repro path: load page 1, fetch-more fails, then a full refetch succeeds via filter-change or initial retry/refetch. The drawer keeps receiving the oldfetchMoreErrorand continues showing the inline retry banner over a fresh list. Please clearfetchMoreErroron full list request and/or success, and cover that path in the core test. -
packages/web-components/src/threads-drawer/copilotkit-threads-drawer.ts: Escape inside the native delete<dialog>can still bubble to the hostkeydownhandler, which then closes the mobile drawer (_viewportIsMobile && this.open) while the dialog also handles its native cancel. Previously Escape with_confirmingDeleteIdonly dismissed confirmation. Please restore that guard or otherwise stop the host Escape path while a confirmation is open, with a regression test for mobile dialog Escape.
The rest of the drawer/wrapper parity looked consistent, and CI is green.
…confirming, shield rows behind open menu (ENT-1051) 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).
MikeRyanDev
left a comment
There was a problem hiding this comment.
Rereviewed current head 0b4f6ca. The two previous blockers are addressed: full-list request/success now clear stale fetchMoreError with coverage, and Escape while the delete confirmation dialog is open is consumed before the mobile drawer close path with coverage. CI is green.
…ads list scrolls internally [ENT-1051] (post-release follow-up) (#5828) ## What Applies the threads-drawer grid fix to all 15 integration examples: adds `grid-template-rows: minmax(0, 1fr)` to each example's `.layout` so the drawer's threads list scrolls **internally** (pinned header + New Conversation) instead of the whole page growing to content height. Without this, `height: 100dvh` on a grid whose rows aren't bounded lets the row size to content, so the list can't scroll within the drawer and the delete-confirm dialog centers against a content-tall root. ## Why this is a separate PR These are **example** changes that consume **published** `@copilotkit/*` packages. They were pulled out of the drawer-redesign PR (#5823) so that PR stays scoped to the packages. This one lands **after** the redesigned drawer is released. ## ⛔ Blocked / TODO before marking ready - [ ] Drawer redesign PR #5823 merged - [ ] Lockstep release cut (web-components + react-core + vue + angular) - [ ] Bump each example's `@copilotkit/*` dependency to the new published versions **in this PR** (currently only the CSS is here) - [ ] Re-verify one example end-to-end against the released packages ## Testing - Grid fix verified live during the redesign work (langgraph-js against a hosted Intelligence backend): threads list scrolls internally, header + New Conversation pinned, delete-confirm renders correctly. - Example dependency bumps + a fresh end-to-end pass will be added/redone here once the release is published. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Redesigns the shared
<copilotkit-threads-drawer>element (@copilotkit/web-components) to the new Figma UX, keeping the React, Vue, and Angular wrappers in lockstep. Pure-VIEW change — no@copilotkit/core, runtime, oruseThreadschanges.Ticket: ENT-1051 · Figma: Thread Drawer · Spec: Notion
What changed
slot="header"preserved (empty by default; the toggle right-aligns after it).part="new-thread-button"+ thenew-threadevent._filter+filter-changeandpart="filter-active"/filter-all".<dialog>opened withshowModal()(browser top layer), centered over the drawer's visible box — it can't paint under other UI or drop below the fold. jsdom falls back to theopenattribute.collapsed/collapsibleprops (default expanded) + acollapse-changeevent /CollapseChangeDetail. Collapsing sets--cpk-drawer-reserved-width: 0on the document root so the host grid reclaims the column with no hydration flicker.[sidebar-toggle] [+ New Conversation], shown in both the mobile-closed and desktop-collapsed states. Mobile stays an off-canvas modal (backdrop / Escape / focus-trap).Compatibility
::part()names and events are preserved; only additive parts are introduced:collapse-toggle,close-toggle,section-heading,filter-toggle,row-menu,row-menu-popover,launcher-cluster,launcher,launcher-new-thread, plusconfirm-dialog/confirm-cancel/confirm-delete/backdrop. One additive event:collapse-change.recentLabel(all frameworks);collapsible/collapsed+onCollapseChange(React) / equivalents in Vue & Angular.<CopilotChat>must share a chat-configuration provider so the drawer drives the chat —CopilotChatConfigurationProvider(React/Vue) /provideCopilotChatConfiguration()(Angular). The v2CopilotKitProviderdoes not provide that context on its own.::part()theme changes required — every example themes the drawer via inherited--cpk-drawer-*custom properties.Descoped / changed during development (re: earlier review)
searchevent,search-toggle/search-inputpart, oronSearchwrapper prop in the shipped element. Any remaining "search" mention in older comments is stale.8bfd245305). The shipped element has collapse (collapsedis a live public property — it was not removed).Review fixes (commit
0b4f6ca392)Addressing @MikeRyanDev and @marthakelly:
core/threads.ts— a full-list refetch (filter-change / retry) now clearsfetchMoreErroron bothlistRequestedandlistSucceeded, so the inline "couldn't load more — retry" banner no longer survives onto a fresh list..list.menu-open .row:not(.menu-open)getspointer-events: none, so other rows no longer reveal their kebab / paint a host::part(row):hoverbackground around or behind the open popover. Click-away dismissal is preserved via the existing document pointerdown handler. (Verified live in the langgraph-js example.)--cpk-drawer-rail-widthfrom the web-components README.Testing
All suites run via
nx, green through each package's lefthook pre-commit gate:@copilotkit/web-components— 92 drawer element tests +:buildgreen. Covers header collapse/close toggles, New Conversation, funnel filter switch,recentLabel, kebab open + archive/delete routing, confirm-dialog gating + native cancel + backdrop-click dismiss, Escape-while-confirming (no drawer close), open-menu row shield, collapse/cluster/column-reclaim, archived-italic, preserved parts/events,headerslot +labelaria-labels.@copilotkit/core— 553 tests incl. the newclears a lingering fetchMoreError when a full list refetch succeeds.@copilotkit/react-core— CopilotThreadsDrawer suite + full package 1419 green.@copilotkit/vue— 32 incl. SSR + thecollapsibleboolean-prop-default regression test.@copilotkit/angular— CopilotThreadsDrawer spec 35 (incl. scoped-chat-input focus: prefers the ancestorcopilot-chat-viewover the document-global fallback); full package 178.Follow-on
web-components+react-core+vue+angular, lockstep) + CLI scaffolding bump.findChatInput/ open-state fallback (marthakelly fix discord link #6, deliberately deferred as a cross-package refactor).🤖 Generated with Claude Code