Skip to content

Publishing/Unpublishing Page Triggers Live Event#2590

Open
braysch wants to merge 9 commits intoinstructure:masterfrom
atomicjolt:bs/pages-publish-trigger-live-event_AS-647
Open

Publishing/Unpublishing Page Triggers Live Event#2590
braysch wants to merge 9 commits intoinstructure:masterfrom
atomicjolt:bs/pages-publish-trigger-live-event_AS-647

Conversation

@braysch
Copy link

@braysch braysch commented Feb 26, 2026

Any change to workflow_state of a Wiki Page (including publishing/unpublishing) calls the already-established wiki_page_update method, triggering a live event. Unnecessary parameters in this call are replaced with nil.

Bradan Schwanke and others added 8 commits February 19, 2026 09:12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wire up workflow_state change detection in the
after_update observer callback so publishing or
unpublishing a wiki page fires the appropriate
wiki_page_published/wiki_page_unpublished events.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…iki page workflow_state is detected, wiki_page_updated is called instead.
…ng wiki_page_updated due to workflow state change (publish/unpublish) as these values do not change.
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.

2 participants