Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugins): add api to dump the current session layout to a plugin #3227

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Mar 26, 2024

This adds a plugin API that allows plugins to request the serialized layout of the current session. The serialized KDL layout will be returned as a CustomMessage API Event with the session_layout key. If there's an error, a CustomMessage API Event will be returned with the session_layout_error key. Either way, the plugin needs to subscribe to the CustomMessage Event.

This requires the ReadApplicationState permissions.

@imsnif imsnif merged commit 2eaa50c into main Mar 26, 2024
6 checks passed
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