2
0

🚀 (whatsapp) Remove beta status

This commit is contained in:
Baptiste Arnaud
2024-01-23 08:17:22 +01:00
parent 32927e00bf
commit c08ab3d007
5 changed files with 5 additions and 37 deletions

View File

@ -28,7 +28,8 @@ export const RuntimeMenu = ({ selectedRuntime, onSelectRuntime }: Props) => {
>
<HStack justifyContent="space-between">
<Text>{selectedRuntime.name}</Text>
{'status' in selectedRuntime ? (
{'status' in selectedRuntime &&
typeof selectedRuntime.status === 'string' ? (
<Tag colorScheme="orange">{selectedRuntime.status}</Tag>
) : null}
</HStack>
@ -44,7 +45,7 @@ export const RuntimeMenu = ({ selectedRuntime, onSelectRuntime }: Props) => {
>
<HStack justifyContent="space-between">
<Text>{runtime.name}</Text>
{'status' in runtime ? (
{'status' in runtime && typeof runtime.status === 'string' ? (
<Tag colorScheme="orange">{runtime.status}</Tag>
) : null}
</HStack>

View File

@ -86,12 +86,6 @@ export const WhatsAppPreviewInstructions = (props: StackProps) => {
Check the docs
</Button>
</HStack>
<Alert status="warning">
<AlertIcon />
The WhatsApp integration is still in beta test.
<br />
Your bug reports are greatly appreciate 🧡
</Alert>
<TextInput
label="Your phone number"
placeholder="+XXXXXXXXXXXX"

View File

@ -9,7 +9,6 @@ export const runtimes = [
{
name: 'WhatsApp',
icon: <WhatsAppLogo />,
status: 'beta',
},
{ name: 'API', icon: <CodeIcon /> },
] as const

View File

@ -3,8 +3,6 @@ sidebarTitle: Overview
title: WhatsApp
---
WhatsApp integration is currently in beta. If you encounter any issue, please contact me directly using the Bubble in app.typebot.io.
## Preview
You can preview and test your bot by clicking on the Preview button in the editor and change the runtime to "WhatsApp".

View File

@ -13969,32 +13969,8 @@
"type": "object",
"properties": {
"resultExample": {
"allOf": [
{
"type": "object",
"properties": {
"message": {
"type": "string",
"enum": [
"This is a sample result, it has been generated ⬇️"
]
},
"Submitted at": {
"type": "string"
}
},
"required": [
"message",
"Submitted at"
]
},
{
"type": "object",
"additionalProperties": {
"type": "string"
}
}
],
"type": "object",
"additionalProperties": {},
"description": "Can contain any fields."
}
},