Skip to content

Commit a2ecff6

Browse files
authored
Merge branch 'main' into fix/clarify-merging-info
2 parents 815c877 + 283c004 commit a2ecff6

File tree

2 files changed

+40
-4
lines changed

2 files changed

+40
-4
lines changed

docs/ff-integrations/database/cloud-firestore/getting-started.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,39 @@ com/embed/v_hR4K4auoQ" frameborder="0" allow="accelerometer; autoplay; clipboard
9595

9696
:::
9797

98+
## Manage Databases
99+
100+
You can also create multiple Firestore databases within a single Firebase project. This is especially useful for enterprise use cases, for example, when managing region-based databases or supporting multiple clients with isolated data stores.
101+
102+
Additionally, you can use multiple databases to simulate different environments such as development, staging, and production. **However, note that** this setup is not directly related to the [Development Environments](../../../testing-deployment-publishing/development-environments/development-environments.md) in FlutterFlow, which operates independently of Firebase's multi-database configuration. This means that you’ll need to manually switch Firestore Database ID when switching Development Environments.
103+
104+
To create a new database, go to the **Firebase Console > Firestore Database** section. Click the button next to the default database, i.e, **Add database**. Choose a region and configure your security rules. Once the new database is created, you can switch between databases using the dropdown.
105+
106+
Next, copy the new **Database ID** and navigate to **FlutterFlow > Settings and Integrations > Firebase > Advanced Settings**. Paste the ID into the **Firestore Database ID** input field. Finally, regenerate the config file. Your app will now use the newly created database.
107+
108+
109+
<div style={{
110+
position: 'relative',
111+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
112+
height: 0,
113+
width: '100%'}}>
114+
<iframe
115+
src="https://demo.arcade.software/f2lDuL0yk5UlrjkNnfRF?embed&show_copy_link=true"
116+
title=""
117+
style={{
118+
position: 'absolute',
119+
top: 0,
120+
left: 0,
121+
width: '100%',
122+
height: '100%',
123+
colorScheme: 'light'
124+
}}
125+
frameborder="0"
126+
loading="lazy"
127+
webkitAllowFullScreen
128+
mozAllowFullScreen
129+
allowFullScreen
130+
allow="clipboard-write">
131+
</iframe>
132+
</div>
133+
<p></p>

src/js/chatbot.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
style.textContent = `
1919
#dify-chatbot-bubble-button {
2020
background-color: #4B39EF !important;
21-
bottom: 0.25rem !important;
22-
right: 0.25rem !important;
21+
bottom: 0.80rem !important;
22+
right: 0.80rem !important;
2323
border-radius: 50% !important;
24-
width: 50px !important;
25-
height: 50px !important;
24+
width: 45px !important;
25+
height: 45px !important;
2626
}
2727
2828
/* Make the main chat window background more translucent to show rounded corners */

0 commit comments

Comments
 (0)