* add new zod schema for responses
* add new client endpoints for responses
* add services for responses and surveys
* add new responses model to webhooks & email
---------
Co-authored-by: Johannes <johannes@formbricks.com>
* use label instead of id in onboarding analysis, add logout to formbricks usage
* add await option for all sdk commands, fix logout bug in formbricks usage
* Add new env variable NEXT_PUBLIC_WEBAPP_URL that is used server-side for the current address
* Move Next-Auth to App-Directory
* Move Membership-API & User-API to App-Directory
* Update env-examples with new structure
* add new onboarding for new and existing Formbricks users
* Add new personalized template view
---------
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
* add team switch when user has multiple teams
* fix hydration error by changing the way env variables load
---------
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
* feat: add modal to add new product to current team
* feat: add create product endpoint and helper function
* feat: display available products in dropdown and include environmentId in request
* new icon
---------
Co-authored-by: moritzrengert <moritz@rengert.de>
### New Formbricks Release: Complete Rewrite, New Features & Enhanced UI 🚀
We're thrilled to announce the release of the new Formbricks, a complete overhaul of our codebase, packed with powerful features and an improved user experience.
#### What's New:
1. **Survey Builder**: Design and customize your in-product micro-surveys with our intuitive survey builder.
2. **Trigger Micro-Surveys**: Set up micro-surveys to appear at specific points within your app, allowing you to gather feedback when it matters most.
3. **JavaScript SDK**: Our new JavaScript SDK makes integration a breeze - just embed it once and you're ready to go.
4. **No-Code Events**: Set up events and triggers without writing a single line of code, making it accessible for everyone on your team.
5. **Revamped UI**: Enjoy an entirely new user interface that enhances usability and provides a smooth, delightful experience.
This release marks a major step forward for Formbricks, enabling you to better understand your users and build an outstanding product experience.
Please update your Formbricks integration to take advantage of these exciting new features, and let us know in the Discord if you have any questions or feedback!
Happy surveying! 🎉