From b6e5002a5692368a15c526b1bd67572574a9ee0e Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Thu, 1 Jun 2023 10:29:02 +0200 Subject: [PATCH] :lipstick: Improve picture choice description UI --- .../date/components/DateInputSettings.tsx | 2 +- .../blocks/integrations/google-sheets.mdx | 4 +++ apps/docs/docs/embed/html-javascript.md | 36 +++++++++++++++++-- packages/embeds/js/README.md | 6 ++-- packages/embeds/js/package.json | 2 +- .../pictureChoice/MultiplePictureChoice.tsx | 22 ++++++++---- .../pictureChoice/SinglePictureChoice.tsx | 6 ++-- packages/embeds/react/package.json | 2 +- 8 files changed, 62 insertions(+), 18 deletions(-) diff --git a/apps/builder/src/features/blocks/inputs/date/components/DateInputSettings.tsx b/apps/builder/src/features/blocks/inputs/date/components/DateInputSettings.tsx index 983d2d3a12..b3b22d68af 100644 --- a/apps/builder/src/features/blocks/inputs/date/components/DateInputSettings.tsx +++ b/apps/builder/src/features/blocks/inputs/date/components/DateInputSettings.tsx @@ -33,7 +33,7 @@ export const DateInputSettings = ({ options, onOptionsChange }: Props) => { /> {options.isRange && ( diff --git a/apps/docs/docs/editor/blocks/integrations/google-sheets.mdx b/apps/docs/docs/editor/blocks/integrations/google-sheets.mdx index 5d4e61bcad..b93b97e143 100644 --- a/apps/docs/docs/editor/blocks/integrations/google-sheets.mdx +++ b/apps/docs/docs/editor/blocks/integrations/google-sheets.mdx @@ -14,6 +14,10 @@ In order to properly work, your spreadsheet must have its first row as a header alt="Google Analytics block" /> +## How to add the submission date to my row? + +For this, you will need to set a new variable with the value "Today" before the Google Sheets block. Then you can simply use this variable in the Google Sheets block. + ## Troubleshooting The Google sheets block didn't insert or update a row but was supposed to? Make sure to check the [logs](/editor/results). If you still can't figure out what went wrong, shoot me a message using the chat button directly in the tool 👍 diff --git a/apps/docs/docs/embed/html-javascript.md b/apps/docs/docs/embed/html-javascript.md index be2c8637a9..3babaf4edc 100644 --- a/apps/docs/docs/embed/html-javascript.md +++ b/apps/docs/docs/embed/html-javascript.md @@ -12,7 +12,7 @@ There, you can change the container dimensions. Here is a code example: ```html + + +... + +``` + ## Bubble You can get the bubble HTML and Javascript code by clicking on the "HTML & Javascript" button in the "Share" tab of your typebot. @@ -74,7 +104,7 @@ Here is an example: ```html