Skip to content

fix(dockview-vue): preserve full params in header actions after react…#1128

Merged
mathuo merged 1 commit intomasterfrom
fix/vue-header-actions-props-lost-on-update
Mar 2, 2026
Merged

fix(dockview-vue): preserve full params in header actions after react…#1128
mathuo merged 1 commit intomasterfrom
fix/vue-header-actions-props-lost-on-update

Conversation

@mathuo
Copy link
Owner

@mathuo mathuo commented Mar 2, 2026

…ive updates

Partial updates (panels, activePanel, isGroupActive) were shallow-merging only the changed field into params, which discarded api, containerApi and other fields on every subsequent event. Consolidate into a single updateProps() that always rebuilds the complete IDockviewHeaderActionsProps via buildEnrichedProps(). Fixes #1127.

…ive updates

Partial updates (panels, activePanel, isGroupActive) were shallow-merging
only the changed field into `params`, which discarded `api`, `containerApi`
and other fields on every subsequent event. Consolidate into a single
`updateProps()` that always rebuilds the complete IDockviewHeaderActionsProps
via `buildEnrichedProps()`. Fixes #1127.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2026

@mathuo mathuo merged commit 8e1758a into master Mar 2, 2026
13 of 15 checks passed
@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 2, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vue - left/right header actions component api unavaible in props

1 participant