diff --git a/docs/apps/0_app_editor/index.mdx b/docs/apps/0_app_editor/index.mdx index fab5bb6e6..4c1a96f30 100644 --- a/docs/apps/0_app_editor/index.mdx +++ b/docs/apps/0_app_editor/index.mdx @@ -27,8 +27,11 @@ The app editor is composed of 6 main sections: 1. [Toolbar](/docs/apps/app_editor#toolbar) 2. [Canvas](#canvas) -3. [Outputs](#outputs) + +_Connecting components_:
+3. [Outputs](#outputs)
4. [Runnables panel](#runnables-panel) + 5. [Component Library and Settings](#component-library-and-settings) 6. [App Styling](#styling) @@ -45,7 +48,7 @@ The topbar helps you in your app editing.
@@ -68,7 +71,7 @@ The canvas at the center of the editor is where you design and see the overall U
@@ -80,7 +83,46 @@ The canvas at the center of the editor is where you design and see the overall U />
-## Outputs +## Connecting Components + +The strength of Windmill's app editor is the ability to connect everything together: +- components can be linked to each other +- components can be directly linked to scripts and trigger them +- background runnables can be that are run in the background on app refresh on when an input changes +- frontend scripts can be used to manipulate the client app state + +
+ +
+ +In Windmill's app editor: + +- the [runnable editor](#runnables-panel) catalogs and configures all the scripts present in the application +- the [output panel](#outputs) lists the outputs of all the components and scripts in your application + +### Runnables panel + +On the bottom panel of the editor, you can see the list of runnables of the app. The runnables are the scripts or flows that are linked to components, or ran in the background. They are used to perform actions when a component is clicked, to fetch data, etc. They make all the interactions of the app. + +![App Runnables panel](../../assets/apps/0_app_editor/app-runnable-panel.png) + +#### Learn more + +
+ +
+ +### Outputs On the left panel of the editor, you can see the list of outputs of the app. These outputs represent the states & results of the app and are categorized into four types: @@ -96,7 +138,7 @@ You can perform the following actions with the outputs: - Search for an output. - Edit the output's ID. - Select a component to view its outputs. -- [Connect an input to an output](../2_outputs.md#connecting-inputs). +- [Connect an input to an output](../2_connecting_components/index.mdx). #### Learn more @@ -115,23 +157,6 @@ You can perform the following actions with the outputs: />
-## Runnables panel - -On the bottom panel of the editor, you can see the list of runnables of the app. The runnables are the scripts or flows that are linked to components, or ran in the background. They are used to perform actions when a component is clicked, to fetch data, etc. They make all the interactions of the app. - -![App Runnables panel](../../assets/apps/0_app_editor/app-runnable-panel.png) - -#### Learn more - -
- -
- ## Component Library and Settings Finally, on the right panel of the editor, you can insert a new component, configure a component or edit the component styles. @@ -151,9 +176,9 @@ Finally, on the right panel of the editor, you can insert a new component, confi /> diff --git a/docs/apps/0_toolbar.md b/docs/apps/0_toolbar.md index d5fd397c3..10feba0f5 100644 --- a/docs/apps/0_toolbar.md +++ b/docs/apps/0_toolbar.md @@ -1,4 +1,4 @@ -# Toolbar Guide +# Toolbar The app toolbar is located at the top of the app editor. It enables you to adjust app settings. diff --git a/docs/apps/1_canvas.mdx b/docs/apps/1_canvas.mdx index b4953cd57..84867299d 100644 --- a/docs/apps/1_canvas.mdx +++ b/docs/apps/1_canvas.mdx @@ -1,10 +1,21 @@ import DocCard from '@site/src/components/DocCard'; -# Canvas Guide +# Canvas The app canvas is the main area of the app editor. It displays the app components and allows you to configure them. You can move and resize components and lock them to prevent them from being moved or resized by another component. +