Skip to content

Commit

Permalink
馃殌 (whatsapp) Remove beta status
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jan 29, 2024
1 parent 32927e0 commit c08ab3d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 37 deletions.
5 changes: 3 additions & 2 deletions apps/builder/src/features/preview/components/RuntimeMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion apps/builder/src/features/preview/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const runtimes = [
{
name: 'WhatsApp',
icon: <WhatsAppLogo />,
status: 'beta',
},
{ name: 'API', icon: <CodeIcon /> },
] as const
2 changes: 0 additions & 2 deletions apps/docs/deploy/whatsapp/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down
28 changes: 2 additions & 26 deletions apps/docs/openapi/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
},
Expand Down

0 comments on commit c08ab3d

Please sign in to comment.