webpage_plugin under the
plugins folder and a typescript file with path
webpage_plugin/custom_script.ts as the entrypoint.
Currently Querybook allows the plugin to set the following messages:
You can set the message directly in the custom_script.ts:
With result transform, you can dding url link or to transform the text into image. To see the complete guide, please check out Plugins Guide on how.
The landing page is the page shown with the route '/'. You can do so by modifying the window variable with the following type:
The renderer should be treated as the entry point into your customized react view. You can add any default HTML elements you want or import UI elements from Querybook.
If the mode variable is not provided, then Querybook would show this custom content in the middle section (currently empty) of the default landing page. However, if you specify the mode to be "replace", then the entire landing page will be replaced with your custom content.