Skip to content

Commit 1240d16

Browse files
authored
Most recent changelogs and docs, new video and other things (windmill-labs#565)
1 parent e6ff289 commit 1240d16

File tree

54 files changed

+567
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+567
-106
lines changed

blog/2023-06-05-discord-bot/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ We can [schedule](/docs/core_concepts/scheduling) the flow to run every month.
336336
#### Learn more about Windmill features
337337

338338
<div className="grid grid-cols-2 gap-6 mb-4">
339-
<DocCard title="For loops" description="For loops documentation" href="/docs/flows/flow_loops" />
339+
<DocCard title="For Loops" description="For Loops documentation" href="/docs/flows/flow_loops" />
340340
<DocCard
341341
title="Schedule"
342342
description="Learn how you can schedule a flow"
@@ -666,7 +666,7 @@ export async function main(
666666
<div className="grid grid-cols-2 gap-6 mb-4">
667667
<DocCard
668668
title="Suspend & Approval / Prompts"
669-
description="Flows can be suspended until resumed or cancelled event(s) are received"
669+
description="Flows can be suspended until resumed or canceled event(s) are received"
670670
href="/docs/flows/flow_approval"
671671
/>
672672
</div>

blog/2023-11-20-ai-flow-builder/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The primitives supported by Windmill workflows are:
9494
- sequence
9595
- branch based on conditions
9696
- branch to all subbranches
97-
- for loops
97+
- For Loops
9898
- approval/waiting for event steps
9999
- sub flows
100100

Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
slug: custom-flow-states
3+
version: v1.296.0
4+
title: Custom Flow States
5+
tags: ['Flow Editor']
6+
image: ./custom_flow_states.png
7+
description: You can set and retrieve a value given a key from any step of flow and it will be available from within the flow globally.
8+
features:
9+
[
10+
'Set custom flow states from any step.',
11+
'Retrieve custom flow states from any step.',
12+
'Supported in TypeScript and Python.'
13+
]
14+
docs: /docs/core_concepts/resources_and_types#custom-flow-states
15+
---
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
slug: continue-on-error
3+
version: v1.301.0
4+
title: Continue on error with error as step's return
5+
tags: ['Flow Editor']
6+
image: ./continue_on_error2.png
7+
description: When enabled, the flow will continue to the next step after going through all the retries (if any) even if this step fails.
8+
features:
9+
[
10+
'The flow will continue to the next step after going through all the retries (if any) even if this step fails.',
11+
'This enables to process the error in a branch one for instance.',
12+
'By default, each step is set to "Stop on error and propagate error up".'
13+
]
14+
docs: /docs/flows/retries#continue-on-error-with-error-as-steps-return
15+
---
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
slug: while-loops
3+
version: v1.301.0
4+
title: While Loops
5+
tags: ['Flow Editor']
6+
video: /videos/while_loop_changelog.mp4
7+
description: While loops execute a sequence of code indefinitely until the user cancels or a step set to Early Stop stops.
8+
features:
9+
[
10+
'The loop will continue to run until canceled, either manually or with an Early Stop for step or loop.',
11+
'Skip failure mode.',
12+
'Test and iteration.'
13+
]
14+
docs: /docs/flows/while_loops
15+
---

docs/apps/4_app_configuration_settings/aggrid_table.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ The following section details AgGrid Table component's specific settings. For mo
5151
| Row Multiselect With Click | boolean | false | false | true | If multiple selectable, allow multiselect with click. |
5252
| Pagination | boolean | false | false | false | Whether you want pages on your table. |
5353
| Select First Row By Default | boolean | false | false | false | Whether you want the first row to be selected by default. |
54-
| Extra Config | object | true | false | | Extra configuration for the AgGrid table. |
54+
| Extra Config | object | true | false | `{}` | Extra configuration for the AgGrid table. |
55+
| Compactness | select | true | false | normal | Change the row height (normal, compact, comfortable). |
5556

5657
## Outputs
5758

docs/apps/4_app_configuration_settings/database_studio.mdx

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,41 @@ For simple data display, check out the [Table](./table.mdx) component or the [Ag
2020

2121
<br/>
2222

23+
The following section details Database Studio's specific settings. For more details on the App Editor, check the [dedicated documentation](../0_app_editor/index.mdx) or the App Editor [Quickstart](../../getting_started/7_apps_quickstart/index.mdx):
24+
25+
<div className="grid grid-cols-2 gap-6 mb-4">
26+
<DocCard
27+
color="orange"
28+
title="App Editor Documentation"
29+
description="The app editor is a low-code builder to create custom User Interfaces with a mix of drag-and-drop and code."
30+
href="/docs/apps/app_editor"
31+
/>
32+
<DocCard
33+
color="orange"
34+
title="Apps Quickstart"
35+
description="Learn how to build your first app in a matter of minutes."
36+
href="/docs/getting_started/apps_quickstart"
37+
/>
38+
</div>
39+
2340
## Features
2441

2542
- Display the content of a table.
2643
- Edit the content of a table by directly editing the cells (only when the cell is editable).
2744
- Add a new row: The form is automatically generated based on the column definitions, and the default values are automatically set. The form opens in a drawer.
2845
- Delete a row: The delete button is displayed on the right of the row. The delete button is only displayed if the `Allow delete` property is set to true.
2946

47+
## Controls
48+
49+
`recompute`: [frontend script helper](../3_app-runnable-panel.mdx#frontend-scripts-helpers) to recompute the component on demand or automatically.
50+
3051
## Configuration
3152

3253
The component can be configured with the following properties:
3354

34-
- `resource`: The [PostgreSQL](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#postgresql) / [MySQL](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#mysql) / [MS SQL](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#ms-sql) / [Snowflake](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#snowflake) / [BigQuery](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#bigquery) resource to use.
35-
- `table`: The table to use. Once the resource is selected, the list will be populated with the tables available in the database.
55+
- `Type`: Either [PostgreSQL](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#postgresql), [MySQL](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#mysql), [MS SQL](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#ms-sql), [Snowflake](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#snowflake) or [BigQuery](../../getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx#bigquery).
56+
- `Resource`: The actual [resource](../../core_concepts/3_resources_and_types/index.mdx) from the above resource type.
57+
- `Table`: The table to use. Once the resource is selected, the list will be populated with the tables available in the database.
3658

3759
Once a resource is selected, you can explore the schema: It will open a drawer the schema of the database.
3860

@@ -65,13 +87,22 @@ Furthermore, each column exposes the same configuration as the Ag Chart column d
6587
/>
6688
</div>
6789

68-
## Table configuration
90+
## Database Studio configuration
6991

7092
The database studio uses the same configuration as the Ag Chart, expect for the following property.
7193

7294
| Name | Type | Connectable | Templatable | Default | Description |
7395
| ------------ | :-----: | :---------: | :---------: | :-----: | ------------------------------- |
74-
| Allow delete | boolean | true | false | false | Whether row deletion is enabled |
96+
| Where Clause | string | true | false | Empty | In PostgreSQL, to add additional constraints to the Where clause. |
97+
| Flex | boolean | true | false | true | Default col flex is 1 (see [AgGrid docs](https://ag-grid.com/javascript-data-grid/column-sizing/)). |
98+
| All Editable | boolean | true | false | false | Allow deleting rows. |
99+
| Allow Delete | boolean | true | false | false | Whether row deletion is enabled. |
100+
| Multiple Selectable | boolean | true | false | false | Make multiple rows selectable at once. |
101+
| Row Multiselect With Click | boolean | true | false | true | Allow multiselect with click. |
102+
| Select First Row by Default | boolean | true | false | true | Select the first row by default on start. |
103+
| Extra Config | object | true | false | `{}` | Any configuration that can be passed to ag-grid top level. |
104+
| Hide Insert | boolean | true | false | false | Hide the insert button. |
105+
| Hide Search | boolean | true | false | false | Hide the search bar. |
75106

76107
<div className="grid grid-cols-2 gap-6 mb-4">
77108
<DocCard

docs/apps/4_app_configuration_settings/s3fileinput.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ The following section details S3 File upload component's specific settings. For
3030
The S3 File Upload component offers the following interactions:
3131

3232
- Files are uploaded in chunks to the S3 bucket. The component emits the file path in the S3 bucket upon completion of the upload.
33-
- The upload can be cancelled by clicking on the 'Cancel' button.
34-
- All uploads can be cancelled simultaneously by clicking on the 'Cancel All' button.
33+
- The upload can be canceled by clicking on the 'Cancel' button.
34+
- All uploads can be canceled simultaneously by clicking on the 'Cancel All' button.
3535
- After completing all uploads, more files can be uploaded by clicking on the 'Upload More' button.
3636
- Uploaded files can be deleted by clicking on the 'Delete' button.
3737

0 commit comments

Comments
 (0)