Skip to content

[6.x] Publish container tweaks#14548

Merged
jasonvarga merged 2 commits into6.xfrom
multisite-collab-fix
Apr 24, 2026
Merged

[6.x] Publish container tweaks#14548
jasonvarga merged 2 commits into6.xfrom
multisite-collab-fix

Conversation

@jasonvarga
Copy link
Copy Markdown
Member

@jasonvarga jasonvarga commented Apr 24, 2026

A few small changes to the publish container, primarily in support of the collaboration addon's multisite handling:

  • The publish-container-created event emits reference and site as refs, so consumers can observe them as they change (e.g. when the user switches localizations).
  • The entry, global, and term publish forms now update reference when switching localizations, so the container's reference stays in sync with the active item.
  • pushComponent removes the component from the container's components array when its destroy() is called, so pushed components can clean themselves up.
  • The Components renderer keys by component.id instead of component.name, allowing multiple components of the same type to coexist.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jasonvarga jasonvarga changed the title [6.x] Make publish container reference and site reactive [6.x] Publish container tweaks Apr 24, 2026
@jasonvarga jasonvarga marked this pull request as ready for review April 24, 2026 19:32
@jasonvarga jasonvarga merged commit 2f947bd into 6.x Apr 24, 2026
19 checks passed
@jasonvarga jasonvarga deleted the multisite-collab-fix branch April 24, 2026 19:32
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.

1 participant