Skip to content

Commit 74d275d

Browse files
committed
Minor fixes
1 parent 6a9923f commit 74d275d

File tree

4 files changed

+21
-30
lines changed

4 files changed

+21
-30
lines changed

docs/resources/control-flow/backend-logic/api/streaming-api.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ When working with Server Sent Events (SSE) in FlutterFlow, it's essential to und
229229

230230
This field captures the result of JSON parsing. For example:
231231

232-
Copy
233232
```
234233
event: chat
235234
@@ -239,7 +238,6 @@ id: 2
239238
```
240239
The Server Sent Event Data JSON would be:
241240

242-
Copy
243241
```
244242
{
245243
"response": "hello",
@@ -248,7 +246,6 @@ Copy
248246
```
249247
**Note that** If the data is not in JSON format, it will be null:
250248

251-
Copy
252249
```
253250
event: ping
254251
@@ -262,7 +259,6 @@ The Server Sent Event Data JSON would be `null`.
262259

263260
This field contains just the text of the "data" field from the SSE. If there are multiple "data" entries, they are concatenated with a new line. For example, from the event:
264261

265-
Copy
266262
```
267263
event: ping
268264
@@ -274,7 +270,6 @@ The Server Sent Event Data Text would be: `Server time is 2024-06-28T11:52:56+00
274270

275271
And from the event:
276272

277-
Copy
278273
```
279274
event: journalEntry
280275
@@ -286,7 +281,6 @@ id: 3
286281
```
287282
The Server Sent Event Data Text would be:
288283

289-
Copy
290284
```
291285
Today I went to the park.
292286
@@ -296,7 +290,6 @@ For Lunch I had a sandwich.
296290

297291
This field contains the text of the "event" field from the SSE. For example:
298292

299-
Copy
300293
```
301294
event: ping
302295
@@ -310,7 +303,6 @@ The Server Sent Event Name would be `ping`.
310303

311304
This field contains the text of the "id" field from the SSE, typically used to keep track of the last sent item from the server. For example:
312305

313-
Copy
314306
```
315307
event: ping
316308
@@ -328,7 +320,6 @@ This field contains the "retry" field from the SSE, typically used to communicat
328320

329321
This includes the entire Server Sent Event (SSE) message, including new lines and fields ('data', 'event', 'id', 'retry'). For example:
330322

