Commit ac510ab
authored
✨ Add "Allow search engines to index" option (baptisteArno#2163)
# Configure the robots meta tag to allow search and link crawlers
## Description
Closes baptisteArno#1123
This PR adds the "Allow indexing" metadata option. This feature allows
users to control whether search engines like Google and LinkedIn can
index their Typebot content by removing the `noindex` meta tag when
enabled.
## Changes
- Updated `MetadataForm.tsx` to include a new switch toggle to allow
indexing
- Updated `Seo.tsx` to remove the `noindex` tag when indexing is enabled
- Made the appropriate changes for the typebot settings schema to
include the allow indexing option
- Added translations for the following keys to `en.json`, `fr.json`,
`pt-BR.json`, `pt.json` language files:
- `settings.sideMenu.metadata.allowIndexing.label`: "Allow search
engines to index"
- `settings.sideMenu.metadata.allowIndexing.tooltip`: "When enabled, the
noindex meta tag will be removed, allowing search engines like Google
and LinkedIn to index your typebot."
## Screenshots
1 parent 34a8da5 commit ac510ab
File tree
4 files changed
+16
-1
lines changed- apps
- builder/src
- features/settings/components
- i18n
- viewer/src/components
- packages/settings/src
4 files changed
+16
-1
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
158 | 167 | | |
159 | 168 | | |
160 | 169 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| 477 | + | |
| 478 | + | |
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments