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

View File

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

View File

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

View File

@ -3,8 +3,6 @@ sidebarTitle: Overview
title: WhatsApp 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 ## Preview
You can preview and test your bot by clicking on the Preview button in the editor and change the runtime to "WhatsApp". 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", "type": "object",
"properties": { "properties": {
"resultExample": { "resultExample": {
"allOf": [
{
"type": "object", "type": "object",
"properties": { "additionalProperties": {},
"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"
}
}
],
"description": "Can contain any fields." "description": "Can contain any fields."
} }
}, },