Comments in Canvas expression editor

Is there a way to add comments in the Canvas expression editor?

I have created a rather complex expression with multiple pipes to work around a Canvas limitation (timezones), and want to document how and why I did it, with short instructions on how I think it should work once the limitation is resolved.

I've tried #comment and //comment, as well as <!--comment--> and /*comment*/ to no avail. Searching on the documentation didn't help either.

Any ideas?

There isn't, but it would make a good enhancement request :slight_smile:

Opened a feature request: https://github.com/elastic/kibana/issues/42829

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.