331-
Copy
332323
```
333324
event: ping
334325

docs/resources/control-flow/backend-logic/backend-query/algolia-search-query.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ You will need a text to be used as the **search term** while using the Algolia s
2727

2828
Follow the steps below to create this UI:
2929

30-
1. Drag a `**TextField**` widget from the [Widget Panel]
31-
(/getting-started/ui-builder/navigation-menu/widget-and-component-panel) and drop it onto the canvas. (In the demo below, the `TextField` is placed inside the `AppBar` of the app).
32-
5. You can customize the `TextField` properties to match your app's design style. Add a search `Icon` to signify that it's a search field.
33-
8. Check the **Update Page On Change** checkbox. This helps to update the page as the user types inside the `TextField`. This would be required to use the latest text field value as the search term.
30+
1. Drag a TextField widget from the [Widget Panel]
31+
(/getting-started/ui-builder/navigation-menu/widget-and-component-panel) and drop it onto the canvas. (In the demo below, the TextField is placed inside the AppBar of the app).
32+
5. You can customize the TextField properties to match your app's design style. Add a search Icon to signify that it's a search field.
33+
8. Check the **Update Page On Change** checkbox. This helps to update the page as the user types inside the TextField. This would be required to use the latest text field value as the search term.
3434
11. Set an **Update Delay** (in milliseconds). This specifies the amount of time after the user stops typing to update the page.
35-
14. Now, drag and drop a `**ListView**` widget onto the canvas.
36-
17. Similarly, you can add widgets inside the `ListView` that you need for displaying the search result. (In the following demo, you will find that two `Text` widgets are added inside a `Column`).
35+
14. Now, drag and drop a ListView widget onto the canvas.
36+
17. Similarly, you can add widgets inside the ListView that you need for displaying the search result. (In the following demo, you will find that two Text widgets are added inside a Column).
3737

3838
<div style={{
3939
position: 'relative',
@@ -73,7 +73,7 @@ apply the query on the `ListView` widget.
7373
8. Select the **Query Type** as ***Algolia Search***.
7474
11. Choose the **Firebase Collection** on which to perform the search.
7575
14. Define from where to get the **Search Term**. You can either choose ***Specific Value*** or ***From Variable***. If you want to use a `TextField` value as the search term, you should choose *From Variable*.
76-
17. If you have chosen ***Specific Value****,*define the term inside the field present.
76+
17. If you have chosen **Specific Value**,define the term inside the field present.
7777
20. If you have chosen ***From Variable***, select a **Source** from the dropdown menu and then select an option from the **Available Options**. For example, if you want to use the value of a `TextField`, select the Source as ***Widget State*** and choose the field name under Available Options.
7878
23. Set the number of maximum search results to fetch under **Max Results**. Keep this field blank if you want to fetch all the matching search results.
7979

docs/resources/control-flow/backend-logic/backend-query/backend-query.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ While the backend query is busy retrieving results, it shows the default *Projec
6464
To change the loading indicator:
6565

6666
1. Ensure you have added a backend query.
67-
5. Open the **Backend Query** section (on the right side) and scroll down to the **Backend Query Loading Widget**. Open it by clicking on the arrow icon.
68-
8. Set the **Loading Widget Type** to **Image**. You can also choose a [**Component**](/widgets-and-components/custom-components) if you have already designed a loading component.
69-
11. Enable the **View in UI Builder**. This allows you to see your custom loading indicator on canvas (before you actually run the app).
70-
14. Choose the **Image Type**, [add the image](/widgets-and-components/widgets/widget-commonalities#changing-image-type), and adjust its **Padding** and **Width**.
71-
17. To show the indicator in the center, turn on the **Center Image** toggle.
72-
20. Run the app, and your custom loading indicator will appear while the data is being loaded.
67+
2. Open the **Backend Query** section (on the right side) and scroll down to the **Backend Query Loading Widget**. Open it by clicking on the arrow icon.
68+
3. Set the **Loading Widget Type** to **Image**. You can also choose a [**Component**](/widgets-and-components/custom-components) if you have already designed a loading component.
69+
4. Enable the **View in UI Builder**. This allows you to see your custom loading indicator on canvas (before you actually run the app).
70+
5. Choose the **Image Type**, [add the image](/widgets-and-components/widgets/widget-commonalities#changing-image-type), and adjust its **Padding** and **Width**.
71+
6. To show the indicator in the center, turn on the **Center Image** toggle.
72+
7. Run the app, and your custom loading indicator will appear while the data is being loaded.
7373

7474
<div class="video-container"><iframe src="https://www.loom.
7575
com/embed/342529d978644aabac485e518eff4a76?sid=83c5d7c7-1a94-44c0-aec4-12786f768b2c" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
@@ -110,11 +110,11 @@ The *Empty List* widget is a widget used to display a message when there are no
110110

111111
To display the empty list widget:
112112

113-
2. Ensure you have added a backend query on any scrollable widget, such as [ListView](/widgets-and-components/widgets/layout-elements/listview), [GridView](/widgets-and-components/widgets/layout-elements/gridview), [Column](/widgets-and-components/widgets/layout-elements/columns), [Row](/widgets-and-components/widgets/layout-elements/row), DataTable, and [StaggeredView](/widgets-and-components/widgets/layout-elements/staggeredview).
114-
5. Select the scrollable widget (on which you have added the backend query), move to the properties panel, and turn on the **Show Empty List Widget**.
115-
8. Set **Widget Type** to **Image** or **Component**. The further options are available based on what you choose.
116-
11. Try toggling the **View in UI Builder**. This allows you to see your empty list widget on canvas (before you actually run the app).
117-
14. You can also control the size and centering of the widget using the available options.
113+
1. Ensure you have added a backend query on any scrollable widget, such as [ListView](/widgets-and-components/widgets/layout-elements/listview), [GridView](/widgets-and-components/widgets/layout-elements/gridview), [Column](/widgets-and-components/widgets/layout-elements/columns), [Row](/widgets-and-components/widgets/layout-elements/row), DataTable, and [StaggeredView](/widgets-and-components/widgets/layout-elements/staggeredview).
114+
2. Select the scrollable widget (on which you have added the backend query), move to the properties panel, and turn on the **Show Empty List Widget**.
115+
3. Set **Widget Type** to **Image** or **Component**. The further options are available based on what you choose.
116+
4. Try toggling the **View in UI Builder**. This allows you to see your empty list widget on canvas (before you actually run the app).
117+
5. You can also control the size and centering of the widget using the available options.
118118

119119
<div class="video-container"><iframe src="https://www.loom.
120120
com/embed/667ed7fd6cdd40b7b602dcae6000f151?sid=8e5a3e88-6b32-4bf9-b156-372b297be16a" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>

docs/resources/control-flow/backend-logic/backend-query/sqlite-query.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ com/embed/29001cdee28d4d058dd711b3bbb70b7e?sid=d5be04cc-1ce3-4f16-98e1-5b929c0f6
3939

4040
Once you have the SQLite query defined, you can use the data retrieved from the query to display on widgets present inside. Follow the steps below:
4141

42-
2. Select the **widget** (e.g., `Text`) on which you want to display the data.
43-
5. From the [Properties Panel](/getting-started/ui-builder/properties-panel), open the **Set from Variable** menu **>** select **[your query name] Row** **>** select the column data that you want display here.
44-
8. Click **Confirm**.
42+
1. Select the **widget** (e.g., `Text`) on which you want to display the data.
43+
2. From the [Properties Panel](/getting-started/ui-builder/properties-panel), open the **Set from Variable** menu **>** select **[your query name] Row** **>** select the column data that you want display here.
44+
3. Click **Confirm**.
4545

4646
<div class="video-container"><iframe src="https://www.loom.
4747
com/embed/1cf9df4d871948c1b6513587c05d9040?sid=c77df270-a91b-40da-b796-05f243ae9d15" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>

0 commit comments

Comments
 (0)