Skip to content

Commit 8b5cfe7

Browse files
committed
Fix Navigation Menu links
1 parent 1e8cb73 commit 8b5cfe7

File tree

7 files changed

+27
-17
lines changed

7 files changed

+27
-17
lines changed

docs/ff-concepts/adding-customization/cloud-functions.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
slug: /concepts/custom-code/cloud-functions
33
title: Cloud Functions
44
description: Learn how to use Cloud Functions in your FlutterFlow app for serverless backend functionality.
5-
tags: [FlutterFlow, Cloud Functions, Serverless, Integration]
5+
tags: [Cloud Functions, Serverless, Integration]
66
sidebar_position: 6
77
keywords: [FlutterFlow, Cloud Functions, Serverless, Integration]
88
---
99

1010
# Cloud Functions
1111

12-
[Cloud Functions](https://firebase.google.com/docs/functions) allows you to run backend code in response to events triggered by Firebase features and HTTPS requests. For example, you want to automatically send a welcome email to users when they sign up for your app. You can do this using a Cloud Function that triggers on Firebase Authentication's user creation event.
12+
[**Cloud Functions**](https://firebase.google.com/docs/functions) allows you to run backend code in response to events triggered by Firebase features and HTTPS requests. For example, you want to automatically send a welcome email to users when they sign up for your app. You can do this using a Cloud Function that triggers on Firebase Authentication's user creation event.
1313

1414
We allow you to write and deploy Firebase Cloud Functions directly within the platform. With an integrated code editor, writing JavaScript cloud functions is quick and user-friendly. Each function has customizable boilerplate settings, including pre-configured essentials like memory, region, and timeout.
1515

@@ -73,16 +73,18 @@ Few things to note here:
7373

7474
To create and deploy a *Cloud Function* :
7575

76-
1. Click on the **Cloud Functions** from the [*Navigation Menu*]
77-
(/getting-started/ui-builder/navigation-menu) (left side of your screen).
78-
5. Click **+ Add**. This will add the default newCloudFunction*.*
76+
1. Click on the **Cloud Functions** from the
77+
[**Navigation Menu**](../../../docs/intro/ff-ui/builder.md#navigation-menu) (left side of your
78+
screen).
79+
5. Click **+ Add**. This will add the default `newCloudFunction`.
7980
8. Set the **Cloud Function Name**.
8081

8182
#### Boilerplate Settings
8283

8384
On the right side, you can configure the following Boilerplate Settings:
8485
1. **Memory Allocation**: You can specify the amount of memory your function should have when
8586
it's executed based on its complexity and needs. This setting is crucial as it influences the function's performance and the cost of running it. More memory can enhance performance for intensive tasks but also increase costs.
87+
8688
5. **Timeout (s)**: This refers to the maximum amount of time, in seconds, that a function is allowed to run before it is automatically terminated. If your function takes longer to execute, increasing the timeout setting may be necessary. However, be aware that longer timeouts can incur higher costs since billing is based on execution time.
8789
8. **Require Authentication**: Turn on this setting if you want users to be authenticated to execute this cloud function.
8890
11. **Cloud Function Region**: This determines the geographical location of the servers where your functions are hosted and executed. Ideally, you should keep this same as your *Default GCP resource location* and the Cloud Function Region specified in the Firebase Advanced Settings.
@@ -96,6 +98,7 @@ by configuring the input and output.
9698

9799
1. To receive output from a Cloud Function, enable the **Return Value** and choose an
98100
appropriate Type for the output, like 'String' for text. For this example, set it to *ImagePath* to get the URL of the generated logo.
101+
99102
5. To input data: Click **+ Add parameters**. **Name** the parameter, select its **Type**, choose single or multiple items (**Is List** option), and uncheck **Nullable** if the value can be null. For this example, add a parameter 'prompt' with *Type* set to *String*.
100103
8. When using [Custom Data Types](/data-and-backend/custom-data-types), Cloud Function expects JSON, matching each field in the Data Type to a key-value pair in the JSON. If the Data Type is a list, the function expects a list of JSONs. For example, for a custom data type named 'Person' with fields 'Name' and 'Age,' the function should return:
101104

@@ -129,6 +132,7 @@ For a list, the function should return:
129132
#### To deploy
130133
1. Click the `[</>]` icon to view the boilerplate code; a popup will open with the updated
131134
code, and then click **`</> Copy to Editor`**. **Tip**: To see if you are able to deploy the cloud function (before adding your own code), proceed directly with steps 8 and 9.
135+
132136
2. Inside the code editor, add the cloud function code. **Tip**: You can copy the boilerplate code
133137
to [ChatGPT](https://chat.openai.com/) and ask it to write the desired code based on that.
134138
3. Click **Save Cloud Function**.

docs/ff-concepts/adding-customization/custom-files.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ Future setStatusbarColor() async {
6666
}
6767
```
6868

69-
2. Now click on **Custom Functions** from the [*Navigation Menu*](/getting-started/ui-builder/navigation-menu) (left side of your screen) and open the **Custom Files > main.dart**.
69+
2. Now click on **Custom Functions** from the
70+
[**Navigation Menu**](../../../docs/intro/ff-ui/builder.md#navigation-menu) and open the **Custom Files > main.dart**.
7071
5. Determine where to place the code (i.e., **Initial Action** or **Final Action**), click the **+** button, and select the custom action.
7172
8. Click **Save**.
7273

docs/ff-integrations/authentication/types/firebase-auth/auth-initial-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ You have already enabled 'Create User Collection' while creating a new
5252
project with [Firebase Setup](../../../firebase/connect-to-firebase-setup.md).
5353
:::
5454

55-
1. Click on the Firestore tab from the Navigation Menu (left side of your
56-
screen).
55+
1. Click on the Firestore tab from the
56+
[**Navigation Menu**](../../../../../docs/intro/ff-ui/builder.md#navigation-menu).
5757
2. Click on the **+ Create Collection** button. If you have any other collection
5858
already added, you can click on the Plus button.
5959
3. Enter a collection_name (this can be anything, but we recommend 'users') and

docs/intro/ff-ui/builder.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ keywords: [App Builder, FlutterFlow, UI, Design]
1010

1111
# App Builder
1212

13-
On opening the project, you'll see the App Builder, which consists of four main sections: [Navigation Menu](#navigation-menu), [Toolbar](#toolbar), [Canvas](#canvas-area), and [Properties panel](#properties-panel).
13+
On opening the project, you'll see the App Builder, which consists of four main sections:
14+
[Navigation Menu](#navigation-menu), [Toolbar](#toolbar), [Canvas](#canvas-area), and [Properties panel](#properties-panel).
1415

1516
![app-builder](imgs/builder.avif)
1617

17-
## Navigation Menu {#navigation-menu}
18+
## Navigation Menu
1819

1920
The Navigation Menu, located on the left side of the builder, allows you to switch between various FlutterFlow features. These include designing the UI, managing databases, setting up API, adjusting app settings, adding integrations, and more.
2021

@@ -36,14 +37,14 @@ Here is a list of all the features accessible from the navigation menu:
3637
14. **Theme settings**: Customize visual appearance.
3738
15. **Settings and Integrations**: Access app-related settings and integrations.
3839

39-
## ToolBar {#toolbar}
40+
## ToolBar
4041

4142
From [ToolBar](toolbar), you can search for project resources, change canvas size, see project history, branching, optimization and enhancements, view-download code, and run your app.
4243

43-
## Canvas Area {#canvas-area}
44+
## Canvas Area
4445

4546
In the [Canvas Area](canvas), you can see a preview of a device's screen and build your app page.
4647

47-
## Properties Panel {#properties-panel}
48+
## Properties Panel
4849

4950
The Properties Panel lets you modify both the visual appearance and interactive behavior of UI elements on the canvas. It allows you to add [Actions](#), set up a [Backend Query](#), add [Animations](#) and more.

docs/intro/ff-ui/canvas.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ This is the canvas of the device screen where you can build the user interface.
2020

2121
## Show or hide Navigation Menu
2222

23-
From here, you can open or close the [Navigation Menu](#).
23+
From here, you can open or close the
24+
[Navigation Menu](../../../docs/intro/ff-ui/builder.md#navigation-menu).
2425

2526
## Zoom Controls
2627

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ We offer you the following types of Backend Queries that you can specify on any
3636

3737
## Change loading indicator
3838

39-
While the backend query is busy retrieving results, it shows the default *Project Theme Loading Indicator* (which you can change from [*Navigation menu*](/getting-started/ui-builder/navigation-menu) *> Theme Settings > Design System > Loading Indicator*.) However, if you want to replace this with a custom loading indicator in a specific backend query, follow the instructions below:
39+
While the backend query is busy retrieving results, it shows the default *Project Theme Loading
40+
Indicator* (which you can change from
41+
[**Navigation menu**](../../../../../docs/intro/ff-ui/builder.md#navigation-menu) *> Theme
42+
Settings > Design System > Loading Indicator*.) However, if you want to replace this with a custom loading indicator in a specific backend query, follow the instructions below:
4043

4144
<div style={{
4245
position: 'relative',
@@ -138,7 +141,7 @@ For example, an e-commerce app can cache product data, such as product descripti
138141
Caching backend queries works for all [types of queries](/data-and-backend/backend-query#types-of-query).
139142
:::
140143

141-
:::Tip[Single time Query]
144+
:::tip[Single time Query]
142145
For Firebase queries, enable Single Time Query if you want the query to fetch data only once. Otherwise, the query operates in real-time, updating automatically as soon as the data changes.
143146
:::
144147

docs/resources/control-flow/backend-logic/backend-query/document-from-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This backend query would help you in retrieving information from a document refe
1414
:::info[Prerequisites]
1515
In order to use this backend query, you should have:
1616
* Completed all the steps of
17-
[Firebase Setup](docs/ff-integrations/firebase/connect-to-firebase-setup.md) for
17+
[Firebase Setup](../../../../../docs/ff-integrations/firebase/connect-to-firebase-setup.md) for
1818
your project.
1919
* At least one **Firestore Collection** is defined in your project.
2020
:::

0 commit comments

Comments
 (0)