Skip to content

fix(ew-actions): flush collab writes before preview/publish#604

Draft
hannessolo wants to merge 2 commits into
mainfrom
cvsflush
Draft

fix(ew-actions): flush collab writes before preview/publish#604
hannessolo wants to merge 2 commits into
mainfrom
cvsflush

Conversation

@hannessolo

Copy link
Copy Markdown
Contributor

Await forceSave() on <ew-editor-doc> before hitting AEM admin so the
last ~2s of canvas edits (held in da-collab's debounce) aren't missed
when AEM reads from da-admin. On flush failure, surface the same error
dialog used for AEM errors instead of publishing stale content.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@aem-code-sync

aem-code-sync Bot commented Jul 15, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

Match the existing AEM-failure pattern: await the dialog + sl-button
imports before assigning _dialog, so the reactive render doesn't briefly
try to upgrade unregistered custom elements.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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