Skip to content

Commit e6dc2da

Browse files
committed
Add arcades & images for action flow editor
1 parent 61a2ce0 commit e6dc2da

File tree

7 files changed

+48
-27
lines changed

7 files changed

+48
-27
lines changed

docs/resources/control-flow/functions/actions/action-flow-editor.md renamed to docs/resources/control-flow/functions/action-flow-editor.md

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Action Flow Editor
33
tags: [ ]
44
toc_max_heading_level: 5
5-
sidebar_position: 1
5+
sidebar_position: 3
66
---
77

88
# Actions
@@ -27,7 +27,7 @@ Actions are tasks or operations that are performed in response to an event detec
2727
The Action Flow Editor is a visual, node-based editor used to configure the functions that run in
2828
response to a trigger. This editor simplifies the process of creating and managing business logic.
2929

30-
![Action Flow Editor](../../../../../static/img/action-flow-editor.avif)
30+
![Action Flow Editor](../../../../static/img/action-flow-editor.avif)
3131

3232
### Action Triggers
3333

@@ -36,7 +36,7 @@ triggers. Each trigger has its own separate node editor, allowing you to create
3636
flows for different events. When you switch between triggers, the node editor updates to display
3737
the logic specific to the selected action trigger.
3838

39-
![Triggers](../../../../../static/img/action-flow-editor-triggers.avif)
39+
![Triggers](../../../../static/img/action-flow-editor-triggers.avif)
4040

4141
:::warning[Exposed by FlutterFlow]
4242
Please note that Action Triggers are provided by FlutterFlow and are not user-generated. You can
@@ -179,10 +179,13 @@ The Right Panel serves two main purposes:
179179

180180
### Widget Binding
181181

182-
The icon in the upper left corner of the Action Flow Editor identifies the widget to which the
183-
current action flow is bound.
182+
In the Action Flow Editor, the icon in the upper left corner indicates the widget to which the current action flow is bound.
184183

185-
![Action Flow Editor](../../../../../static/img/action-flow-editor-widget.avif)
184+
![Action Flow Editor](../../../../static/img/action-flow-editor-widget.avif)
185+
186+
If you rename your widget, the new name will automatically be updated and associated with this action flow. This makes it easier to keep track of the logic associated with each widget, ensuring clarity and better organization of your action flows.
187+
188+
![img.png](img%2Fimg.png)
186189

187190
### Issues
188191

@@ -223,4 +226,35 @@ The diamond icon in the Action Flow Editor opens a menu where you can create and
223226
**Action Blocks** are reusable action flows that can accept parameters and return values, promoting code
224227
reusability and modularity.
225228

226-
![action-block.avif](../../../../../static/img/action-block.avif)
229+
![action-block.avif](../../../../static/img/action-block.avif)
230+
231+
232+
### Example
233+
234+
Here's a quick demo of how you can add an action or multiple sequential actions to a widget:
235+
236+
<div style={{
237+
position: 'relative',
238+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
239+
height: 0,
240+
width: '100%'
241+
}}>
242+
<iframe
243+
src="https://demo.arcade.software/w3B62goFPcrUn1FFno3V?embed&show_copy_link=true"
244+
title=""
245+
style={{
246+
position: 'absolute',
247+
top: 0,
248+
left: 0,
249+
width: '100%',
250+
height: '100%',
251+
colorScheme: 'light'
252+
}}
253+
frameborder="0"
254+
loading="lazy"
255+
webkitAllowFullScreen
256+
mozAllowFullScreen
257+
allowFullScreen
258+
allow="clipboard-write">
259+
</iframe>
260+
</div>

docs/resources/control-flow/functions/actions/_category_.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/resources/control-flow/functions/actions/how-to.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/resources/control-flow/functions/built-in-functions/overview.md renamed to docs/resources/control-flow/functions/built-in-functions.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Overview
2+
title: Built-in Functions
3+
sidebar_position: 2
34
---
45

56
# Utility Functions
@@ -13,12 +14,14 @@ manipulation directly within the visual builder.
1314

1415
FlutterFlow has the following built-in functions:
1516

17+
* **Combine Text:** A built-in function that lets you concatenate strings, making it easy to join
18+
multiple text elements together seamlessly.
19+
1620
* **Code Expression:** This feature allows you to perform simple calculations and data
1721
manipulations
1822
quickly and efficiently.
1923

20-
* **Combine Text:** A built-in function that lets you concatenate strings, making it easy to join
21-
multiple text elements together seamlessly.
24+
2225

2326
## Combine Text
2427

docs/resources/control-flow/functions/built-in-functions/_category_.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
286 KB
Loading

docs/resources/control-flow/functions/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ response to specific events, such as a button click or a page load.
5959

6060
There are different types of functions you can use in your app. Some examples in FlutterFlow are:
6161

62-
* **[Built-in Utility Functions](built-in-functions/overview):** Functions that perform general utility
62+
* **[Built-in Utility Functions](built-in-functions.md):** Functions that perform general utility
6363
tasks, such as
6464
formatting
6565
data or performing calculations. In FlutterFlow, you can use Code Expression for simple data manipulation tasks or use the Combine Text built-in function to concatenate strings.

0 commit comments

Comments
 (0)