2
0
Commit Graph

1766 Commits

Author SHA1 Message Date
ff3807a265 ⬆️ Upgrade ai package 2024-03-14 19:40:40 +01:00
7e3c1e7999 💄 Fix UI regression on editor menu button 2024-03-13 12:50:25 +01:00
cbfc980cf5 🚸 Remove 50 select items initial hard limit
Closes #1348
2024-03-13 10:20:52 +01:00
eaaa840cbf 🚑 Attempt to fix crash related to codemirror 2024-03-12 20:06:46 +01:00
1f40a4d758 🚸 (billing) Improve upgrade UX for non admin
Closes #1299
2024-03-12 20:01:21 +01:00
ecec7023b9 Add Anthropic block (#1336)
Hello @baptisteArno,

As we discussed in issue #1315 we created a basic implementation of
Anthropic’s Claude AI block.
This block is based on the OpenAI block and shares a similar structure.

The most notable changes in this PR are:
- Added the Claude AI block.
- Added relevant documentation for the new block.
- Formatted some other source files in order to pass git pre-hook
checks.

Some notes to be made:
- Currently there is no way to dynamically fetch the model’s versions
since there is no endpoint provided by the SDK.
  - All pre version-3 Claude models are hard-coded constant variables.
- We have opened an issue for that on the SDK repository
[here](https://github.com/anthropics/anthropic-sdk-typescript/issues/313).
- We can implement in a new PR Claude’s new [Vision
system](https://docs.anthropic.com/claude/docs/vision) which allows for
image analysis and understanding.
  - This can be done in a later phase, given that you agree of course.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced the Anthropic block for creating chat messages with Claude
AI in Typebot.
- Added functionality to create chat messages using Anthropic AI SDK
with configurable options.
	- Implemented encrypted credentials for Anthropic account integration.
- Added constants and helpers for better handling of chat messages with
Anthropic models.
- Included Anthropic block in the list of enabled and forged blocks for
broader access.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Retr0-01 <contact@retr0.dev>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-03-12 17:53:33 +00:00
03097718d1 🚑 Fix auto delete invalid edge when offsets are not loaded 2024-03-11 15:06:24 +01:00
595bffc38d 🔊 Add better error log for auth email sending 2024-03-11 11:17:42 +01:00
4a7d10f578 🐛 Fix board menu placement when suspected typebot banner is displayed 2024-03-11 11:07:27 +01:00
bbeb12cad2 🐛 Fix progress bar crash when input is undefined 2024-03-11 08:56:50 +01:00
22fe50268a 🐛 (editor) Improve edge resiliency connected to non-existant blocks 2024-03-10 19:44:53 +01:00
0dc276c18f Restore chat state when user is remembered (#1333)
Closes #993

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added a detailed explanation page for the "Remember user" setting in
the app documentation.
- Introduced persistence of chat state across sessions, with options for
local or session storage.
- Enhanced bot functionality to store and retrieve initial chat replies
and manage bot open state with improved storage handling.
- Added a new callback for chat state persistence to bot component
props.

- **Improvements**
- Updated the general settings form to clarify the description of the
"Remember user" feature.
- Enhanced custom CSS handling and progress value persistence in bot
components.
- Added conditional transition disabling in various components for
smoother user experiences.
- Simplified the handling of `onTransitionEnd` across multiple bubble
components.

- **Refactor**
- Renamed `inputIndex` to `chunkIndex` or `index` in various components
for consistency.
	- Removed unused ESLint disable comments related to reactivity rules.
	- Adjusted import statements and cleaned up code across several files.

- **Bug Fixes**
- Fixed potential issues with undefined callbacks by introducing
optional chaining in component props.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-07 15:39:09 +01:00
583294f90c 🐛 (whatsapp) Fix auto start when first input is file
Closes #1246
2024-03-07 14:26:48 +01:00
59cf993146 🐛 Fix back button refreshing the page when typebot in folder
Closes #1297
2024-03-07 14:26:48 +01:00
5dafb64963 💄 Improve editor header responsiveness
Closes #1204
2024-03-07 14:26:48 +01:00
c2003dab91 ⬆️ Upgrade ai and openai packages 2024-03-07 14:26:48 +01:00
df209a8e9d 🧑‍💻 (whatsapp) Option to modify the default interactive split message number (#1296)
When using the whatsapp oficial api or another that use the same schema,
with env we can modify the number of groups that the interactive group
will be split.

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-03-07 08:05:08 +00:00
712a56502f 🛂 Display suspected typebot banner only if workspace is not verified 2024-03-07 08:20:34 +01:00
2fb379b102 Add "turn into" option in block context menu
Closes #1302
2024-03-05 15:46:28 +01:00
84d6c594af Add OpenRouter block
Closes #1254
2024-03-05 10:56:54 +01:00
14022fe92f 📝 Improve get help doc 2024-03-04 18:41:47 +01:00
579e4078b9 💄 (textEditor) Fix floating link inputs color in dark mode 2024-03-04 18:20:24 +01:00
8e20d90081 🚑 Fix invalid workspace plan check for support bubble 2024-03-04 18:03:29 +01:00
6d8a007f09 🛂 Disable direct support for Free users
Closes #1318
2024-03-04 17:57:32 +01:00
ef69b5b77c 📝 Add v2.23 newsletter 2024-03-04 15:16:30 +01:00
4ca613e83a ♻️ Use at function instead of dangerous direct lookup array index 2024-03-04 14:14:06 +01:00
a043c3e4b9 🐛 (analytics) Fix possible analytics crash when groupId can't be found 2024-03-04 13:27:31 +01:00
d8924d7f43 💚 Fix deprecated sizeLimit option type 2024-03-04 13:21:26 +01:00
f14eb91d2a 🐛 (fileUpload) Fix files deletion on result delete 2024-03-04 11:38:20 +01:00
434b06767d 📈 (posthog) Send user last login event 2024-03-04 10:04:48 +01:00
60f3b1311b 📝 Write notes about creating an issue before contributing 2024-03-02 08:48:27 +01:00
3971e4a888 🚸 (whatsapp) Remove .mp4 regex restriction for video URLs
Closes #1282
2024-03-01 16:24:36 +01:00
78d3e9b1f2 💄 Fix dark mode timefilter dropdown in analytics page
Closes #1286
2024-03-01 15:39:34 +01:00
648ec08a10 Add Together AI block (#1304)
Closes #1253
2024-03-01 15:33:22 +01:00
060c49dcde 🔊 (whatsapp) Improve phone ID verification error details 2024-02-28 15:19:30 +01:00
9b656214d1 🐛 (chat) Enable prefilledVariables in preview mode
Also make list values compatible
2024-02-28 14:49:04 +01:00
229453d3d3 💄 Improve progress bar UI and make avoid starting at 0 2024-02-27 14:22:46 +01:00
33d0fcd842 🚸 (theme) Improve custom font flow by asking for font-face props directly 2024-02-27 11:28:37 +01:00
b9e54686d5 ⬆️ Upgrade and improve plate editor
Closes #606
2024-02-27 10:03:55 +01:00
ce17ce5061 🐛 (whatsapp) Fix webhook when having 2 phone numbers in same WA account 2024-02-26 13:54:41 +01:00
2d7ccf17c0 (theme) Add progress bar option (#1276)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced progress bar functionality across various components for a
more interactive user experience.
	- Added progress tracking and display in chat sessions.
- **Enhancements**
- Adjusted layout height calculations in the settings and theme pages
for consistency.
- Improved theme customization options with progress bar styling and
placement settings.
- **Bug Fixes**
- Fixed dynamic height calculation issues in settings and theme side
menus by standardizing heights.
- **Style**
- Added custom styling properties for the progress bar in chat
interfaces.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-23 08:31:14 +01:00
f2b21746bc 🚸 (fileUpload) Correctly set default item for visibility 2024-02-22 10:53:05 +01:00
e4d2ebefcc 🛂 Make sure to check the domain exists before updating it on typebot 2024-02-22 10:53:05 +01:00
ddb7ac7915 ✏️ Rewrite "optionnal" to "optional" (#1278)
Update the spelling of the word "optionnal" to "optional" in 4 places.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Made the file type selection optional in the file upload feature.
- **Bug Fixes**
- Addressed issues with color mode synchronization, persistence, and
user reset behavior.
	- Improved caching and bundling of files.
- **Documentation**
- Corrected spelling errors and typos in various documentation files for
better clarity and accuracy.
- **Style**
	- Updated admin display labels for enhanced clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-02-22 09:16:17 +01:00
508859a550 🚸 (buttons) Fix new buttons new line and escape behavior 2024-02-21 09:25:04 +01:00
7cf1a3e26d (theme) Custom font option (#1268)
Closes #1249

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced components for customizing fonts, including Google and
custom font options.
- Enhanced theme customization by simplifying theme objects and adding
new font customization options.
- Implemented dynamic font injection for web pages based on
user-selected font configurations.

- **Bug Fixes**
- Fixed a condition in theme template card rendering to correctly check
avatar enablement.
- Corrected font property handling across various components to support
both string and object types.

- **Refactor**
	- Updated option properties in RadioButtons component to be readonly.
- Simplified logic for setting CSS variables for fonts, including checks
for font types and existence.

- **Documentation**
- Added constants and schemas for supporting new font types in theme
customization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-20 10:36:57 +01:00
927feae32b 🚸 (buttons) Detect multi items pasting with br… 2024-02-19 16:50:26 +01:00
ba219b7e59 📝 Fix secret generation broken link 2024-02-19 16:18:12 +01:00
3ddc24e04f 📝 Remove duplicate pnpm in Vercel deploy docs (#1261)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Simplified the build process for Vercel deployment by removing a
redundant command.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-19 15:57:44 +01:00
e783bb4121 🧑‍💻 Improve sign up error message 2024-02-19 10:28:57 +01:00